Documentation ¶
Index ¶
- type Service
- func (s *Service) GetStrategySubscriber(ctx context.Context, req *sbscriberapi.StrategySubscriberRequest) (*sbscriberapi.StrategySubscriberReply, error)
- func (s *Service) UnSubscriber(ctx context.Context, req *sbscriberapi.UnSubscriberRequest) (*sbscriberapi.UnSubscriberReply, error)
- func (s *Service) UserSubscriberList(ctx context.Context, req *sbscriberapi.UserSubscriberListRequest) (*sbscriberapi.UserSubscriberListReply, error)
- func (s *Service) UserSubscriberStrategy(ctx context.Context, req *sbscriberapi.SubscriberStrategyRequest) (*sbscriberapi.SubscriberStrategyReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { sbscriberapi.UnimplementedSubscriberServer // contains filtered or unexported fields }
Service subscriber service
func NewSubscriberService ¶
func NewSubscriberService(subscriberBiz *biz.SubscriberBiz) *Service
NewSubscriberService new subscriber service
func (*Service) GetStrategySubscriber ¶
func (s *Service) GetStrategySubscriber(ctx context.Context, req *sbscriberapi.StrategySubscriberRequest) (*sbscriberapi.StrategySubscriberReply, error)
GetStrategySubscriber get strategy subscriber
func (*Service) UnSubscriber ¶
func (s *Service) UnSubscriber(ctx context.Context, req *sbscriberapi.UnSubscriberRequest) (*sbscriberapi.UnSubscriberReply, error)
UnSubscriber unsubscribe
func (*Service) UserSubscriberList ¶
func (s *Service) UserSubscriberList(ctx context.Context, req *sbscriberapi.UserSubscriberListRequest) (*sbscriberapi.UserSubscriberListReply, error)
UserSubscriberList user subscriber list
func (*Service) UserSubscriberStrategy ¶
func (s *Service) UserSubscriberStrategy(ctx context.Context, req *sbscriberapi.SubscriberStrategyRequest) (*sbscriberapi.SubscriberStrategyReply, error)
UserSubscriberStrategy user subscriber strategy
Click to show internal directories.
Click to hide internal directories.