mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			411 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			411 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package logical
 | |
| 
 | |
| import (
 | |
| 	"crypto/tls"
 | |
| )
 | |
| 
 | |
| // Connection represents the connection information for a request. This
 | |
| // is present on the Request structure for credential backends.
 | |
| type Connection struct {
 | |
| 	// RemoteAddr is the network address that sent the request.
 | |
| 	RemoteAddr string `json:"remote_addr"`
 | |
| 
 | |
| 	// ConnState is the TLS connection state if applicable.
 | |
| 	ConnState *tls.ConnectionState `sentinel:""`
 | |
| }
 | 
