Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddFollowingCache(c context.Context, mid int64, following *relation.Following) (err error)
- func (d *Dao) Close()
- func (d *Dao) DelFollowerCache(ctx context.Context, fid int64) error
- func (d *Dao) DelFollowing(c context.Context, mid int64, following *relation.Following) (err error)
- func (d *Dao) DelFollowingCache(c context.Context, mid int64) (err error)
- func (d *Dao) DelStatCache(ctx context.Context, mid int64) error
- func (d *Dao) DelTagCountCache(c context.Context, mid int64) (err error)
- func (d *Dao) DelTagsCache(ctx context.Context, mid int64) (err error)
- func (d *Dao) Ping(c context.Context) 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 dao
func (*Dao) AddFollowingCache ¶
func (d *Dao) AddFollowingCache(c context.Context, mid int64, following *relation.Following) (err error)
AddFollowingCache is
func (*Dao) DelFollowerCache ¶
DelFollowerCache del follower cache
func (*Dao) DelFollowing ¶
DelFollowing del following cache.
func (*Dao) DelFollowingCache ¶
DelFollowingCache delete following cache.
func (*Dao) DelStatCache ¶
DelStatCache is
func (*Dao) DelTagCountCache ¶
DelTagCountCache del tag count cache.
func (*Dao) DelTagsCache ¶
DelTagsCache is
Click to show internal directories.
Click to hide internal directories.