Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) AIAddPopularStars(c context.Context, values []*show.PopularStarsAP) (err error)
- func (s *Service) AddEventTopic(c context.Context, param *show.EventTopicAP, name string, uid int64) (err error)
- func (s *Service) AddPopularStars(c context.Context, param *show.PopularStarsAP, name string, uid int64) (err error)
- func (s *Service) DeleteEventTopic(id int64, name string, uid int64) (err error)
- func (s *Service) DeletePopularStars(id int64, name string, uid int64) (err error)
- func (s *Service) EventTopicList(lp *show.EventTopicLP) (pager *show.EventTopicPager, err error)
- func (s *Service) PopularStarsList(lp *show.PopularStarsLP) (pager *show.PopularStarsPager, err error)
- func (s *Service) RejectPopularStars(id int64, name string, uid int64) (err error)
- func (s *Service) UpdateEventTopic(c context.Context, param *show.EventTopicUP, name string, uid int64) (err error)
- func (s *Service) UpdatePopularStars(c context.Context, param *show.PopularStarsUP, name string, uid int64) (err error)
- func (s *Service) ValidMid(mid string) (popStars *show.PopularStars, err error)
Constants ¶
View Source
const ( //ActionAddCEventTopic log action ActionAddCEventTopic = "ActAddEventTopic" //ActionUpCEventTopic log action ActionUpCEventTopic = "ActUpEventTopic" //ActionDelCEventTopic log action ActionDelCEventTopic = "ActDelEventTopic" )
View Source
const ( //ActionAddCPopular . ActionAddCPopular = "ActAddPopularStars" //ActionUpCPopular . ActionUpCPopular = "ActUpPopularStars" //ActionDelCPopular . ActionDelCPopular = "ActDelPopularStars" //ActionRejCPopular . ActionRejCPopular = "ActRejPopularStars" //ActionAIAddCPopular . ActionAIAddCPopular = "ActAIAddPopularStars" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is search service
func (*Service) AIAddPopularStars ¶
AIAddPopularStars add popular stars
func (*Service) AddEventTopic ¶
func (s *Service) AddEventTopic(c context.Context, param *show.EventTopicAP, name string, uid int64) (err error)
AddEventTopic add channel EventTopic
func (*Service) AddPopularStars ¶
func (s *Service) AddPopularStars(c context.Context, param *show.PopularStarsAP, name string, uid int64) (err error)
AddPopularStars add popular stars
func (*Service) DeleteEventTopic ¶
DeleteEventTopic delete channel EventTopic
func (*Service) DeletePopularStars ¶
DeletePopularStars delete channel Popular
func (*Service) EventTopicList ¶
func (s *Service) EventTopicList(lp *show.EventTopicLP) (pager *show.EventTopicPager, err error)
EventTopicList channel EventTopic list
func (*Service) PopularStarsList ¶
func (s *Service) PopularStarsList(lp *show.PopularStarsLP) (pager *show.PopularStarsPager, err error)
PopularStarsList channel Popular list
func (*Service) RejectPopularStars ¶
RejectPopularStars reject channel Popular
func (*Service) UpdateEventTopic ¶
func (s *Service) UpdateEventTopic(c context.Context, param *show.EventTopicUP, name string, uid int64) (err error)
UpdateEventTopic update channel EventTopic
func (*Service) UpdatePopularStars ¶
func (s *Service) UpdatePopularStars(c context.Context, param *show.PopularStarsUP, name string, uid int64) (err error)
UpdatePopularStars update channel Popular
Click to show internal directories.
Click to hide internal directories.