Documentation ¶
Overview ¶
Package proto provides protocol functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext creates a default context satisfying context.Context
func RemoteAddr ¶
RemoteAddr accesses the remote address of the rpcwrap call connection in this context.
func SetUsername ¶
SetUsername sets the authenticated username associated with the rpcwrap call connection for this context. NOTE: For internal use by the rpcwrap library only. Contexts are supposed to be readonly, and this somewhat circumvents this intent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.