Documentation ¶
Overview ¶
Package conninfo provides access to connection-specific information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnInfo ¶
type ConnInfo struct { PeerAddr string // If true, backend implementations should not perform authentication // by adding username and password to the connection string. // It is set to true for background connections (such us capped collections cleanup) // and by the new authentication mechanism. // See where it is used for more details. BypassBackendAuth bool // contains filtered or unexported fields }
ConnInfo represents client connection information.
func (*ConnInfo) MetadataRecv ¶
MetadataRecv returns whatever client metadata was received already.
func (*ConnInfo) SetMetadataRecv ¶
func (connInfo *ConnInfo) SetMetadataRecv()
SetMetadataRecv marks client metadata as received.
Click to show internal directories.
Click to hide internal directories.