Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAuthMethodServiceHTTPServer(s *http.Server, srv AuthMethodServiceHTTPServer)
- func RegisterAuthMethodServiceServer(s grpc.ServiceRegistrar, srv AuthMethodServiceServer)
- type ActionReply
- func (*ActionReply) Descriptor() ([]byte, []int)deprecated
- func (x *ActionReply) GetCode() int32
- func (x *ActionReply) GetMsg() string
- func (*ActionReply) ProtoMessage()
- func (x *ActionReply) ProtoReflect() protoreflect.Message
- func (x *ActionReply) Reset()
- func (x *ActionReply) String() string
- func (m *ActionReply) Validate() error
- func (m *ActionReply) ValidateAll() error
- type ActionReplyMultiError
- type ActionReplyValidationError
- func (e ActionReplyValidationError) Cause() error
- func (e ActionReplyValidationError) Error() string
- func (e ActionReplyValidationError) ErrorName() string
- func (e ActionReplyValidationError) Field() string
- func (e ActionReplyValidationError) Key() bool
- func (e ActionReplyValidationError) Reason() string
- type AuthMethodConfig
- func (*AuthMethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethodConfig) GetConfig() *structpb.Struct
- func (x *AuthMethodConfig) GetEnabled() bool
- func (x *AuthMethodConfig) GetId() int64
- func (x *AuthMethodConfig) GetMethod() string
- func (*AuthMethodConfig) ProtoMessage()
- func (x *AuthMethodConfig) ProtoReflect() protoreflect.Message
- func (x *AuthMethodConfig) Reset()
- func (x *AuthMethodConfig) String() string
- func (m *AuthMethodConfig) Validate() error
- func (m *AuthMethodConfig) ValidateAll() error
- type AuthMethodConfigData
- func (*AuthMethodConfigData) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethodConfigData) GetConfig() *AuthMethodConfig
- func (*AuthMethodConfigData) ProtoMessage()
- func (x *AuthMethodConfigData) ProtoReflect() protoreflect.Message
- func (x *AuthMethodConfigData) Reset()
- func (x *AuthMethodConfigData) String() string
- func (m *AuthMethodConfigData) Validate() error
- func (m *AuthMethodConfigData) ValidateAll() error
- type AuthMethodConfigDataMultiError
- type AuthMethodConfigDataValidationError
- func (e AuthMethodConfigDataValidationError) Cause() error
- func (e AuthMethodConfigDataValidationError) Error() string
- func (e AuthMethodConfigDataValidationError) ErrorName() string
- func (e AuthMethodConfigDataValidationError) Field() string
- func (e AuthMethodConfigDataValidationError) Key() bool
- func (e AuthMethodConfigDataValidationError) Reason() string
- type AuthMethodConfigMultiError
- type AuthMethodConfigReply
- func (*AuthMethodConfigReply) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethodConfigReply) GetCode() int32
- func (x *AuthMethodConfigReply) GetData() *AuthMethodConfigData
- func (x *AuthMethodConfigReply) GetMessage() string
- func (*AuthMethodConfigReply) ProtoMessage()
- func (x *AuthMethodConfigReply) ProtoReflect() protoreflect.Message
- func (x *AuthMethodConfigReply) Reset()
- func (x *AuthMethodConfigReply) String() string
- func (m *AuthMethodConfigReply) Validate() error
- func (m *AuthMethodConfigReply) ValidateAll() error
- type AuthMethodConfigReplyMultiError
- type AuthMethodConfigReplyValidationError
- func (e AuthMethodConfigReplyValidationError) Cause() error
- func (e AuthMethodConfigReplyValidationError) Error() string
- func (e AuthMethodConfigReplyValidationError) ErrorName() string
- func (e AuthMethodConfigReplyValidationError) Field() string
- func (e AuthMethodConfigReplyValidationError) Key() bool
- func (e AuthMethodConfigReplyValidationError) Reason() string
- type AuthMethodConfigValidationError
- func (e AuthMethodConfigValidationError) Cause() error
- func (e AuthMethodConfigValidationError) Error() string
- func (e AuthMethodConfigValidationError) ErrorName() string
- func (e AuthMethodConfigValidationError) Field() string
- func (e AuthMethodConfigValidationError) Key() bool
- func (e AuthMethodConfigValidationError) Reason() string
- type AuthMethodListData
- func (*AuthMethodListData) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethodListData) GetList() []*AuthMethodConfig
- func (*AuthMethodListData) ProtoMessage()
- func (x *AuthMethodListData) ProtoReflect() protoreflect.Message
- func (x *AuthMethodListData) Reset()
- func (x *AuthMethodListData) String() string
- func (m *AuthMethodListData) Validate() error
- func (m *AuthMethodListData) ValidateAll() error
- type AuthMethodListDataMultiError
- type AuthMethodListDataValidationError
- func (e AuthMethodListDataValidationError) Cause() error
- func (e AuthMethodListDataValidationError) Error() string
- func (e AuthMethodListDataValidationError) ErrorName() string
- func (e AuthMethodListDataValidationError) Field() string
- func (e AuthMethodListDataValidationError) Key() bool
- func (e AuthMethodListDataValidationError) Reason() string
- type AuthMethodListReply
- func (*AuthMethodListReply) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethodListReply) GetCode() int32
- func (x *AuthMethodListReply) GetData() *AuthMethodListData
- func (x *AuthMethodListReply) GetMessage() string
- func (*AuthMethodListReply) ProtoMessage()
- func (x *AuthMethodListReply) ProtoReflect() protoreflect.Message
- func (x *AuthMethodListReply) Reset()
- func (x *AuthMethodListReply) String() string
- func (m *AuthMethodListReply) Validate() error
- func (m *AuthMethodListReply) ValidateAll() error
- type AuthMethodListReplyMultiError
- type AuthMethodListReplyValidationError
- func (e AuthMethodListReplyValidationError) Cause() error
- func (e AuthMethodListReplyValidationError) Error() string
- func (e AuthMethodListReplyValidationError) ErrorName() string
- func (e AuthMethodListReplyValidationError) Field() string
- func (e AuthMethodListReplyValidationError) Key() bool
- func (e AuthMethodListReplyValidationError) Reason() string
- type AuthMethodServiceClient
- type AuthMethodServiceHTTPClient
- type AuthMethodServiceHTTPClientImpl
- func (c *AuthMethodServiceHTTPClientImpl) GetAuthMethodConfig(ctx context.Context, in *GetAuthMethodConfigRequest, opts ...http.CallOption) (*AuthMethodConfigReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) GetAuthMethodList(ctx context.Context, in *GetAuthMethodListRequest, opts ...http.CallOption) (*AuthMethodListReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) GetEmailPlatform(ctx context.Context, in *GetEmailPlatformRequest, opts ...http.CallOption) (*PlatformListReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) GetSmsPlatform(ctx context.Context, in *GetSmsPlatformRequest, opts ...http.CallOption) (*PlatformListReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) TestEmailSend(ctx context.Context, in *TestEmailSendRequest, opts ...http.CallOption) (*ActionReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) TestSmsSend(ctx context.Context, in *TestSmsSendRequest, opts ...http.CallOption) (*ActionReply, error)
- func (c *AuthMethodServiceHTTPClientImpl) UpdateAuthMethodConfig(ctx context.Context, in *UpdateAuthMethodConfigRequest, ...) (*AuthMethodConfigReply, error)
- type AuthMethodServiceHTTPServer
- type AuthMethodServiceServer
- type GetAuthMethodConfigRequest
- func (*GetAuthMethodConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthMethodConfigRequest) GetMethod() string
- func (*GetAuthMethodConfigRequest) ProtoMessage()
- func (x *GetAuthMethodConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthMethodConfigRequest) Reset()
- func (x *GetAuthMethodConfigRequest) String() string
- func (m *GetAuthMethodConfigRequest) Validate() error
- func (m *GetAuthMethodConfigRequest) ValidateAll() error
- type GetAuthMethodConfigRequestMultiError
- type GetAuthMethodConfigRequestValidationError
- func (e GetAuthMethodConfigRequestValidationError) Cause() error
- func (e GetAuthMethodConfigRequestValidationError) Error() string
- func (e GetAuthMethodConfigRequestValidationError) ErrorName() string
- func (e GetAuthMethodConfigRequestValidationError) Field() string
- func (e GetAuthMethodConfigRequestValidationError) Key() bool
- func (e GetAuthMethodConfigRequestValidationError) Reason() string
- type GetAuthMethodListRequest
- func (*GetAuthMethodListRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAuthMethodListRequest) ProtoMessage()
- func (x *GetAuthMethodListRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthMethodListRequest) Reset()
- func (x *GetAuthMethodListRequest) String() string
- func (m *GetAuthMethodListRequest) Validate() error
- func (m *GetAuthMethodListRequest) ValidateAll() error
- type GetAuthMethodListRequestMultiError
- type GetAuthMethodListRequestValidationError
- func (e GetAuthMethodListRequestValidationError) Cause() error
- func (e GetAuthMethodListRequestValidationError) Error() string
- func (e GetAuthMethodListRequestValidationError) ErrorName() string
- func (e GetAuthMethodListRequestValidationError) Field() string
- func (e GetAuthMethodListRequestValidationError) Key() bool
- func (e GetAuthMethodListRequestValidationError) Reason() string
- type GetEmailPlatformRequest
- func (*GetEmailPlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetEmailPlatformRequest) ProtoMessage()
- func (x *GetEmailPlatformRequest) ProtoReflect() protoreflect.Message
- func (x *GetEmailPlatformRequest) Reset()
- func (x *GetEmailPlatformRequest) String() string
- func (m *GetEmailPlatformRequest) Validate() error
- func (m *GetEmailPlatformRequest) ValidateAll() error
- type GetEmailPlatformRequestMultiError
- type GetEmailPlatformRequestValidationError
- func (e GetEmailPlatformRequestValidationError) Cause() error
- func (e GetEmailPlatformRequestValidationError) Error() string
- func (e GetEmailPlatformRequestValidationError) ErrorName() string
- func (e GetEmailPlatformRequestValidationError) Field() string
- func (e GetEmailPlatformRequestValidationError) Key() bool
- func (e GetEmailPlatformRequestValidationError) Reason() string
- type GetSmsPlatformRequest
- func (*GetSmsPlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetSmsPlatformRequest) ProtoMessage()
- func (x *GetSmsPlatformRequest) ProtoReflect() protoreflect.Message
- func (x *GetSmsPlatformRequest) Reset()
- func (x *GetSmsPlatformRequest) String() string
- func (m *GetSmsPlatformRequest) Validate() error
- func (m *GetSmsPlatformRequest) ValidateAll() error
- type GetSmsPlatformRequestMultiError
- type GetSmsPlatformRequestValidationError
- func (e GetSmsPlatformRequestValidationError) Cause() error
- func (e GetSmsPlatformRequestValidationError) Error() string
- func (e GetSmsPlatformRequestValidationError) ErrorName() string
- func (e GetSmsPlatformRequestValidationError) Field() string
- func (e GetSmsPlatformRequestValidationError) Key() bool
- func (e GetSmsPlatformRequestValidationError) Reason() string
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetPlatform() string
- func (x *Platform) GetPlatformFieldDescription() map[string]string
- func (x *Platform) GetPlatformUrl() string
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- func (m *Platform) Validate() error
- func (m *Platform) ValidateAll() error
- type PlatformListData
- func (*PlatformListData) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformListData) GetList() []*Platform
- func (x *PlatformListData) GetPlatforms() []*Platform
- func (*PlatformListData) ProtoMessage()
- func (x *PlatformListData) ProtoReflect() protoreflect.Message
- func (x *PlatformListData) Reset()
- func (x *PlatformListData) String() string
- func (m *PlatformListData) Validate() error
- func (m *PlatformListData) ValidateAll() error
- type PlatformListDataMultiError
- type PlatformListDataValidationError
- func (e PlatformListDataValidationError) Cause() error
- func (e PlatformListDataValidationError) Error() string
- func (e PlatformListDataValidationError) ErrorName() string
- func (e PlatformListDataValidationError) Field() string
- func (e PlatformListDataValidationError) Key() bool
- func (e PlatformListDataValidationError) Reason() string
- type PlatformListReply
- func (*PlatformListReply) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformListReply) GetCode() int32
- func (x *PlatformListReply) GetData() *PlatformListData
- func (x *PlatformListReply) GetMsg() string
- func (*PlatformListReply) ProtoMessage()
- func (x *PlatformListReply) ProtoReflect() protoreflect.Message
- func (x *PlatformListReply) Reset()
- func (x *PlatformListReply) String() string
- func (m *PlatformListReply) Validate() error
- func (m *PlatformListReply) ValidateAll() error
- type PlatformListReplyMultiError
- type PlatformListReplyValidationError
- func (e PlatformListReplyValidationError) Cause() error
- func (e PlatformListReplyValidationError) Error() string
- func (e PlatformListReplyValidationError) ErrorName() string
- func (e PlatformListReplyValidationError) Field() string
- func (e PlatformListReplyValidationError) Key() bool
- func (e PlatformListReplyValidationError) Reason() string
- type PlatformMultiError
- type PlatformValidationError
- type TestEmailSendRequest
- func (*TestEmailSendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestEmailSendRequest) GetEmail() string
- func (*TestEmailSendRequest) ProtoMessage()
- func (x *TestEmailSendRequest) ProtoReflect() protoreflect.Message
- func (x *TestEmailSendRequest) Reset()
- func (x *TestEmailSendRequest) String() string
- func (m *TestEmailSendRequest) Validate() error
- func (m *TestEmailSendRequest) ValidateAll() error
- type TestEmailSendRequestMultiError
- type TestEmailSendRequestValidationError
- func (e TestEmailSendRequestValidationError) Cause() error
- func (e TestEmailSendRequestValidationError) Error() string
- func (e TestEmailSendRequestValidationError) ErrorName() string
- func (e TestEmailSendRequestValidationError) Field() string
- func (e TestEmailSendRequestValidationError) Key() bool
- func (e TestEmailSendRequestValidationError) Reason() string
- type TestSendData
- type TestSendReply
- type TestSmsSendRequest
- func (*TestSmsSendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestSmsSendRequest) GetAreaCode() string
- func (x *TestSmsSendRequest) GetTelephone() string
- func (*TestSmsSendRequest) ProtoMessage()
- func (x *TestSmsSendRequest) ProtoReflect() protoreflect.Message
- func (x *TestSmsSendRequest) Reset()
- func (x *TestSmsSendRequest) String() string
- func (m *TestSmsSendRequest) Validate() error
- func (m *TestSmsSendRequest) ValidateAll() error
- type TestSmsSendRequestMultiError
- type TestSmsSendRequestValidationError
- func (e TestSmsSendRequestValidationError) Cause() error
- func (e TestSmsSendRequestValidationError) Error() string
- func (e TestSmsSendRequestValidationError) ErrorName() string
- func (e TestSmsSendRequestValidationError) Field() string
- func (e TestSmsSendRequestValidationError) Key() bool
- func (e TestSmsSendRequestValidationError) Reason() string
- type UnimplementedAuthMethodServiceServer
- func (UnimplementedAuthMethodServiceServer) GetAuthMethodConfig(context.Context, *GetAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
- func (UnimplementedAuthMethodServiceServer) GetAuthMethodList(context.Context, *GetAuthMethodListRequest) (*AuthMethodListReply, error)
- func (UnimplementedAuthMethodServiceServer) GetEmailPlatform(context.Context, *GetEmailPlatformRequest) (*PlatformListReply, error)
- func (UnimplementedAuthMethodServiceServer) GetSmsPlatform(context.Context, *GetSmsPlatformRequest) (*PlatformListReply, error)
- func (UnimplementedAuthMethodServiceServer) TestEmailSend(context.Context, *TestEmailSendRequest) (*ActionReply, error)
- func (UnimplementedAuthMethodServiceServer) TestSmsSend(context.Context, *TestSmsSendRequest) (*ActionReply, error)
- func (UnimplementedAuthMethodServiceServer) UpdateAuthMethodConfig(context.Context, *UpdateAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
- type UnsafeAuthMethodServiceServer
- type UpdateAuthMethodConfigRequest
- func (*UpdateAuthMethodConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAuthMethodConfigRequest) GetConfig() *structpb.Struct
- func (x *UpdateAuthMethodConfigRequest) GetEnabled() *wrapperspb.BoolValue
- func (x *UpdateAuthMethodConfigRequest) GetId() int64
- func (x *UpdateAuthMethodConfigRequest) GetMethod() string
- func (*UpdateAuthMethodConfigRequest) ProtoMessage()
- func (x *UpdateAuthMethodConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAuthMethodConfigRequest) Reset()
- func (x *UpdateAuthMethodConfigRequest) String() string
- func (m *UpdateAuthMethodConfigRequest) Validate() error
- func (m *UpdateAuthMethodConfigRequest) ValidateAll() error
- type UpdateAuthMethodConfigRequestMultiError
- type UpdateAuthMethodConfigRequestValidationError
- func (e UpdateAuthMethodConfigRequestValidationError) Cause() error
- func (e UpdateAuthMethodConfigRequestValidationError) Error() string
- func (e UpdateAuthMethodConfigRequestValidationError) ErrorName() string
- func (e UpdateAuthMethodConfigRequestValidationError) Field() string
- func (e UpdateAuthMethodConfigRequestValidationError) Key() bool
- func (e UpdateAuthMethodConfigRequestValidationError) Reason() string
Constants ¶
const ( AuthMethodService_GetAuthMethodConfig_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/GetAuthMethodConfig" AuthMethodService_UpdateAuthMethodConfig_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/UpdateAuthMethodConfig" AuthMethodService_GetEmailPlatform_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/GetEmailPlatform" AuthMethodService_GetSmsPlatform_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/GetSmsPlatform" AuthMethodService_GetAuthMethodList_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/GetAuthMethodList" AuthMethodService_TestEmailSend_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/TestEmailSend" AuthMethodService_TestSmsSend_FullMethodName = "/api.admin.authmethod.v1.AuthMethodService/TestSmsSend" )
const OperationAuthMethodServiceGetAuthMethodConfig = "/api.admin.authmethod.v1.AuthMethodService/GetAuthMethodConfig"
const OperationAuthMethodServiceGetAuthMethodList = "/api.admin.authmethod.v1.AuthMethodService/GetAuthMethodList"
const OperationAuthMethodServiceGetEmailPlatform = "/api.admin.authmethod.v1.AuthMethodService/GetEmailPlatform"
const OperationAuthMethodServiceGetSmsPlatform = "/api.admin.authmethod.v1.AuthMethodService/GetSmsPlatform"
const OperationAuthMethodServiceTestEmailSend = "/api.admin.authmethod.v1.AuthMethodService/TestEmailSend"
const OperationAuthMethodServiceTestSmsSend = "/api.admin.authmethod.v1.AuthMethodService/TestSmsSend"
const OperationAuthMethodServiceUpdateAuthMethodConfig = "/api.admin.authmethod.v1.AuthMethodService/UpdateAuthMethodConfig"
Variables ¶
var AuthMethodService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.admin.authmethod.v1.AuthMethodService", HandlerType: (*AuthMethodServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthMethodConfig", Handler: _AuthMethodService_GetAuthMethodConfig_Handler, }, { MethodName: "UpdateAuthMethodConfig", Handler: _AuthMethodService_UpdateAuthMethodConfig_Handler, }, { MethodName: "GetEmailPlatform", Handler: _AuthMethodService_GetEmailPlatform_Handler, }, { MethodName: "GetSmsPlatform", Handler: _AuthMethodService_GetSmsPlatform_Handler, }, { MethodName: "GetAuthMethodList", Handler: _AuthMethodService_GetAuthMethodList_Handler, }, { MethodName: "TestEmailSend", Handler: _AuthMethodService_TestEmailSend_Handler, }, { MethodName: "TestSmsSend", Handler: _AuthMethodService_TestSmsSend_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin/authmethod/v1/authmethod.proto", }
AuthMethodService_ServiceDesc is the grpc.ServiceDesc for AuthMethodService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_authmethod_v1_authmethod_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthMethodServiceHTTPServer ¶
func RegisterAuthMethodServiceHTTPServer(s *http.Server, srv AuthMethodServiceHTTPServer)
func RegisterAuthMethodServiceServer ¶
func RegisterAuthMethodServiceServer(s grpc.ServiceRegistrar, srv AuthMethodServiceServer)
Types ¶
type ActionReply ¶
type ActionReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
func (*ActionReply) Descriptor
deprecated
func (*ActionReply) Descriptor() ([]byte, []int)
Deprecated: Use ActionReply.ProtoReflect.Descriptor instead.
func (*ActionReply) GetCode ¶
func (x *ActionReply) GetCode() int32
func (*ActionReply) GetMsg ¶
func (x *ActionReply) GetMsg() string
func (*ActionReply) ProtoMessage ¶
func (*ActionReply) ProtoMessage()
func (*ActionReply) ProtoReflect ¶
func (x *ActionReply) ProtoReflect() protoreflect.Message
func (*ActionReply) Reset ¶
func (x *ActionReply) Reset()
func (*ActionReply) String ¶
func (x *ActionReply) String() string
func (*ActionReply) Validate ¶
func (m *ActionReply) Validate() error
Validate checks the field values on ActionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ActionReply) ValidateAll ¶
func (m *ActionReply) ValidateAll() error
ValidateAll checks the field values on ActionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionReplyMultiError, or nil if none found.
type ActionReplyMultiError ¶
type ActionReplyMultiError []error
ActionReplyMultiError is an error wrapping multiple validation errors returned by ActionReply.ValidateAll() if the designated constraints aren't met.
func (ActionReplyMultiError) AllErrors ¶
func (m ActionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActionReplyMultiError) Error ¶
func (m ActionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActionReplyValidationError ¶
type ActionReplyValidationError struct {
// contains filtered or unexported fields
}
ActionReplyValidationError is the validation error returned by ActionReply.Validate if the designated constraints aren't met.
func (ActionReplyValidationError) Cause ¶
func (e ActionReplyValidationError) Cause() error
Cause function returns cause value.
func (ActionReplyValidationError) Error ¶
func (e ActionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ActionReplyValidationError) ErrorName ¶
func (e ActionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ActionReplyValidationError) Field ¶
func (e ActionReplyValidationError) Field() string
Field function returns field value.
func (ActionReplyValidationError) Key ¶
func (e ActionReplyValidationError) Key() bool
Key function returns key value.
func (ActionReplyValidationError) Reason ¶
func (e ActionReplyValidationError) Reason() string
Reason function returns reason value.
type AuthMethodConfig ¶
type AuthMethodConfig struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Config *structpb.Struct `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (*AuthMethodConfig) Descriptor
deprecated
func (*AuthMethodConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethodConfig.ProtoReflect.Descriptor instead.
func (*AuthMethodConfig) GetConfig ¶
func (x *AuthMethodConfig) GetConfig() *structpb.Struct
func (*AuthMethodConfig) GetEnabled ¶
func (x *AuthMethodConfig) GetEnabled() bool
func (*AuthMethodConfig) GetId ¶
func (x *AuthMethodConfig) GetId() int64
func (*AuthMethodConfig) GetMethod ¶
func (x *AuthMethodConfig) GetMethod() string
func (*AuthMethodConfig) ProtoMessage ¶
func (*AuthMethodConfig) ProtoMessage()
func (*AuthMethodConfig) ProtoReflect ¶
func (x *AuthMethodConfig) ProtoReflect() protoreflect.Message
func (*AuthMethodConfig) Reset ¶
func (x *AuthMethodConfig) Reset()
func (*AuthMethodConfig) String ¶
func (x *AuthMethodConfig) String() string
func (*AuthMethodConfig) Validate ¶
func (m *AuthMethodConfig) Validate() error
Validate checks the field values on AuthMethodConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthMethodConfig) ValidateAll ¶
func (m *AuthMethodConfig) ValidateAll() error
ValidateAll checks the field values on AuthMethodConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthMethodConfigMultiError, or nil if none found.
type AuthMethodConfigData ¶
type AuthMethodConfigData struct {
Config *AuthMethodConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*AuthMethodConfigData) Descriptor
deprecated
func (*AuthMethodConfigData) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethodConfigData.ProtoReflect.Descriptor instead.
func (*AuthMethodConfigData) GetConfig ¶
func (x *AuthMethodConfigData) GetConfig() *AuthMethodConfig
func (*AuthMethodConfigData) ProtoMessage ¶
func (*AuthMethodConfigData) ProtoMessage()
func (*AuthMethodConfigData) ProtoReflect ¶
func (x *AuthMethodConfigData) ProtoReflect() protoreflect.Message
func (*AuthMethodConfigData) Reset ¶
func (x *AuthMethodConfigData) Reset()
func (*AuthMethodConfigData) String ¶
func (x *AuthMethodConfigData) String() string
func (*AuthMethodConfigData) Validate ¶
func (m *AuthMethodConfigData) Validate() error
Validate checks the field values on AuthMethodConfigData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthMethodConfigData) ValidateAll ¶
func (m *AuthMethodConfigData) ValidateAll() error
ValidateAll checks the field values on AuthMethodConfigData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthMethodConfigDataMultiError, or nil if none found.
type AuthMethodConfigDataMultiError ¶
type AuthMethodConfigDataMultiError []error
AuthMethodConfigDataMultiError is an error wrapping multiple validation errors returned by AuthMethodConfigData.ValidateAll() if the designated constraints aren't met.
func (AuthMethodConfigDataMultiError) AllErrors ¶
func (m AuthMethodConfigDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMethodConfigDataMultiError) Error ¶
func (m AuthMethodConfigDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthMethodConfigDataValidationError ¶
type AuthMethodConfigDataValidationError struct {
// contains filtered or unexported fields
}
AuthMethodConfigDataValidationError is the validation error returned by AuthMethodConfigData.Validate if the designated constraints aren't met.
func (AuthMethodConfigDataValidationError) Cause ¶
func (e AuthMethodConfigDataValidationError) Cause() error
Cause function returns cause value.
func (AuthMethodConfigDataValidationError) Error ¶
func (e AuthMethodConfigDataValidationError) Error() string
Error satisfies the builtin error interface
func (AuthMethodConfigDataValidationError) ErrorName ¶
func (e AuthMethodConfigDataValidationError) ErrorName() string
ErrorName returns error name.
func (AuthMethodConfigDataValidationError) Field ¶
func (e AuthMethodConfigDataValidationError) Field() string
Field function returns field value.
func (AuthMethodConfigDataValidationError) Key ¶
func (e AuthMethodConfigDataValidationError) Key() bool
Key function returns key value.
func (AuthMethodConfigDataValidationError) Reason ¶
func (e AuthMethodConfigDataValidationError) Reason() string
Reason function returns reason value.
type AuthMethodConfigMultiError ¶
type AuthMethodConfigMultiError []error
AuthMethodConfigMultiError is an error wrapping multiple validation errors returned by AuthMethodConfig.ValidateAll() if the designated constraints aren't met.
func (AuthMethodConfigMultiError) AllErrors ¶
func (m AuthMethodConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMethodConfigMultiError) Error ¶
func (m AuthMethodConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthMethodConfigReply ¶
type AuthMethodConfigReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *AuthMethodConfigData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*AuthMethodConfigReply) Descriptor
deprecated
func (*AuthMethodConfigReply) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethodConfigReply.ProtoReflect.Descriptor instead.
func (*AuthMethodConfigReply) GetCode ¶
func (x *AuthMethodConfigReply) GetCode() int32
func (*AuthMethodConfigReply) GetData ¶
func (x *AuthMethodConfigReply) GetData() *AuthMethodConfigData
func (*AuthMethodConfigReply) GetMessage ¶
func (x *AuthMethodConfigReply) GetMessage() string
func (*AuthMethodConfigReply) ProtoMessage ¶
func (*AuthMethodConfigReply) ProtoMessage()
func (*AuthMethodConfigReply) ProtoReflect ¶
func (x *AuthMethodConfigReply) ProtoReflect() protoreflect.Message
func (*AuthMethodConfigReply) Reset ¶
func (x *AuthMethodConfigReply) Reset()
func (*AuthMethodConfigReply) String ¶
func (x *AuthMethodConfigReply) String() string
func (*AuthMethodConfigReply) Validate ¶
func (m *AuthMethodConfigReply) Validate() error
Validate checks the field values on AuthMethodConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthMethodConfigReply) ValidateAll ¶
func (m *AuthMethodConfigReply) ValidateAll() error
ValidateAll checks the field values on AuthMethodConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthMethodConfigReplyMultiError, or nil if none found.
type AuthMethodConfigReplyMultiError ¶
type AuthMethodConfigReplyMultiError []error
AuthMethodConfigReplyMultiError is an error wrapping multiple validation errors returned by AuthMethodConfigReply.ValidateAll() if the designated constraints aren't met.
func (AuthMethodConfigReplyMultiError) AllErrors ¶
func (m AuthMethodConfigReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMethodConfigReplyMultiError) Error ¶
func (m AuthMethodConfigReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthMethodConfigReplyValidationError ¶
type AuthMethodConfigReplyValidationError struct {
// contains filtered or unexported fields
}
AuthMethodConfigReplyValidationError is the validation error returned by AuthMethodConfigReply.Validate if the designated constraints aren't met.
func (AuthMethodConfigReplyValidationError) Cause ¶
func (e AuthMethodConfigReplyValidationError) Cause() error
Cause function returns cause value.
func (AuthMethodConfigReplyValidationError) Error ¶
func (e AuthMethodConfigReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AuthMethodConfigReplyValidationError) ErrorName ¶
func (e AuthMethodConfigReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AuthMethodConfigReplyValidationError) Field ¶
func (e AuthMethodConfigReplyValidationError) Field() string
Field function returns field value.
func (AuthMethodConfigReplyValidationError) Key ¶
func (e AuthMethodConfigReplyValidationError) Key() bool
Key function returns key value.
func (AuthMethodConfigReplyValidationError) Reason ¶
func (e AuthMethodConfigReplyValidationError) Reason() string
Reason function returns reason value.
type AuthMethodConfigValidationError ¶
type AuthMethodConfigValidationError struct {
// contains filtered or unexported fields
}
AuthMethodConfigValidationError is the validation error returned by AuthMethodConfig.Validate if the designated constraints aren't met.
func (AuthMethodConfigValidationError) Cause ¶
func (e AuthMethodConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthMethodConfigValidationError) Error ¶
func (e AuthMethodConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthMethodConfigValidationError) ErrorName ¶
func (e AuthMethodConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthMethodConfigValidationError) Field ¶
func (e AuthMethodConfigValidationError) Field() string
Field function returns field value.
func (AuthMethodConfigValidationError) Key ¶
func (e AuthMethodConfigValidationError) Key() bool
Key function returns key value.
func (AuthMethodConfigValidationError) Reason ¶
func (e AuthMethodConfigValidationError) Reason() string
Reason function returns reason value.
type AuthMethodListData ¶
type AuthMethodListData struct {
List []*AuthMethodConfig `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*AuthMethodListData) Descriptor
deprecated
func (*AuthMethodListData) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethodListData.ProtoReflect.Descriptor instead.
func (*AuthMethodListData) GetList ¶
func (x *AuthMethodListData) GetList() []*AuthMethodConfig
func (*AuthMethodListData) ProtoMessage ¶
func (*AuthMethodListData) ProtoMessage()
func (*AuthMethodListData) ProtoReflect ¶
func (x *AuthMethodListData) ProtoReflect() protoreflect.Message
func (*AuthMethodListData) Reset ¶
func (x *AuthMethodListData) Reset()
func (*AuthMethodListData) String ¶
func (x *AuthMethodListData) String() string
func (*AuthMethodListData) Validate ¶
func (m *AuthMethodListData) Validate() error
Validate checks the field values on AuthMethodListData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthMethodListData) ValidateAll ¶
func (m *AuthMethodListData) ValidateAll() error
ValidateAll checks the field values on AuthMethodListData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthMethodListDataMultiError, or nil if none found.
type AuthMethodListDataMultiError ¶
type AuthMethodListDataMultiError []error
AuthMethodListDataMultiError is an error wrapping multiple validation errors returned by AuthMethodListData.ValidateAll() if the designated constraints aren't met.
func (AuthMethodListDataMultiError) AllErrors ¶
func (m AuthMethodListDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMethodListDataMultiError) Error ¶
func (m AuthMethodListDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthMethodListDataValidationError ¶
type AuthMethodListDataValidationError struct {
// contains filtered or unexported fields
}
AuthMethodListDataValidationError is the validation error returned by AuthMethodListData.Validate if the designated constraints aren't met.
func (AuthMethodListDataValidationError) Cause ¶
func (e AuthMethodListDataValidationError) Cause() error
Cause function returns cause value.
func (AuthMethodListDataValidationError) Error ¶
func (e AuthMethodListDataValidationError) Error() string
Error satisfies the builtin error interface
func (AuthMethodListDataValidationError) ErrorName ¶
func (e AuthMethodListDataValidationError) ErrorName() string
ErrorName returns error name.
func (AuthMethodListDataValidationError) Field ¶
func (e AuthMethodListDataValidationError) Field() string
Field function returns field value.
func (AuthMethodListDataValidationError) Key ¶
func (e AuthMethodListDataValidationError) Key() bool
Key function returns key value.
func (AuthMethodListDataValidationError) Reason ¶
func (e AuthMethodListDataValidationError) Reason() string
Reason function returns reason value.
type AuthMethodListReply ¶
type AuthMethodListReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Data *AuthMethodListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*AuthMethodListReply) Descriptor
deprecated
func (*AuthMethodListReply) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethodListReply.ProtoReflect.Descriptor instead.
func (*AuthMethodListReply) GetCode ¶
func (x *AuthMethodListReply) GetCode() int32
func (*AuthMethodListReply) GetData ¶
func (x *AuthMethodListReply) GetData() *AuthMethodListData
func (*AuthMethodListReply) GetMessage ¶
func (x *AuthMethodListReply) GetMessage() string
func (*AuthMethodListReply) ProtoMessage ¶
func (*AuthMethodListReply) ProtoMessage()
func (*AuthMethodListReply) ProtoReflect ¶
func (x *AuthMethodListReply) ProtoReflect() protoreflect.Message
func (*AuthMethodListReply) Reset ¶
func (x *AuthMethodListReply) Reset()
func (*AuthMethodListReply) String ¶
func (x *AuthMethodListReply) String() string
func (*AuthMethodListReply) Validate ¶
func (m *AuthMethodListReply) Validate() error
Validate checks the field values on AuthMethodListReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthMethodListReply) ValidateAll ¶
func (m *AuthMethodListReply) ValidateAll() error
ValidateAll checks the field values on AuthMethodListReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthMethodListReplyMultiError, or nil if none found.
type AuthMethodListReplyMultiError ¶
type AuthMethodListReplyMultiError []error
AuthMethodListReplyMultiError is an error wrapping multiple validation errors returned by AuthMethodListReply.ValidateAll() if the designated constraints aren't met.
func (AuthMethodListReplyMultiError) AllErrors ¶
func (m AuthMethodListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthMethodListReplyMultiError) Error ¶
func (m AuthMethodListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthMethodListReplyValidationError ¶
type AuthMethodListReplyValidationError struct {
// contains filtered or unexported fields
}
AuthMethodListReplyValidationError is the validation error returned by AuthMethodListReply.Validate if the designated constraints aren't met.
func (AuthMethodListReplyValidationError) Cause ¶
func (e AuthMethodListReplyValidationError) Cause() error
Cause function returns cause value.
func (AuthMethodListReplyValidationError) Error ¶
func (e AuthMethodListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (AuthMethodListReplyValidationError) ErrorName ¶
func (e AuthMethodListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (AuthMethodListReplyValidationError) Field ¶
func (e AuthMethodListReplyValidationError) Field() string
Field function returns field value.
func (AuthMethodListReplyValidationError) Key ¶
func (e AuthMethodListReplyValidationError) Key() bool
Key function returns key value.
func (AuthMethodListReplyValidationError) Reason ¶
func (e AuthMethodListReplyValidationError) Reason() string
Reason function returns reason value.
type AuthMethodServiceClient ¶
type AuthMethodServiceClient interface {
// 获取认证方法配置
GetAuthMethodConfig(ctx context.Context, in *GetAuthMethodConfigRequest, opts ...grpc.CallOption) (*AuthMethodConfigReply, error)
// 更新认证方法配置
UpdateAuthMethodConfig(ctx context.Context, in *UpdateAuthMethodConfigRequest, opts ...grpc.CallOption) (*AuthMethodConfigReply, error)
// 获取邮件支持平台列表
GetEmailPlatform(ctx context.Context, in *GetEmailPlatformRequest, opts ...grpc.CallOption) (*PlatformListReply, error)
// 获取短信支持平台列表
GetSmsPlatform(ctx context.Context, in *GetSmsPlatformRequest, opts ...grpc.CallOption) (*PlatformListReply, error)
// 获取认证方法列表
GetAuthMethodList(ctx context.Context, in *GetAuthMethodListRequest, opts ...grpc.CallOption) (*AuthMethodListReply, error)
// 测试邮件发送
TestEmailSend(ctx context.Context, in *TestEmailSendRequest, opts ...grpc.CallOption) (*ActionReply, error)
// 测试短信发送
TestSmsSend(ctx context.Context, in *TestSmsSendRequest, opts ...grpc.CallOption) (*ActionReply, error)
}
AuthMethodServiceClient is the client API for AuthMethodService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
认证方法服务
func NewAuthMethodServiceClient ¶
func NewAuthMethodServiceClient(cc grpc.ClientConnInterface) AuthMethodServiceClient
type AuthMethodServiceHTTPClient ¶
type AuthMethodServiceHTTPClient interface {
// GetAuthMethodConfig 获取认证方法配置
GetAuthMethodConfig(ctx context.Context, req *GetAuthMethodConfigRequest, opts ...http.CallOption) (rsp *AuthMethodConfigReply, err error)
// GetAuthMethodList 获取认证方法列表
GetAuthMethodList(ctx context.Context, req *GetAuthMethodListRequest, opts ...http.CallOption) (rsp *AuthMethodListReply, err error)
// GetEmailPlatform 获取邮件支持平台列表
GetEmailPlatform(ctx context.Context, req *GetEmailPlatformRequest, opts ...http.CallOption) (rsp *PlatformListReply, err error)
// GetSmsPlatform 获取短信支持平台列表
GetSmsPlatform(ctx context.Context, req *GetSmsPlatformRequest, opts ...http.CallOption) (rsp *PlatformListReply, err error)
// TestEmailSend 测试邮件发送
TestEmailSend(ctx context.Context, req *TestEmailSendRequest, opts ...http.CallOption) (rsp *ActionReply, err error)
// TestSmsSend 测试短信发送
TestSmsSend(ctx context.Context, req *TestSmsSendRequest, opts ...http.CallOption) (rsp *ActionReply, err error)
// UpdateAuthMethodConfig 更新认证方法配置
UpdateAuthMethodConfig(ctx context.Context, req *UpdateAuthMethodConfigRequest, opts ...http.CallOption) (rsp *AuthMethodConfigReply, err error)
}
func NewAuthMethodServiceHTTPClient ¶
func NewAuthMethodServiceHTTPClient(client *http.Client) AuthMethodServiceHTTPClient
type AuthMethodServiceHTTPClientImpl ¶
type AuthMethodServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthMethodServiceHTTPClientImpl) GetAuthMethodConfig ¶
func (c *AuthMethodServiceHTTPClientImpl) GetAuthMethodConfig(ctx context.Context, in *GetAuthMethodConfigRequest, opts ...http.CallOption) (*AuthMethodConfigReply, error)
GetAuthMethodConfig 获取认证方法配置
func (*AuthMethodServiceHTTPClientImpl) GetAuthMethodList ¶
func (c *AuthMethodServiceHTTPClientImpl) GetAuthMethodList(ctx context.Context, in *GetAuthMethodListRequest, opts ...http.CallOption) (*AuthMethodListReply, error)
GetAuthMethodList 获取认证方法列表
func (*AuthMethodServiceHTTPClientImpl) GetEmailPlatform ¶
func (c *AuthMethodServiceHTTPClientImpl) GetEmailPlatform(ctx context.Context, in *GetEmailPlatformRequest, opts ...http.CallOption) (*PlatformListReply, error)
GetEmailPlatform 获取邮件支持平台列表
func (*AuthMethodServiceHTTPClientImpl) GetSmsPlatform ¶
func (c *AuthMethodServiceHTTPClientImpl) GetSmsPlatform(ctx context.Context, in *GetSmsPlatformRequest, opts ...http.CallOption) (*PlatformListReply, error)
GetSmsPlatform 获取短信支持平台列表
func (*AuthMethodServiceHTTPClientImpl) TestEmailSend ¶
func (c *AuthMethodServiceHTTPClientImpl) TestEmailSend(ctx context.Context, in *TestEmailSendRequest, opts ...http.CallOption) (*ActionReply, error)
TestEmailSend 测试邮件发送
func (*AuthMethodServiceHTTPClientImpl) TestSmsSend ¶
func (c *AuthMethodServiceHTTPClientImpl) TestSmsSend(ctx context.Context, in *TestSmsSendRequest, opts ...http.CallOption) (*ActionReply, error)
TestSmsSend 测试短信发送
func (*AuthMethodServiceHTTPClientImpl) UpdateAuthMethodConfig ¶
func (c *AuthMethodServiceHTTPClientImpl) UpdateAuthMethodConfig(ctx context.Context, in *UpdateAuthMethodConfigRequest, opts ...http.CallOption) (*AuthMethodConfigReply, error)
UpdateAuthMethodConfig 更新认证方法配置
type AuthMethodServiceHTTPServer ¶
type AuthMethodServiceHTTPServer interface {
// GetAuthMethodConfig 获取认证方法配置
GetAuthMethodConfig(context.Context, *GetAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
// GetAuthMethodList 获取认证方法列表
GetAuthMethodList(context.Context, *GetAuthMethodListRequest) (*AuthMethodListReply, error)
// GetEmailPlatform 获取邮件支持平台列表
GetEmailPlatform(context.Context, *GetEmailPlatformRequest) (*PlatformListReply, error)
// GetSmsPlatform 获取短信支持平台列表
GetSmsPlatform(context.Context, *GetSmsPlatformRequest) (*PlatformListReply, error)
// TestEmailSend 测试邮件发送
TestEmailSend(context.Context, *TestEmailSendRequest) (*ActionReply, error)
// TestSmsSend 测试短信发送
TestSmsSend(context.Context, *TestSmsSendRequest) (*ActionReply, error)
// UpdateAuthMethodConfig 更新认证方法配置
UpdateAuthMethodConfig(context.Context, *UpdateAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
}
type AuthMethodServiceServer ¶
type AuthMethodServiceServer interface {
// 获取认证方法配置
GetAuthMethodConfig(context.Context, *GetAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
// 更新认证方法配置
UpdateAuthMethodConfig(context.Context, *UpdateAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
// 获取邮件支持平台列表
GetEmailPlatform(context.Context, *GetEmailPlatformRequest) (*PlatformListReply, error)
// 获取短信支持平台列表
GetSmsPlatform(context.Context, *GetSmsPlatformRequest) (*PlatformListReply, error)
// 获取认证方法列表
GetAuthMethodList(context.Context, *GetAuthMethodListRequest) (*AuthMethodListReply, error)
// 测试邮件发送
TestEmailSend(context.Context, *TestEmailSendRequest) (*ActionReply, error)
// 测试短信发送
TestSmsSend(context.Context, *TestSmsSendRequest) (*ActionReply, error)
// contains filtered or unexported methods
}
AuthMethodServiceServer is the server API for AuthMethodService service. All implementations must embed UnimplementedAuthMethodServiceServer for forward compatibility.
认证方法服务
type GetAuthMethodConfigRequest ¶
type GetAuthMethodConfigRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthMethodConfigRequest) Descriptor
deprecated
func (*GetAuthMethodConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthMethodConfigRequest.ProtoReflect.Descriptor instead.
func (*GetAuthMethodConfigRequest) GetMethod ¶
func (x *GetAuthMethodConfigRequest) GetMethod() string
func (*GetAuthMethodConfigRequest) ProtoMessage ¶
func (*GetAuthMethodConfigRequest) ProtoMessage()
func (*GetAuthMethodConfigRequest) ProtoReflect ¶
func (x *GetAuthMethodConfigRequest) ProtoReflect() protoreflect.Message
func (*GetAuthMethodConfigRequest) Reset ¶
func (x *GetAuthMethodConfigRequest) Reset()
func (*GetAuthMethodConfigRequest) String ¶
func (x *GetAuthMethodConfigRequest) String() string
func (*GetAuthMethodConfigRequest) Validate ¶
func (m *GetAuthMethodConfigRequest) Validate() error
Validate checks the field values on GetAuthMethodConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuthMethodConfigRequest) ValidateAll ¶
func (m *GetAuthMethodConfigRequest) ValidateAll() error
ValidateAll checks the field values on GetAuthMethodConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuthMethodConfigRequestMultiError, or nil if none found.
type GetAuthMethodConfigRequestMultiError ¶
type GetAuthMethodConfigRequestMultiError []error
GetAuthMethodConfigRequestMultiError is an error wrapping multiple validation errors returned by GetAuthMethodConfigRequest.ValidateAll() if the designated constraints aren't met.
func (GetAuthMethodConfigRequestMultiError) AllErrors ¶
func (m GetAuthMethodConfigRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuthMethodConfigRequestMultiError) Error ¶
func (m GetAuthMethodConfigRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuthMethodConfigRequestValidationError ¶
type GetAuthMethodConfigRequestValidationError struct {
// contains filtered or unexported fields
}
GetAuthMethodConfigRequestValidationError is the validation error returned by GetAuthMethodConfigRequest.Validate if the designated constraints aren't met.
func (GetAuthMethodConfigRequestValidationError) Cause ¶
func (e GetAuthMethodConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAuthMethodConfigRequestValidationError) Error ¶
func (e GetAuthMethodConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuthMethodConfigRequestValidationError) ErrorName ¶
func (e GetAuthMethodConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuthMethodConfigRequestValidationError) Field ¶
func (e GetAuthMethodConfigRequestValidationError) Field() string
Field function returns field value.
func (GetAuthMethodConfigRequestValidationError) Key ¶
func (e GetAuthMethodConfigRequestValidationError) Key() bool
Key function returns key value.
func (GetAuthMethodConfigRequestValidationError) Reason ¶
func (e GetAuthMethodConfigRequestValidationError) Reason() string
Reason function returns reason value.
type GetAuthMethodListRequest ¶
type GetAuthMethodListRequest struct {
// contains filtered or unexported fields
}
func (*GetAuthMethodListRequest) Descriptor
deprecated
func (*GetAuthMethodListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthMethodListRequest.ProtoReflect.Descriptor instead.
func (*GetAuthMethodListRequest) ProtoMessage ¶
func (*GetAuthMethodListRequest) ProtoMessage()
func (*GetAuthMethodListRequest) ProtoReflect ¶
func (x *GetAuthMethodListRequest) ProtoReflect() protoreflect.Message
func (*GetAuthMethodListRequest) Reset ¶
func (x *GetAuthMethodListRequest) Reset()
func (*GetAuthMethodListRequest) String ¶
func (x *GetAuthMethodListRequest) String() string
func (*GetAuthMethodListRequest) Validate ¶
func (m *GetAuthMethodListRequest) Validate() error
Validate checks the field values on GetAuthMethodListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuthMethodListRequest) ValidateAll ¶
func (m *GetAuthMethodListRequest) ValidateAll() error
ValidateAll checks the field values on GetAuthMethodListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuthMethodListRequestMultiError, or nil if none found.
type GetAuthMethodListRequestMultiError ¶
type GetAuthMethodListRequestMultiError []error
GetAuthMethodListRequestMultiError is an error wrapping multiple validation errors returned by GetAuthMethodListRequest.ValidateAll() if the designated constraints aren't met.
func (GetAuthMethodListRequestMultiError) AllErrors ¶
func (m GetAuthMethodListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuthMethodListRequestMultiError) Error ¶
func (m GetAuthMethodListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuthMethodListRequestValidationError ¶
type GetAuthMethodListRequestValidationError struct {
// contains filtered or unexported fields
}
GetAuthMethodListRequestValidationError is the validation error returned by GetAuthMethodListRequest.Validate if the designated constraints aren't met.
func (GetAuthMethodListRequestValidationError) Cause ¶
func (e GetAuthMethodListRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAuthMethodListRequestValidationError) Error ¶
func (e GetAuthMethodListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuthMethodListRequestValidationError) ErrorName ¶
func (e GetAuthMethodListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuthMethodListRequestValidationError) Field ¶
func (e GetAuthMethodListRequestValidationError) Field() string
Field function returns field value.
func (GetAuthMethodListRequestValidationError) Key ¶
func (e GetAuthMethodListRequestValidationError) Key() bool
Key function returns key value.
func (GetAuthMethodListRequestValidationError) Reason ¶
func (e GetAuthMethodListRequestValidationError) Reason() string
Reason function returns reason value.
type GetEmailPlatformRequest ¶
type GetEmailPlatformRequest struct {
// contains filtered or unexported fields
}
func (*GetEmailPlatformRequest) Descriptor
deprecated
func (*GetEmailPlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEmailPlatformRequest.ProtoReflect.Descriptor instead.
func (*GetEmailPlatformRequest) ProtoMessage ¶
func (*GetEmailPlatformRequest) ProtoMessage()
func (*GetEmailPlatformRequest) ProtoReflect ¶
func (x *GetEmailPlatformRequest) ProtoReflect() protoreflect.Message
func (*GetEmailPlatformRequest) Reset ¶
func (x *GetEmailPlatformRequest) Reset()
func (*GetEmailPlatformRequest) String ¶
func (x *GetEmailPlatformRequest) String() string
func (*GetEmailPlatformRequest) Validate ¶
func (m *GetEmailPlatformRequest) Validate() error
Validate checks the field values on GetEmailPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetEmailPlatformRequest) ValidateAll ¶
func (m *GetEmailPlatformRequest) ValidateAll() error
ValidateAll checks the field values on GetEmailPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEmailPlatformRequestMultiError, or nil if none found.
type GetEmailPlatformRequestMultiError ¶
type GetEmailPlatformRequestMultiError []error
GetEmailPlatformRequestMultiError is an error wrapping multiple validation errors returned by GetEmailPlatformRequest.ValidateAll() if the designated constraints aren't met.
func (GetEmailPlatformRequestMultiError) AllErrors ¶
func (m GetEmailPlatformRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEmailPlatformRequestMultiError) Error ¶
func (m GetEmailPlatformRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEmailPlatformRequestValidationError ¶
type GetEmailPlatformRequestValidationError struct {
// contains filtered or unexported fields
}
GetEmailPlatformRequestValidationError is the validation error returned by GetEmailPlatformRequest.Validate if the designated constraints aren't met.
func (GetEmailPlatformRequestValidationError) Cause ¶
func (e GetEmailPlatformRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEmailPlatformRequestValidationError) Error ¶
func (e GetEmailPlatformRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEmailPlatformRequestValidationError) ErrorName ¶
func (e GetEmailPlatformRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEmailPlatformRequestValidationError) Field ¶
func (e GetEmailPlatformRequestValidationError) Field() string
Field function returns field value.
func (GetEmailPlatformRequestValidationError) Key ¶
func (e GetEmailPlatformRequestValidationError) Key() bool
Key function returns key value.
func (GetEmailPlatformRequestValidationError) Reason ¶
func (e GetEmailPlatformRequestValidationError) Reason() string
Reason function returns reason value.
type GetSmsPlatformRequest ¶
type GetSmsPlatformRequest struct {
// contains filtered or unexported fields
}
func (*GetSmsPlatformRequest) Descriptor
deprecated
func (*GetSmsPlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSmsPlatformRequest.ProtoReflect.Descriptor instead.
func (*GetSmsPlatformRequest) ProtoMessage ¶
func (*GetSmsPlatformRequest) ProtoMessage()
func (*GetSmsPlatformRequest) ProtoReflect ¶
func (x *GetSmsPlatformRequest) ProtoReflect() protoreflect.Message
func (*GetSmsPlatformRequest) Reset ¶
func (x *GetSmsPlatformRequest) Reset()
func (*GetSmsPlatformRequest) String ¶
func (x *GetSmsPlatformRequest) String() string
func (*GetSmsPlatformRequest) Validate ¶
func (m *GetSmsPlatformRequest) Validate() error
Validate checks the field values on GetSmsPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetSmsPlatformRequest) ValidateAll ¶
func (m *GetSmsPlatformRequest) ValidateAll() error
ValidateAll checks the field values on GetSmsPlatformRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSmsPlatformRequestMultiError, or nil if none found.
type GetSmsPlatformRequestMultiError ¶
type GetSmsPlatformRequestMultiError []error
GetSmsPlatformRequestMultiError is an error wrapping multiple validation errors returned by GetSmsPlatformRequest.ValidateAll() if the designated constraints aren't met.
func (GetSmsPlatformRequestMultiError) AllErrors ¶
func (m GetSmsPlatformRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSmsPlatformRequestMultiError) Error ¶
func (m GetSmsPlatformRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSmsPlatformRequestValidationError ¶
type GetSmsPlatformRequestValidationError struct {
// contains filtered or unexported fields
}
GetSmsPlatformRequestValidationError is the validation error returned by GetSmsPlatformRequest.Validate if the designated constraints aren't met.
func (GetSmsPlatformRequestValidationError) Cause ¶
func (e GetSmsPlatformRequestValidationError) Cause() error
Cause function returns cause value.
func (GetSmsPlatformRequestValidationError) Error ¶
func (e GetSmsPlatformRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetSmsPlatformRequestValidationError) ErrorName ¶
func (e GetSmsPlatformRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetSmsPlatformRequestValidationError) Field ¶
func (e GetSmsPlatformRequestValidationError) Field() string
Field function returns field value.
func (GetSmsPlatformRequestValidationError) Key ¶
func (e GetSmsPlatformRequestValidationError) Key() bool
Key function returns key value.
func (GetSmsPlatformRequestValidationError) Reason ¶
func (e GetSmsPlatformRequestValidationError) Reason() string
Reason function returns reason value.
type Platform ¶
type Platform struct {
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
PlatformUrl string `protobuf:"bytes,2,opt,name=platform_url,json=platformUrl,proto3" json:"platform_url,omitempty"`
PlatformFieldDescription map[string]string `` /* 223-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Platform) Descriptor
deprecated
func (*Platform) GetPlatform ¶
func (*Platform) GetPlatformFieldDescription ¶
func (*Platform) GetPlatformUrl ¶
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
func (*Platform) Validate ¶
Validate checks the field values on Platform with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Platform) ValidateAll ¶
ValidateAll checks the field values on Platform with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlatformMultiError, or nil if none found.
type PlatformListData ¶
type PlatformListData struct {
List []*Platform `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*PlatformListData) Descriptor
deprecated
func (*PlatformListData) Descriptor() ([]byte, []int)
Deprecated: Use PlatformListData.ProtoReflect.Descriptor instead.
func (*PlatformListData) GetList ¶
func (x *PlatformListData) GetList() []*Platform
func (*PlatformListData) GetPlatforms ¶
func (x *PlatformListData) GetPlatforms() []*Platform
func (*PlatformListData) ProtoMessage ¶
func (*PlatformListData) ProtoMessage()
func (*PlatformListData) ProtoReflect ¶
func (x *PlatformListData) ProtoReflect() protoreflect.Message
func (*PlatformListData) Reset ¶
func (x *PlatformListData) Reset()
func (*PlatformListData) String ¶
func (x *PlatformListData) String() string
func (*PlatformListData) Validate ¶
func (m *PlatformListData) Validate() error
Validate checks the field values on PlatformListData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlatformListData) ValidateAll ¶
func (m *PlatformListData) ValidateAll() error
ValidateAll checks the field values on PlatformListData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlatformListDataMultiError, or nil if none found.
type PlatformListDataMultiError ¶
type PlatformListDataMultiError []error
PlatformListDataMultiError is an error wrapping multiple validation errors returned by PlatformListData.ValidateAll() if the designated constraints aren't met.
func (PlatformListDataMultiError) AllErrors ¶
func (m PlatformListDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlatformListDataMultiError) Error ¶
func (m PlatformListDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlatformListDataValidationError ¶
type PlatformListDataValidationError struct {
// contains filtered or unexported fields
}
PlatformListDataValidationError is the validation error returned by PlatformListData.Validate if the designated constraints aren't met.
func (PlatformListDataValidationError) Cause ¶
func (e PlatformListDataValidationError) Cause() error
Cause function returns cause value.
func (PlatformListDataValidationError) Error ¶
func (e PlatformListDataValidationError) Error() string
Error satisfies the builtin error interface
func (PlatformListDataValidationError) ErrorName ¶
func (e PlatformListDataValidationError) ErrorName() string
ErrorName returns error name.
func (PlatformListDataValidationError) Field ¶
func (e PlatformListDataValidationError) Field() string
Field function returns field value.
func (PlatformListDataValidationError) Key ¶
func (e PlatformListDataValidationError) Key() bool
Key function returns key value.
func (PlatformListDataValidationError) Reason ¶
func (e PlatformListDataValidationError) Reason() string
Reason function returns reason value.
type PlatformListReply ¶
type PlatformListReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Data *PlatformListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*PlatformListReply) Descriptor
deprecated
func (*PlatformListReply) Descriptor() ([]byte, []int)
Deprecated: Use PlatformListReply.ProtoReflect.Descriptor instead.
func (*PlatformListReply) GetCode ¶
func (x *PlatformListReply) GetCode() int32
func (*PlatformListReply) GetData ¶
func (x *PlatformListReply) GetData() *PlatformListData
func (*PlatformListReply) GetMsg ¶
func (x *PlatformListReply) GetMsg() string
func (*PlatformListReply) ProtoMessage ¶
func (*PlatformListReply) ProtoMessage()
func (*PlatformListReply) ProtoReflect ¶
func (x *PlatformListReply) ProtoReflect() protoreflect.Message
func (*PlatformListReply) Reset ¶
func (x *PlatformListReply) Reset()
func (*PlatformListReply) String ¶
func (x *PlatformListReply) String() string
func (*PlatformListReply) Validate ¶
func (m *PlatformListReply) Validate() error
Validate checks the field values on PlatformListReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PlatformListReply) ValidateAll ¶
func (m *PlatformListReply) ValidateAll() error
ValidateAll checks the field values on PlatformListReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PlatformListReplyMultiError, or nil if none found.
type PlatformListReplyMultiError ¶
type PlatformListReplyMultiError []error
PlatformListReplyMultiError is an error wrapping multiple validation errors returned by PlatformListReply.ValidateAll() if the designated constraints aren't met.
func (PlatformListReplyMultiError) AllErrors ¶
func (m PlatformListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlatformListReplyMultiError) Error ¶
func (m PlatformListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlatformListReplyValidationError ¶
type PlatformListReplyValidationError struct {
// contains filtered or unexported fields
}
PlatformListReplyValidationError is the validation error returned by PlatformListReply.Validate if the designated constraints aren't met.
func (PlatformListReplyValidationError) Cause ¶
func (e PlatformListReplyValidationError) Cause() error
Cause function returns cause value.
func (PlatformListReplyValidationError) Error ¶
func (e PlatformListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PlatformListReplyValidationError) ErrorName ¶
func (e PlatformListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PlatformListReplyValidationError) Field ¶
func (e PlatformListReplyValidationError) Field() string
Field function returns field value.
func (PlatformListReplyValidationError) Key ¶
func (e PlatformListReplyValidationError) Key() bool
Key function returns key value.
func (PlatformListReplyValidationError) Reason ¶
func (e PlatformListReplyValidationError) Reason() string
Reason function returns reason value.
type PlatformMultiError ¶
type PlatformMultiError []error
PlatformMultiError is an error wrapping multiple validation errors returned by Platform.ValidateAll() if the designated constraints aren't met.
func (PlatformMultiError) AllErrors ¶
func (m PlatformMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PlatformMultiError) Error ¶
func (m PlatformMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PlatformValidationError ¶
type PlatformValidationError struct {
// contains filtered or unexported fields
}
PlatformValidationError is the validation error returned by Platform.Validate if the designated constraints aren't met.
func (PlatformValidationError) Cause ¶
func (e PlatformValidationError) Cause() error
Cause function returns cause value.
func (PlatformValidationError) Error ¶
func (e PlatformValidationError) Error() string
Error satisfies the builtin error interface
func (PlatformValidationError) ErrorName ¶
func (e PlatformValidationError) ErrorName() string
ErrorName returns error name.
func (PlatformValidationError) Field ¶
func (e PlatformValidationError) Field() string
Field function returns field value.
func (PlatformValidationError) Key ¶
func (e PlatformValidationError) Key() bool
Key function returns key value.
func (PlatformValidationError) Reason ¶
func (e PlatformValidationError) Reason() string
Reason function returns reason value.
type TestEmailSendRequest ¶
type TestEmailSendRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
func (*TestEmailSendRequest) Descriptor
deprecated
func (*TestEmailSendRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestEmailSendRequest.ProtoReflect.Descriptor instead.
func (*TestEmailSendRequest) GetEmail ¶
func (x *TestEmailSendRequest) GetEmail() string
func (*TestEmailSendRequest) ProtoMessage ¶
func (*TestEmailSendRequest) ProtoMessage()
func (*TestEmailSendRequest) ProtoReflect ¶
func (x *TestEmailSendRequest) ProtoReflect() protoreflect.Message
func (*TestEmailSendRequest) Reset ¶
func (x *TestEmailSendRequest) Reset()
func (*TestEmailSendRequest) String ¶
func (x *TestEmailSendRequest) String() string
func (*TestEmailSendRequest) Validate ¶
func (m *TestEmailSendRequest) Validate() error
Validate checks the field values on TestEmailSendRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TestEmailSendRequest) ValidateAll ¶
func (m *TestEmailSendRequest) ValidateAll() error
ValidateAll checks the field values on TestEmailSendRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TestEmailSendRequestMultiError, or nil if none found.
type TestEmailSendRequestMultiError ¶
type TestEmailSendRequestMultiError []error
TestEmailSendRequestMultiError is an error wrapping multiple validation errors returned by TestEmailSendRequest.ValidateAll() if the designated constraints aren't met.
func (TestEmailSendRequestMultiError) AllErrors ¶
func (m TestEmailSendRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestEmailSendRequestMultiError) Error ¶
func (m TestEmailSendRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestEmailSendRequestValidationError ¶
type TestEmailSendRequestValidationError struct {
// contains filtered or unexported fields
}
TestEmailSendRequestValidationError is the validation error returned by TestEmailSendRequest.Validate if the designated constraints aren't met.
func (TestEmailSendRequestValidationError) Cause ¶
func (e TestEmailSendRequestValidationError) Cause() error
Cause function returns cause value.
func (TestEmailSendRequestValidationError) Error ¶
func (e TestEmailSendRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TestEmailSendRequestValidationError) ErrorName ¶
func (e TestEmailSendRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TestEmailSendRequestValidationError) Field ¶
func (e TestEmailSendRequestValidationError) Field() string
Field function returns field value.
func (TestEmailSendRequestValidationError) Key ¶
func (e TestEmailSendRequestValidationError) Key() bool
Key function returns key value.
func (TestEmailSendRequestValidationError) Reason ¶
func (e TestEmailSendRequestValidationError) Reason() string
Reason function returns reason value.
type TestSendData ¶
func (*TestSendData) GetResultMessage ¶
func (x *TestSendData) GetResultMessage() string
func (*TestSendData) GetSuccess ¶
func (x *TestSendData) GetSuccess() bool
type TestSendReply ¶
type TestSendReply struct {
Code int32
Message string
Data *TestSendData
}
func (*TestSendReply) GetCode ¶
func (x *TestSendReply) GetCode() int32
func (*TestSendReply) GetData ¶
func (x *TestSendReply) GetData() *TestSendData
func (*TestSendReply) GetMessage ¶
func (x *TestSendReply) GetMessage() string
type TestSmsSendRequest ¶
type TestSmsSendRequest struct {
AreaCode string `protobuf:"bytes,1,opt,name=area_code,json=areaCode,proto3" json:"area_code,omitempty"`
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// contains filtered or unexported fields
}
func (*TestSmsSendRequest) Descriptor
deprecated
func (*TestSmsSendRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestSmsSendRequest.ProtoReflect.Descriptor instead.
func (*TestSmsSendRequest) GetAreaCode ¶
func (x *TestSmsSendRequest) GetAreaCode() string
func (*TestSmsSendRequest) GetTelephone ¶
func (x *TestSmsSendRequest) GetTelephone() string
func (*TestSmsSendRequest) ProtoMessage ¶
func (*TestSmsSendRequest) ProtoMessage()
func (*TestSmsSendRequest) ProtoReflect ¶
func (x *TestSmsSendRequest) ProtoReflect() protoreflect.Message
func (*TestSmsSendRequest) Reset ¶
func (x *TestSmsSendRequest) Reset()
func (*TestSmsSendRequest) String ¶
func (x *TestSmsSendRequest) String() string
func (*TestSmsSendRequest) Validate ¶
func (m *TestSmsSendRequest) Validate() error
Validate checks the field values on TestSmsSendRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TestSmsSendRequest) ValidateAll ¶
func (m *TestSmsSendRequest) ValidateAll() error
ValidateAll checks the field values on TestSmsSendRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TestSmsSendRequestMultiError, or nil if none found.
type TestSmsSendRequestMultiError ¶
type TestSmsSendRequestMultiError []error
TestSmsSendRequestMultiError is an error wrapping multiple validation errors returned by TestSmsSendRequest.ValidateAll() if the designated constraints aren't met.
func (TestSmsSendRequestMultiError) AllErrors ¶
func (m TestSmsSendRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TestSmsSendRequestMultiError) Error ¶
func (m TestSmsSendRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TestSmsSendRequestValidationError ¶
type TestSmsSendRequestValidationError struct {
// contains filtered or unexported fields
}
TestSmsSendRequestValidationError is the validation error returned by TestSmsSendRequest.Validate if the designated constraints aren't met.
func (TestSmsSendRequestValidationError) Cause ¶
func (e TestSmsSendRequestValidationError) Cause() error
Cause function returns cause value.
func (TestSmsSendRequestValidationError) Error ¶
func (e TestSmsSendRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TestSmsSendRequestValidationError) ErrorName ¶
func (e TestSmsSendRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TestSmsSendRequestValidationError) Field ¶
func (e TestSmsSendRequestValidationError) Field() string
Field function returns field value.
func (TestSmsSendRequestValidationError) Key ¶
func (e TestSmsSendRequestValidationError) Key() bool
Key function returns key value.
func (TestSmsSendRequestValidationError) Reason ¶
func (e TestSmsSendRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthMethodServiceServer ¶
type UnimplementedAuthMethodServiceServer struct{}
UnimplementedAuthMethodServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthMethodServiceServer) GetAuthMethodConfig ¶
func (UnimplementedAuthMethodServiceServer) GetAuthMethodConfig(context.Context, *GetAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
func (UnimplementedAuthMethodServiceServer) GetAuthMethodList ¶
func (UnimplementedAuthMethodServiceServer) GetAuthMethodList(context.Context, *GetAuthMethodListRequest) (*AuthMethodListReply, error)
func (UnimplementedAuthMethodServiceServer) GetEmailPlatform ¶
func (UnimplementedAuthMethodServiceServer) GetEmailPlatform(context.Context, *GetEmailPlatformRequest) (*PlatformListReply, error)
func (UnimplementedAuthMethodServiceServer) GetSmsPlatform ¶
func (UnimplementedAuthMethodServiceServer) GetSmsPlatform(context.Context, *GetSmsPlatformRequest) (*PlatformListReply, error)
func (UnimplementedAuthMethodServiceServer) TestEmailSend ¶
func (UnimplementedAuthMethodServiceServer) TestEmailSend(context.Context, *TestEmailSendRequest) (*ActionReply, error)
func (UnimplementedAuthMethodServiceServer) TestSmsSend ¶
func (UnimplementedAuthMethodServiceServer) TestSmsSend(context.Context, *TestSmsSendRequest) (*ActionReply, error)
func (UnimplementedAuthMethodServiceServer) UpdateAuthMethodConfig ¶
func (UnimplementedAuthMethodServiceServer) UpdateAuthMethodConfig(context.Context, *UpdateAuthMethodConfigRequest) (*AuthMethodConfigReply, error)
type UnsafeAuthMethodServiceServer ¶
type UnsafeAuthMethodServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthMethodServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthMethodServiceServer will result in compilation errors.
type UpdateAuthMethodConfigRequest ¶
type UpdateAuthMethodConfigRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Config *structpb.Struct `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAuthMethodConfigRequest) Descriptor
deprecated
func (*UpdateAuthMethodConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAuthMethodConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthMethodConfigRequest) GetConfig ¶
func (x *UpdateAuthMethodConfigRequest) GetConfig() *structpb.Struct
func (*UpdateAuthMethodConfigRequest) GetEnabled ¶
func (x *UpdateAuthMethodConfigRequest) GetEnabled() *wrapperspb.BoolValue
func (*UpdateAuthMethodConfigRequest) GetId ¶
func (x *UpdateAuthMethodConfigRequest) GetId() int64
func (*UpdateAuthMethodConfigRequest) GetMethod ¶
func (x *UpdateAuthMethodConfigRequest) GetMethod() string
func (*UpdateAuthMethodConfigRequest) ProtoMessage ¶
func (*UpdateAuthMethodConfigRequest) ProtoMessage()
func (*UpdateAuthMethodConfigRequest) ProtoReflect ¶
func (x *UpdateAuthMethodConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateAuthMethodConfigRequest) Reset ¶
func (x *UpdateAuthMethodConfigRequest) Reset()
func (*UpdateAuthMethodConfigRequest) String ¶
func (x *UpdateAuthMethodConfigRequest) String() string
func (*UpdateAuthMethodConfigRequest) Validate ¶
func (m *UpdateAuthMethodConfigRequest) Validate() error
Validate checks the field values on UpdateAuthMethodConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateAuthMethodConfigRequest) ValidateAll ¶
func (m *UpdateAuthMethodConfigRequest) ValidateAll() error
ValidateAll checks the field values on UpdateAuthMethodConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateAuthMethodConfigRequestMultiError, or nil if none found.
type UpdateAuthMethodConfigRequestMultiError ¶
type UpdateAuthMethodConfigRequestMultiError []error
UpdateAuthMethodConfigRequestMultiError is an error wrapping multiple validation errors returned by UpdateAuthMethodConfigRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateAuthMethodConfigRequestMultiError) AllErrors ¶
func (m UpdateAuthMethodConfigRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAuthMethodConfigRequestMultiError) Error ¶
func (m UpdateAuthMethodConfigRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAuthMethodConfigRequestValidationError ¶
type UpdateAuthMethodConfigRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateAuthMethodConfigRequestValidationError is the validation error returned by UpdateAuthMethodConfigRequest.Validate if the designated constraints aren't met.
func (UpdateAuthMethodConfigRequestValidationError) Cause ¶
func (e UpdateAuthMethodConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateAuthMethodConfigRequestValidationError) Error ¶
func (e UpdateAuthMethodConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAuthMethodConfigRequestValidationError) ErrorName ¶
func (e UpdateAuthMethodConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAuthMethodConfigRequestValidationError) Field ¶
func (e UpdateAuthMethodConfigRequestValidationError) Field() string
Field function returns field value.
func (UpdateAuthMethodConfigRequestValidationError) Key ¶
func (e UpdateAuthMethodConfigRequestValidationError) Key() bool
Key function returns key value.
func (UpdateAuthMethodConfigRequestValidationError) Reason ¶
func (e UpdateAuthMethodConfigRequestValidationError) Reason() string
Reason function returns reason value.