goblin

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: 15 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 {
	// contains filtered or unexported fields
}

Dao .

func New

func New(c *conf.Config) *Dao

New .

func (*Dao) ChlInfo

func (d *Dao) ChlInfo(c context.Context) (chls []*model.Channel, err error)

ChlInfo .

func (*Dao) Hotword

func (d *Dao) Hotword(c context.Context) (s []*model.Hotword, err error)

Hotword get hotword cache.

func (*Dao) Label

func (d *Dao) Label(c context.Context, category, catType int) (res []*gbmdl.Label, err error)

Label picks one category's label

func (*Dao) UgcPlayurl

func (d *Dao) UgcPlayurl(ctx context.Context, p *model.PlayURLReq) (res map[string]interface{}, resp *model.PlayURLResp, err error)

UgcPlayurl is use for get ugc play url

func (*Dao) VerUpdate

func (d *Dao) VerUpdate(c context.Context, ver *model.VerUpdate) (result *model.HTTPData, errCode ecode.Codes, err error)

VerUpdate gets upgrade info.

Jump to

Keyboard shortcuts

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