Documentation ¶ Index ¶ type Dao func New(c *conf.Config) (d *Dao) func (d *Dao) AllList(ctx context.Context) (apps []*channel.Region, err error) func (dao *Dao) Close() func (d *Dao) Config(ctx context.Context) (configs map[int64][]*channel.RegionConfig, err error) func (d *Dao) Limit(ctx context.Context) (limits map[int64][]*channel.RegionLimit, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Dao ¶ type Dao struct { // contains filtered or unexported fields } func New ¶ func New(c *conf.Config) (d *Dao) func (*Dao) AllList ¶ func (d *Dao) AllList(ctx context.Context) (apps []*channel.Region, err error) AllList get all region. func (*Dao) Close ¶ func (dao *Dao) Close() Close close memcache resource. func (*Dao) Config ¶ func (d *Dao) Config(ctx context.Context) (configs map[int64][]*channel.RegionConfig, err error) Config region configs func (*Dao) Limit ¶ func (d *Dao) Limit(ctx context.Context) (limits map[int64][]*channel.RegionLimit, err error) Limit region limits Source Files ¶ View all Source files region.go Click to show internal directories. Click to hide internal directories.