Documentation ¶
Index ¶
- type Dao
- func (d *Dao) CallPush(ctx context.Context, platform string, msg string, ip string) (err error)
- func (d *Dao) CallRefresh(ctx context.Context) (err error)
- func (d *Dao) DiffFinish(c context.Context, resID string) (res bool, err error)
- func (d *Dao) Platform(c context.Context, resID string) (res []string, err error)
- func (d *Dao) PushMsg(c context.Context, resID string) (res string, err error)
- func (d *Dao) ZRem(c context.Context, resID string) (err error)
- func (d *Dao) ZrangeList(c context.Context) (resIDs map[string]int64, 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
}
Dao .
func (*Dao) CallRefresh ¶
CallRefresh picks ip addrs from discovery, and call grpc method
func (*Dao) DiffFinish ¶
DiffFinish checks whether the resource's diff calculation has been finished or not
Click to show internal directories.
Click to hide internal directories.