Documentation
¶
Index ¶
- func SetServiceName(name string)
- type Context
- func (c *Context) Cancel(err error)
- func (c *Context) Deadline() (time.Time, bool)
- func (c *Context) Done() <-chan struct{}
- func (c *Context) Err() error
- func (c *Context) Logs() []map[string]interface{}
- func (c *Context) Range(f func(key, value interface{}) bool)
- func (c *Context) Value(key interface{}) interface{}
- func (c *Context) WithLog(value map[string]interface{})
- func (c *Context) WithValue(key, value interface{})
- type Secret
- type ServiceName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetServiceName ¶
func SetServiceName(name string)
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is our implementation of context.Context
func NewCustomContext ¶
func NewCustomContext() *Context
NewCustomContext initializes a new custom context
func (*Context) Done ¶
func (c *Context) Done() <-chan struct{}
Done returns a channel that is closed when the context is canceled
Click to show internal directories.
Click to hide internal directories.