Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCapacityExceeded = errors.New("context: max 16 values exceeded")
ErrCapacityExceeded is returned when the context reaches its maximum capacity of 16 pairs.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is a minimalist context compatible with TinyGo. No maps, no channels, uses a fixed array of 16 key-value pairs.
func Background ¶ added in v0.0.2
func Background() *Context
Background returns an empty Context (equivalent to context.Background).
func TODO ¶ added in v0.0.2
func TODO() *Context
TODO returns an empty Context (equivalent to context.TODO).
Click to show internal directories.
Click to hide internal directories.