Documentation ¶
Overview ¶
Package callinfo extracts RPC call information from context objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRenderer ¶
func RegisterRenderer(r Renderer)
Types ¶
type CallInfo ¶
type CallInfo interface { // The remote address information for this rpc call. RemoteAddr() string // The username associated with this rpc call, if any. Username() string // A string identifying this rpc call connection as specifically as possible. String() string // An HTML representation of this rpc call connection. HTML() template.HTML }
func FromContext ¶
Click to show internal directories.
Click to hide internal directories.