Documentation ¶
Index ¶
- func ContextError(ctx context.Context) error
- func GetMetadata(ctx context.Context, key string) (string, error)
- func GetPeerAddr(ctx context.Context) string
- func GetToken(ctx context.Context) (string, error)
- func HasMetadata(ctx context.Context, key string) bool
- func IsSync(ctx context.Context) bool
- func SetMetadata(ctx context.Context, kv ...string) context.Context
- func SetSync(ctx context.Context) context.Context
- func SetToken(ctx context.Context, token string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.