Documentation
¶
Index ¶
- Variables
- func Delete(ctx context.Context, key string) bool
- func New() context.Context
- func NewWithContext(ctx context.Context) context.Context
- func Read(ctx context.Context, key string) (interface{}, bool)
- func ReadBool(ctx context.Context, key string) (bool, bool)
- func ReadInt(ctx context.Context, key string) (int, bool)
- func ReadString(ctx context.Context, key string) (string, bool)
- func Set(ctx context.Context, key string, value interface{}) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var MetadataKey interface{} = "metadata"
Functions ¶
func NewWithContext ¶
NewWithContext creates a new metadata context from an existing one
func ReadString ¶
ReadString reads a string from the metadata
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.