Documentation ¶
Index ¶
- type Context
- func (c *Context) Client() *lite.Client
- func (c *Context) Config() *types.Config
- func (c *Context) Context() context.Context
- func (c *Context) Home() string
- func (c *Context) Service() types.Service
- func (c *Context) Token() string
- func (c *Context) Value(key interface{}) interface{}
- func (c *Context) WithClient(v *lite.Client) *Context
- func (c *Context) WithConfig(v *types.Config) *Context
- func (c *Context) WithContext(v context.Context) *Context
- func (c *Context) WithHome(v string) *Context
- func (c *Context) WithService(v types.Service) *Context
- func (c *Context) WithToken(v string) *Context
- func (c *Context) WithValue(key, value interface{}) *Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
Click to show internal directories.
Click to hide internal directories.