Documentation
¶
Index ¶
- Variables
- type Dao
- func (d *Dao) ArchivesES(c context.Context, mid int64, tid int16, keyword, order, class, ip string, ...) (sres *search.Result, err error)
- func (d *Dao) ArchivesStaffES(c context.Context, mid int64, tid int16, keyword, state string, pn, ps int) (sres *search.StaffApplyResult, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) ReplyES(c context.Context, p *search.ReplyParam) (sres *search.Replies, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReplyOrderMap map ReplyOrderMap = map[string]string{ "ctime": "ctime", "like": "like", "count": "count", } )
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao is search dao.
func (*Dao) ArchivesES ¶
func (d *Dao) ArchivesES(c context.Context, mid int64, tid int16, keyword, order, class, ip string, pn, ps, coop int) (sres *search.Result, err error)
ArchivesES search archives by es.
Click to show internal directories.
Click to hide internal directories.