Documentation ¶
Index ¶
- func ContextWithClientAddr(ctx context.Context, addr ClientAddr) context.Context
- func ContextWithClientID(ctx context.Context, clientID ClientID) context.Context
- func ContextWithHash(ctx context.Context, hash *Hash) context.Context
- func ContextWithSid(ctx context.Context, sid Sid) context.Context
- type ClientAddr
- type ClientID
- type Hash
- type Sid
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithClientAddr ¶
func ContextWithClientAddr(ctx context.Context, addr ClientAddr) context.Context
func ContextWithClientID ¶
Types ¶
type ClientAddr ¶
type ClientAddr string
func ClientAddrFromContext ¶
func ClientAddrFromContext(ctx context.Context) ClientAddr
Click to show internal directories.
Click to hide internal directories.