Documentation ¶
Index ¶
- func MetadataAppend(ctx context.Context, key string, values ...interface{}) error
- func MetadataSet(ctx context.Context, key string, value interface{}) error
- func Provide[T any](ctx context.Context, key any, factory func() (T, error)) (T, error)
- func WithContainer(ctx context.Context) context.Context
- type ErrNoApplicationContainerFound
- type ErrNoItemFound
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataAppend ¶
Types ¶
type ErrNoApplicationContainerFound ¶
type ErrNoApplicationContainerFound struct{}
func (ErrNoApplicationContainerFound) Error ¶
func (e ErrNoApplicationContainerFound) Error() string
type ErrNoItemFound ¶
type ErrNoItemFound struct {
Key interface{}
}
func (ErrNoItemFound) Error ¶
func (e ErrNoItemFound) Error() string
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func NewMetadata ¶
func NewMetadata() *Metadata
Click to show internal directories.
Click to hide internal directories.