Documentation ¶
Index ¶
- type Service
- func (s *Service) AddMatch(c context.Context, item model.Item, season model.Season) (location string, err error)
- func (s *Service) Close()
- func (s *Service) DbOperate(c context.Context, op int8, item model.Item, season model.Season, ...) (err error)
- func (s *Service) DelMatch(c context.Context, item model.Item, season model.Season) (err error)
- func (s *Service) MatchOperate(c context.Context, params *model.MatchOperate) (result interface{}, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Search(c context.Context, params *model.Search) (list []model.SugList, err error)
- func (s *Service) SourceSearch(c context.Context, params *model.SourceSearch) (interface{}, error)
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 struct
func (*Service) AddMatch ¶
func (s *Service) AddMatch(c context.Context, item model.Item, season model.Season) (location string, err error)
AddMatch add match.
func (*Service) DbOperate ¶
func (s *Service) DbOperate(c context.Context, op int8, item model.Item, season model.Season, location string) (err error)
DbOperate db operate.
func (*Service) MatchOperate ¶
func (s *Service) MatchOperate(c context.Context, params *model.MatchOperate) (result interface{}, err error)
MatchOperate match operate.
func (*Service) SourceSearch ¶
SourceSearch search season or items.
Click to show internal directories.
Click to hide internal directories.