Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) SetUpSwitch(c context.Context, mid int64, state, from int, ip string) (res *upmdl.PBSetUpSwitchRes, err error)
- func (d *Dao) UpInfo(c context.Context, mid int64, from int, ip string) (res *upmdl.UpInfo, err error)
- func (d *Dao) UpSpecial(c context.Context, gpid int64) (ups map[int64]int64, err error)
- func (d *Dao) UpSpecialGroups(c context.Context, mid int64) (groups map[int64]*up.SpecialGroup, err error)
- func (d *Dao) UpSwitch(c context.Context, mid int64, from int, ip string) (res *upmdl.PBUpSwitch, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
Dao is search dao.
func (*Dao) SetUpSwitch ¶
func (d *Dao) SetUpSwitch(c context.Context, mid int64, state, from int, ip string) (res *upmdl.PBSetUpSwitchRes, err error)
SetUpSwitch set switch
func (*Dao) UpInfo ¶
func (d *Dao) UpInfo(c context.Context, mid int64, from int, ip string) (res *upmdl.UpInfo, err error)
UpInfo rpc
func (*Dao) UpSpecialGroups ¶
func (d *Dao) UpSpecialGroups(c context.Context, mid int64) (groups map[int64]*up.SpecialGroup, err error)
UpSpecialGroups 获取UP主的特殊用户组
Click to show internal directories.
Click to hide internal directories.