Documentation
¶
Index ¶
- Variables
- type NoticeService
- func (s *NoticeService) CheckSubscribeStatus(ctx context.Context, req *pb.CheckSubscribeStatusRequest) (*pb.CheckSubscribeStatusReply, error)
- func (s *NoticeService) DeleteNotice(ctx context.Context, request *pb.DeleteNoticeRequest) (*pb.DeleteNoticeReply, error)
- func (s *NoticeService) ListNotice(ctx context.Context, request *pb.ListNoticeRequest) (*pb.ListNoticeReply, error)
- func (s *NoticeService) PutNotice(ctx context.Context, request *pb.PutNoticeRequest) (*pb.PutNoticeReply, error)
- func (s *NoticeService) SubscribeNotice(ctx context.Context, req *pb.SubscribeNoticeRequest) (*pb.SubscribeNoticeReply, error)
- type SigninService
- type WxService
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewWxService, NewNoticeService, NewSigninService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type NoticeService ¶
type NoticeService struct { pb.UnimplementedNoticeServer // contains filtered or unexported fields }
func NewNoticeService ¶
func NewNoticeService(noticeUseCase *biz.NoticeUseCase, logger log.Logger) *NoticeService
func (*NoticeService) CheckSubscribeStatus ¶
func (s *NoticeService) CheckSubscribeStatus(ctx context.Context, req *pb.CheckSubscribeStatusRequest) (*pb.CheckSubscribeStatusReply, error)
func (*NoticeService) DeleteNotice ¶
func (s *NoticeService) DeleteNotice(ctx context.Context, request *pb.DeleteNoticeRequest) (*pb.DeleteNoticeReply, error)
func (*NoticeService) ListNotice ¶
func (s *NoticeService) ListNotice(ctx context.Context, request *pb.ListNoticeRequest) (*pb.ListNoticeReply, error)
func (*NoticeService) PutNotice ¶
func (s *NoticeService) PutNotice(ctx context.Context, request *pb.PutNoticeRequest) (*pb.PutNoticeReply, error)
func (*NoticeService) SubscribeNotice ¶
func (s *NoticeService) SubscribeNotice(ctx context.Context, req *pb.SubscribeNoticeRequest) (*pb.SubscribeNoticeReply, error)
type SigninService ¶
type SigninService struct { pb.UnimplementedSigninServer // contains filtered or unexported fields }
func NewSigninService ¶
func NewSigninService(useCase *biz.SignInUseCase) *SigninService
func (*SigninService) ListSignin ¶
func (s *SigninService) ListSignin(ctx context.Context, req *pb.ListSigninRequest) (*pb.ListSigninReply, error)
func (*SigninService) Signin ¶
func (s *SigninService) Signin(ctx context.Context, req *pb.SigninRequest) (*pb.SigninReply, error)
type WxService ¶
type WxService struct { pb.UnimplementedWxServer // contains filtered or unexported fields }
func NewWxService ¶
func (*WxService) Code2Session ¶
func (s *WxService) Code2Session(ctx context.Context, req *pb.Code2SessionRequest) (*pb.Code2SessionReply, error)
Click to show internal directories.
Click to hide internal directories.