app

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 Service

type Service struct {
	PortalIntro, PortalNotice []*appDML.PortalMeta
	CameraCfg                 map[string]interface{}
	// contains filtered or unexported fields
}

Service struct.

func New

func New(c *conf.Config, rpcdaos *service.RPCDaos, p *service.Public) *Service

New get service.

func (*Service) AllowWhiteCategory

func (s *Service) AllowWhiteCategory(mid int64, p *appMdl.PortalMeta) (ret bool)

AllowWhiteCategory fn

func (*Service) BlockIntros

func (s *Service) BlockIntros(build int, platStr string) (res map[string]string)

BlockIntros fn

func (*Service) Close

func (s *Service) Close()

Close dao

func (*Service) H5Page

func (s *Service) H5Page() (res *conf.H5Page)

H5Page fn

func (*Service) Icons

func (s *Service) Icons() (res *conf.AppIcon)

Icons fn

func (*Service) Ping

func (s *Service) Ping(c context.Context) (err error)

Ping service

func (*Service) Portals

func (s *Service) Portals(c context.Context, mid int64, artAuthor, build, ty int, plat string, resMdlPlat int8) (pts []*appMdl.Portal, err error)

Portals for app portal config.

func (*Service) TopMsg

func (s *Service) TopMsg(c context.Context, mid int64, build int, os, app, ak, ck, ip string) (data []*msgDML.Message, err error)

TopMsg fn.

func (*Service) UploadMaterial

func (s *Service) UploadMaterial(c context.Context, aid int64, editors []*appMdl.Editor) (err error)

UploadMaterial fn

Jump to

Keyboard shortcuts

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