search

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	URI string
	// contains filtered or unexported fields
}

Dao is search dao

func New

func New(c *conf.Config) *Dao

New new search dao

func (*Dao) InQuitList

func (d *Dao) InQuitList(c context.Context, uids []int64, bt, et string) (l []*archive.InQuit, err error)

InQuitList 登入登出日志

func (*Dao) OutTime

func (d *Dao) OutTime(c context.Context, ids []int64) (mcases map[int64][]interface{}, err error)

OutTime 退出时间,es的group by查询,最大1000条

func (*Dao) SearchCopyright

func (d *Dao) SearchCopyright(c context.Context, kw string) (result *search.CopyrightResultData, err error)

SearchCopyright search video copyright

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL