Documentation ¶
Index ¶
- func Provider(ctx context.Context, cfg *viper.Viper) (providers.ContextTagger, error)
- type MapTags
- func (m *MapTags) Get(key string) (any, bool)
- func (m *MapTags) GetContextID() (string, bool)
- func (m *MapTags) GetError() (error, bool)
- func (m *MapTags) GetMetadata() (metadata.MD, bool)
- func (m *MapTags) GetMethod() (string, bool)
- func (m *MapTags) LogTags() map[string]any
- func (m *MapTags) Set(key string, value any) providers.Tags
- func (m *MapTags) WithContextID(contextID string) providers.Tags
- func (m *MapTags) WithError(err error) providers.Tags
- func (m *MapTags) WithMetadata(md metadata.MD) providers.Tags
- func (m *MapTags) WithMethod(method string) providers.Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MapTags ¶
type MapTags struct {
// contains filtered or unexported fields
}
func (*MapTags) GetContextID ¶
Click to show internal directories.
Click to hide internal directories.