Documentation
¶
Index ¶
- type AuthMethodService
- func (s *AuthMethodService) GetAuthMethodConfig(ctx context.Context, req *v1.GetAuthMethodConfigRequest) (*v1.AuthMethodConfigReply, error)
- func (s *AuthMethodService) GetAuthMethodList(ctx context.Context, req *v1.GetAuthMethodListRequest) (*v1.AuthMethodListReply, error)
- func (s *AuthMethodService) GetEmailPlatform(ctx context.Context, req *v1.GetEmailPlatformRequest) (*v1.PlatformListReply, error)
- func (s *AuthMethodService) GetSmsPlatform(ctx context.Context, req *v1.GetSmsPlatformRequest) (*v1.PlatformListReply, error)
- func (s *AuthMethodService) TestEmailSend(ctx context.Context, req *v1.TestEmailSendRequest) (*v1.ActionReply, error)
- func (s *AuthMethodService) TestSmsSend(ctx context.Context, req *v1.TestSmsSendRequest) (*v1.ActionReply, error)
- func (s *AuthMethodService) UpdateAuthMethodConfig(ctx context.Context, req *v1.UpdateAuthMethodConfigRequest) (*v1.AuthMethodConfigReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMethodService ¶
type AuthMethodService struct {
v1.UnimplementedAuthMethodServiceServer
// contains filtered or unexported fields
}
AuthMethodService 认证方法服务
func NewAuthMethodService ¶
func NewAuthMethodService(uc *authmethodbiz.AuthMethodUsecase, logger log.Logger) *AuthMethodService
func (*AuthMethodService) GetAuthMethodConfig ¶
func (s *AuthMethodService) GetAuthMethodConfig(ctx context.Context, req *v1.GetAuthMethodConfigRequest) (*v1.AuthMethodConfigReply, error)
func (*AuthMethodService) GetAuthMethodList ¶
func (s *AuthMethodService) GetAuthMethodList(ctx context.Context, req *v1.GetAuthMethodListRequest) (*v1.AuthMethodListReply, error)
func (*AuthMethodService) GetEmailPlatform ¶
func (s *AuthMethodService) GetEmailPlatform(ctx context.Context, req *v1.GetEmailPlatformRequest) (*v1.PlatformListReply, error)
func (*AuthMethodService) GetSmsPlatform ¶
func (s *AuthMethodService) GetSmsPlatform(ctx context.Context, req *v1.GetSmsPlatformRequest) (*v1.PlatformListReply, error)
func (*AuthMethodService) TestEmailSend ¶
func (s *AuthMethodService) TestEmailSend(ctx context.Context, req *v1.TestEmailSendRequest) (*v1.ActionReply, error)
func (*AuthMethodService) TestSmsSend ¶
func (s *AuthMethodService) TestSmsSend(ctx context.Context, req *v1.TestSmsSendRequest) (*v1.ActionReply, error)
func (*AuthMethodService) UpdateAuthMethodConfig ¶
func (s *AuthMethodService) UpdateAuthMethodConfig(ctx context.Context, req *v1.UpdateAuthMethodConfigRequest) (*v1.AuthMethodConfigReply, error)
Click to show internal directories.
Click to hide internal directories.