Documentation ¶
Index ¶
- type Service
- func (s *Service) AppBanner(c context.Context) (bns []*operMdl.Banner, cbns []*operMdl.BannerCreator, err error)
- func (s *Service) AppOperationList(c context.Context, pn, ps int, tp string) (list *operMdl.BannerList, err error)
- func (s *Service) Close()
- func (s *Service) CreatorOperationList(c context.Context, pn, ps int) (list *operMdl.BannerList, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Tool(c context.Context, ty int8) (ops []*operMdl.Operation, err error)
- func (s *Service) WebOperations(c context.Context) (ops map[string][]*operMdl.Operation, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { NoticeStr string CreativeStr string WebRelOperCache map[string][]*operMdl.Operation CreatorRelOperCache map[string][]*operMdl.Operation // contains filtered or unexported fields }
Service struct
func (*Service) AppBanner ¶
func (s *Service) AppBanner(c context.Context) (bns []*operMdl.Banner, cbns []*operMdl.BannerCreator, err error)
AppBanner get app index flexslider; filter by platform + business + remark
func (*Service) AppOperationList ¶
func (s *Service) AppOperationList(c context.Context, pn, ps int, tp string) (list *operMdl.BannerList, err error)
AppOperationList get operations list.
func (*Service) CreatorOperationList ¶
func (s *Service) CreatorOperationList(c context.Context, pn, ps int) (list *operMdl.BannerList, err error)
CreatorOperationList get operations list.
Click to show internal directories.
Click to hide internal directories.