context

package
v0.0.0-...-3311072 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: Apache-2.0 Imports: 10 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 {
	IBCAdapter    bcadapter.IBCAdapter
	WXClient      wx.IWXClient
	Config        *config.SrvcCfg
	DBStorage     models.IDBBackend
	ALiYunBackend aliyun.IALiYunBackend
	ImageBackend  image.IImageBackend
	RedisCli      redis.Conn
}

Context the context of service

func GetServerContext

func GetServerContext() *Context

GetServerContext ...

func (*Context) Init

func (c *Context) Init() error

Init init service context

Jump to

Keyboard shortcuts

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