Documentation ¶
Index ¶
- type Service
- func (s *Service) AbTest(c context.Context, arg *model.ArgAbTest) (res map[string]*model.AbTest, err error)
- func (s *Service) AssignmentAll(c context.Context) (res []*model.Assignment, err error)
- func (s *Service) Banners(c context.Context, arg *model.ArgBanner) (res *model.Banners, err error)
- func (s *Service) Cmtbox(c context.Context, arg *model.ArgCmtbox) (res *model.Cmtbox, err error)
- func (s *Service) DefBanner(c context.Context) (res *model.Assignment, err error)
- func (s *Service) IndexIcon(c context.Context) (res map[string][]*model.IndexIcon, err error)
- func (s *Service) PasterAPP(c context.Context, arg *model.ArgPaster) (res *model.Paster, err error)
- func (s *Service) PasterCID(c context.Context) (res map[int64]int64, err error)
- func (s *Service) PlayerIcon(c context.Context) (res *model.PlayerIcon, err error)
- func (s *Service) Resource(c context.Context, arg *model.ArgRes) (res *model.Resource, err error)
- func (s *Service) ResourceAll(c context.Context) (res []*model.Resource, err error)
- func (s *Service) Resources(c context.Context, arg *model.ArgRess) (res map[int]*model.Resource, err error)
- func (s *Service) SideBars(c context.Context) (res *model.SideBars, err 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 is resource rpc client.
func (*Service) AbTest ¶
func (s *Service) AbTest(c context.Context, arg *model.ArgAbTest) (res map[string]*model.AbTest, err error)
AbTest get abtest.
func (*Service) AssignmentAll ¶
AssignmentAll get all assignment.
func (*Service) PlayerIcon ¶
PlayerIcon get palyer config.
func (*Service) ResourceAll ¶
ResourceAll get all resource.
Click to show internal directories.
Click to hide internal directories.