Documentation ¶
Index ¶
- Constants
- type CursorValue
- type Dao
- func (d *Dao) Close()
- func (d *Dao) ContentGet(ctx context.Context, req *api.ListBulletReq) (res []*api.Bullet, err error)
- func (d *Dao) ContentList(ctx context.Context, req *api.ListBulletReq) (res *api.ListBulletReply, err error)
- func (d *Dao) ContentPost(ctx context.Context, req *api.Bullet) (dmid int64, err error)
- func (d *Dao) Filter(ctx context.Context, content string, area string) (level int32, err error)
- func (d *Dao) PhoneCheck(c context.Context, mid int64) (telStatus int32, err error)
- func (d *Dao) Ping(ctx context.Context) error
- func (d *Dao) VideoBase(c context.Context, svid int64) (res *video.VideoBase, err error)
Constants ¶
View Source
const ( FilterAreaAccount = "BBQ_account" FilterAreaVideo = "BBQ_video" FilterAreaReply = "BBQ_reply" FilterAreaSearch = "BBQ_search" FilterAreaDanmu = "BBQ_danmu" FilterLevel = 20 )
用于filter
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) ContentGet ¶
func (d *Dao) ContentGet(ctx context.Context, req *api.ListBulletReq) (res []*api.Bullet, err error)
ContentGet .
func (*Dao) ContentList ¶
func (d *Dao) ContentList(ctx context.Context, req *api.ListBulletReq) (res *api.ListBulletReply, err error)
ContentList 用于返回弹幕列表
func (*Dao) ContentPost ¶
ContentPost .
func (*Dao) PhoneCheck ¶
PhoneCheck .
Click to show internal directories.
Click to hide internal directories.