service

package
v0.0.0-...-47f30e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 8 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

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 (*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

type SigninService

type SigninService struct {
	pb.UnimplementedSigninServer
	// contains filtered or unexported fields
}

func NewSigninService

func NewSigninService(useCase *biz.SignInUseCase) *SigninService

func (*SigninService) ListSignin

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 NewWxService(wxUseCase *biz.WxUseCase) *WxService

func (*WxService) Code2Session

func (s *WxService) Code2Session(ctx context.Context, req *pb.Code2SessionRequest) (*pb.Code2SessionReply, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳