context

package
v0.0.0-...-1ac23cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

func (*Context) Client

func (c *Context) Client() *lite.Client

func (*Context) Config

func (c *Context) Config() *types.Config

func (*Context) Context

func (c *Context) Context() context.Context

func (*Context) Home

func (c *Context) Home() string

func (*Context) Service

func (c *Context) Service() types.Service

func (*Context) Token

func (c *Context) Token() string

func (*Context) Value

func (c *Context) Value(key interface{}) interface{}

func (*Context) WithClient

func (c *Context) WithClient(v *lite.Client) *Context

func (*Context) WithConfig

func (c *Context) WithConfig(v *types.Config) *Context

func (*Context) WithContext

func (c *Context) WithContext(v context.Context) *Context

func (*Context) WithHome

func (c *Context) WithHome(v string) *Context

func (*Context) WithService

func (c *Context) WithService(v types.Service) *Context

func (*Context) WithToken

func (c *Context) WithToken(v string) *Context

func (*Context) WithValue

func (c *Context) WithValue(key, value interface{}) *Context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL