splash

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: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is splash service.

func New

func New(c *conf.Config) *Service

New new a splash service.

func (*Service) AdList

func (s *Service) AdList(c context.Context, plat int8, mobiApp, device, buvid, birth, adExtra string, height, width, build int, mid int64) (res *splash.CmSplash, err error)

AdList ad splash list

func (*Service) Birthday

func (s *Service) Birthday(c context.Context, plat int8, w, h int, birth string) (res *splash.Splash, err error)

func (*Service) Close

func (s *Service) Close()

Close dao

func (*Service) Display

func (s *Service) Display(c context.Context, plat int8, w, h, build int, channel, ver string, now time.Time) (res []*splash.Splash, version string, err error)

Display dispaly data.

Jump to

Keyboard shortcuts

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