Documentation
¶
Index ¶
- type Dao
- func (d *Dao) Close()
- func (d *Dao) ConsumerOff(c context.Context, opt *common.BaseOptions) (err error)
- func (d *Dao) ConsumerOn(c context.Context, opt *common.BaseOptions) (err error)
- func (d *Dao) DelRole(c context.Context, bizid, flowid int64, uids []int64) (err error)
- func (d *Dao) GetRole(c context.Context, opt *common.BaseOptions) (role int8, uname string, err error)
- func (d *Dao) IsConsumerOn(c context.Context, opt *common.BaseOptions) (isOn bool, err error)
- func (d *Dao) Ping(c context.Context) error
- func (d *Dao) SetRole(c context.Context, opt *common.BaseOptions, role int8) (err error)
- type Role
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
}
Dao dao
func (*Dao) ConsumerOff ¶
ConsumerOff .
func (*Dao) ConsumerOn ¶
ConsumerOn 登入
func (*Dao) GetRole ¶
func (d *Dao) GetRole(c context.Context, opt *common.BaseOptions) (role int8, uname string, err error)
GetRole TODO 目前缓存组长组员,以后扩展到存管理员
func (*Dao) IsConsumerOn ¶
IsConsumerOn .
Click to show internal directories.
Click to hide internal directories.