Documentation
¶
Index ¶
- func Get[T any](box *Box) T
- func GetByKey[T any](box *Box, key string) T
- type Box
- func (self *Box) Deadline() (deadline time.Time, ok bool)
- func (self *Box) Done() <-chan struct{}
- func (self *Box) Err() error
- func (self *Box) Fork() *Box
- func (self *Box) Inject(handler any) (func(), error)
- func (self *Box) Len() int
- func (self *Box) Put(values ...any)
- func (self *Box) PutByKey(key string, value any)
- func (self *Box) String() string
- func (self *Box) Value(key any) any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.