Documentation ¶
Index ¶
- type Dao
- func (dao *Dao) Close()
- func (d *Dao) Followers(ctx context.Context, fid int64, mid int64) (model.RelationList, error)
- func (d *Dao) Followings(ctx context.Context, mid int64, fid int64) (model.RelationList, error)
- func (dao *Dao) Ping(c context.Context) error
- func (d *Dao) RPCInfos(c context.Context, mids []int64) (res map[int64]*account.Info, err error)
- func (d *Dao) RelationLogs(ctx context.Context, mid, fid int64, from time.Time, to time.Time) (model.RelationLogList, error)
- func (d *Dao) Stat(ctx context.Context, mid int64) (*relationPB.StatReply, error)
- func (d *Dao) Stats(ctx context.Context, mids []int64) (map[int64]*relationPB.StatReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
Dao dao
func (*Dao) Followings ¶
Followings is
func (*Dao) RelationLogs ¶
func (d *Dao) RelationLogs(ctx context.Context, mid, fid int64, from time.Time, to time.Time) (model.RelationLogList, error)
RelationLogs is used to retriev relation log.
Click to show internal directories.
Click to hide internal directories.