1package logical 2 3import ( 4 "crypto/tls" 5) 6 7// Connection represents the connection information for a request. This 8// is present on the Request structure for credential backends. 9type Connection struct { 10 // RemoteAddr is the network address that sent the request. 11 RemoteAddr string `json:"remote_addr"` 12 13 // ConnState is the TLS connection state if applicable. 14 ConnState *tls.ConnectionState `sentinel:""` 15} 16