pgc

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: 9 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 .

func New

func New(c *conf.Config) *Service

New .

func (*Service) EpControl

func (s *Service) EpControl(c context.Context, epid int64) (sid int64, msg string, err error)

EpControl validates the ep is authorized to play and involve the intervention

func (*Service) SnDetail

func (s *Service) SnDetail(c context.Context, param *model.MediaParam) (detail *model.SeasonDetail, msg string, err error)

SnDetail validates the season is authorized to play and involve the intervention

func (*Service) SnDetailV2

func (s *Service) SnDetailV2(c context.Context, param *model.MediaParam) (detail *model.SnDetailV2, msg string, err error)

SnDetailV2 validates the season is authorized to play and involve the intervention

Jump to

Keyboard shortcuts

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