Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorDistributeMasterNodeConfigErr(format string, args ...interface{}) *errors.Error
- func ErrorDistributeProxyNodeConfigErr(format string, args ...interface{}) *errors.Error
- func ErrorDistributeUserErr(format string, args ...interface{}) *errors.Error
- func ErrorEscalationUserErr(format string, args ...interface{}) *errors.Error
- func ErrorGetNodeKeyErr(format string, args ...interface{}) *errors.Error
- func ErrorHandleMethodNotFound(format string, args ...interface{}) *errors.Error
- func ErrorKeyErr(format string, args ...interface{}) *errors.Error
- func ErrorLinkFailure(format string, args ...interface{}) *errors.Error
- func ErrorNodeStatusErr(format string, args ...interface{}) *errors.Error
- func ErrorReqSignErr(format string, args ...interface{}) *errors.Error
- func ErrorSendRequestErr(format string, args ...interface{}) *errors.Error
- func ErrorVerifySignErr(format string, args ...interface{}) *errors.Error
- func IsDistributeMasterNodeConfigErr(err error) bool
- func IsDistributeProxyNodeConfigErr(err error) bool
- func IsDistributeUserErr(err error) bool
- func IsEscalationUserErr(err error) bool
- func IsGetNodeKeyErr(err error) bool
- func IsHandleMethodNotFound(err error) bool
- func IsKeyErr(err error) bool
- func IsLinkFailure(err error) bool
- func IsNodeStatusErr(err error) bool
- func IsReqSignErr(err error) bool
- func IsSendRequestErr(err error) bool
- func IsVerifySignErr(err error) bool
- func RegisterAccessServer(s grpc.ServiceRegistrar, srv AccessServer)
- func RegisterPlatformServer(s grpc.ServiceRegistrar, srv PlatformServer)
- type AccessClient
- type AccessServer
- type CancelAccountReply
- func (*CancelAccountReply) Descriptor() ([]byte, []int)deprecated
- func (*CancelAccountReply) ProtoMessage()
- func (x *CancelAccountReply) ProtoReflect() protoreflect.Message
- func (x *CancelAccountReply) Reset()
- func (x *CancelAccountReply) String() string
- func (m *CancelAccountReply) Validate() error
- func (m *CancelAccountReply) ValidateAll() error
- type CancelAccountReplyMultiError
- type CancelAccountReplyValidationError
- func (e CancelAccountReplyValidationError) Cause() error
- func (e CancelAccountReplyValidationError) Error() string
- func (e CancelAccountReplyValidationError) ErrorName() string
- func (e CancelAccountReplyValidationError) Field() string
- func (e CancelAccountReplyValidationError) Key() bool
- func (e CancelAccountReplyValidationError) Reason() string
- type CancelAccountReq
- func (*CancelAccountReq) Descriptor() ([]byte, []int)deprecated
- func (x *CancelAccountReq) GetUserId() string
- func (*CancelAccountReq) ProtoMessage()
- func (x *CancelAccountReq) ProtoReflect() protoreflect.Message
- func (x *CancelAccountReq) Reset()
- func (x *CancelAccountReq) String() string
- func (m *CancelAccountReq) Validate() error
- func (m *CancelAccountReq) ValidateAll() error
- type CancelAccountReqMultiError
- type CancelAccountReqValidationError
- func (e CancelAccountReqValidationError) Cause() error
- func (e CancelAccountReqValidationError) Error() string
- func (e CancelAccountReqValidationError) ErrorName() string
- func (e CancelAccountReqValidationError) Field() string
- func (e CancelAccountReqValidationError) Key() bool
- func (e CancelAccountReqValidationError) Reason() string
- type DistributeMasterNodeConfigReq
- func (*DistributeMasterNodeConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeMasterNodeConfigReq) GetData() string
- func (x *DistributeMasterNodeConfigReq) GetNodeId() string
- func (*DistributeMasterNodeConfigReq) ProtoMessage()
- func (x *DistributeMasterNodeConfigReq) ProtoReflect() protoreflect.Message
- func (x *DistributeMasterNodeConfigReq) Reset()
- func (x *DistributeMasterNodeConfigReq) String() string
- func (m *DistributeMasterNodeConfigReq) Validate() error
- func (m *DistributeMasterNodeConfigReq) ValidateAll() error
- type DistributeMasterNodeConfigReqMultiError
- type DistributeMasterNodeConfigReqValidationError
- func (e DistributeMasterNodeConfigReqValidationError) Cause() error
- func (e DistributeMasterNodeConfigReqValidationError) Error() string
- func (e DistributeMasterNodeConfigReqValidationError) ErrorName() string
- func (e DistributeMasterNodeConfigReqValidationError) Field() string
- func (e DistributeMasterNodeConfigReqValidationError) Key() bool
- func (e DistributeMasterNodeConfigReqValidationError) Reason() string
- type DistributeMasterNodeReply
- func (*DistributeMasterNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeMasterNodeReply) GetData() *v2.SingedMsg
- func (*DistributeMasterNodeReply) ProtoMessage()
- func (x *DistributeMasterNodeReply) ProtoReflect() protoreflect.Message
- func (x *DistributeMasterNodeReply) Reset()
- func (x *DistributeMasterNodeReply) String() string
- func (m *DistributeMasterNodeReply) Validate() error
- func (m *DistributeMasterNodeReply) ValidateAll() error
- type DistributeMasterNodeReplyMultiError
- type DistributeMasterNodeReplyValidationError
- func (e DistributeMasterNodeReplyValidationError) Cause() error
- func (e DistributeMasterNodeReplyValidationError) Error() string
- func (e DistributeMasterNodeReplyValidationError) ErrorName() string
- func (e DistributeMasterNodeReplyValidationError) Field() string
- func (e DistributeMasterNodeReplyValidationError) Key() bool
- func (e DistributeMasterNodeReplyValidationError) Reason() string
- type DistributeProxyNodeConfigReply
- func (*DistributeProxyNodeConfigReply) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeProxyNodeConfigReply) GetData() *v2.SingedMsg
- func (*DistributeProxyNodeConfigReply) ProtoMessage()
- func (x *DistributeProxyNodeConfigReply) ProtoReflect() protoreflect.Message
- func (x *DistributeProxyNodeConfigReply) Reset()
- func (x *DistributeProxyNodeConfigReply) String() string
- func (m *DistributeProxyNodeConfigReply) Validate() error
- func (m *DistributeProxyNodeConfigReply) ValidateAll() error
- type DistributeProxyNodeConfigReplyMultiError
- type DistributeProxyNodeConfigReplyValidationError
- func (e DistributeProxyNodeConfigReplyValidationError) Cause() error
- func (e DistributeProxyNodeConfigReplyValidationError) Error() string
- func (e DistributeProxyNodeConfigReplyValidationError) ErrorName() string
- func (e DistributeProxyNodeConfigReplyValidationError) Field() string
- func (e DistributeProxyNodeConfigReplyValidationError) Key() bool
- func (e DistributeProxyNodeConfigReplyValidationError) Reason() string
- type DistributeProxyNodeConfigReq
- func (*DistributeProxyNodeConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeProxyNodeConfigReq) GetData() string
- func (x *DistributeProxyNodeConfigReq) GetNodeId() string
- func (x *DistributeProxyNodeConfigReq) GetSign() string
- func (*DistributeProxyNodeConfigReq) ProtoMessage()
- func (x *DistributeProxyNodeConfigReq) ProtoReflect() protoreflect.Message
- func (x *DistributeProxyNodeConfigReq) Reset()
- func (x *DistributeProxyNodeConfigReq) String() string
- func (m *DistributeProxyNodeConfigReq) Validate() error
- func (m *DistributeProxyNodeConfigReq) ValidateAll() error
- type DistributeProxyNodeConfigReqMultiError
- type DistributeProxyNodeConfigReqValidationError
- func (e DistributeProxyNodeConfigReqValidationError) Cause() error
- func (e DistributeProxyNodeConfigReqValidationError) Error() string
- func (e DistributeProxyNodeConfigReqValidationError) ErrorName() string
- func (e DistributeProxyNodeConfigReqValidationError) Field() string
- func (e DistributeProxyNodeConfigReqValidationError) Key() bool
- func (e DistributeProxyNodeConfigReqValidationError) Reason() string
- type DistributeUserReply
- func (*DistributeUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeUserReply) GetData() *v2.SingedMsg
- func (*DistributeUserReply) ProtoMessage()
- func (x *DistributeUserReply) ProtoReflect() protoreflect.Message
- func (x *DistributeUserReply) Reset()
- func (x *DistributeUserReply) String() string
- func (m *DistributeUserReply) Validate() error
- func (m *DistributeUserReply) ValidateAll() error
- type DistributeUserReplyMultiError
- type DistributeUserReplyValidationError
- func (e DistributeUserReplyValidationError) Cause() error
- func (e DistributeUserReplyValidationError) Error() string
- func (e DistributeUserReplyValidationError) ErrorName() string
- func (e DistributeUserReplyValidationError) Field() string
- func (e DistributeUserReplyValidationError) Key() bool
- func (e DistributeUserReplyValidationError) Reason() string
- type DistributeUserReq
- func (*DistributeUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *DistributeUserReq) GetData() string
- func (x *DistributeUserReq) GetNodeId() string
- func (x *DistributeUserReq) GetSign() string
- func (*DistributeUserReq) ProtoMessage()
- func (x *DistributeUserReq) ProtoReflect() protoreflect.Message
- func (x *DistributeUserReq) Reset()
- func (x *DistributeUserReq) String() string
- func (m *DistributeUserReq) Validate() error
- func (m *DistributeUserReq) ValidateAll() error
- type DistributeUserReqMultiError
- type DistributeUserReqValidationError
- func (e DistributeUserReqValidationError) Cause() error
- func (e DistributeUserReqValidationError) Error() string
- func (e DistributeUserReqValidationError) ErrorName() string
- func (e DistributeUserReqValidationError) Field() string
- func (e DistributeUserReqValidationError) Key() bool
- func (e DistributeUserReqValidationError) Reason() string
- type ErrorAccessReason
- func (ErrorAccessReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorAccessReason) Enum() *ErrorAccessReason
- func (ErrorAccessReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorAccessReason) Number() protoreflect.EnumNumber
- func (x ErrorAccessReason) String() string
- func (ErrorAccessReason) Type() protoreflect.EnumType
- type ErrorPlatformReason
- func (ErrorPlatformReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorPlatformReason) Enum() *ErrorPlatformReason
- func (ErrorPlatformReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorPlatformReason) Number() protoreflect.EnumNumber
- func (x ErrorPlatformReason) String() string
- func (ErrorPlatformReason) Type() protoreflect.EnumType
- type EscalationUserReply
- func (*EscalationUserReply) Descriptor() ([]byte, []int)deprecated
- func (*EscalationUserReply) ProtoMessage()
- func (x *EscalationUserReply) ProtoReflect() protoreflect.Message
- func (x *EscalationUserReply) Reset()
- func (x *EscalationUserReply) String() string
- func (m *EscalationUserReply) Validate() error
- func (m *EscalationUserReply) ValidateAll() error
- type EscalationUserReplyMultiError
- type EscalationUserReplyValidationError
- func (e EscalationUserReplyValidationError) Cause() error
- func (e EscalationUserReplyValidationError) Error() string
- func (e EscalationUserReplyValidationError) ErrorName() string
- func (e EscalationUserReplyValidationError) Field() string
- func (e EscalationUserReplyValidationError) Key() bool
- func (e EscalationUserReplyValidationError) Reason() string
- type EscalationUserReq
- func (*EscalationUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *EscalationUserReq) GetNodeId() string
- func (x *EscalationUserReq) GetUserId() string
- func (*EscalationUserReq) ProtoMessage()
- func (x *EscalationUserReq) ProtoReflect() protoreflect.Message
- func (x *EscalationUserReq) Reset()
- func (x *EscalationUserReq) String() string
- func (m *EscalationUserReq) Validate() error
- func (m *EscalationUserReq) ValidateAll() error
- type EscalationUserReqMultiError
- type EscalationUserReqValidationError
- func (e EscalationUserReqValidationError) Cause() error
- func (e EscalationUserReqValidationError) Error() string
- func (e EscalationUserReqValidationError) ErrorName() string
- func (e EscalationUserReqValidationError) Field() string
- func (e EscalationUserReqValidationError) Key() bool
- func (e EscalationUserReqValidationError) Reason() string
- type GetNodeFunctionReply
- func (*GetNodeFunctionReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeFunctionReply) GetFunctions() []string
- func (*GetNodeFunctionReply) ProtoMessage()
- func (x *GetNodeFunctionReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeFunctionReply) Reset()
- func (x *GetNodeFunctionReply) String() string
- func (m *GetNodeFunctionReply) Validate() error
- func (m *GetNodeFunctionReply) ValidateAll() error
- type GetNodeFunctionReplyMultiError
- type GetNodeFunctionReplyValidationError
- func (e GetNodeFunctionReplyValidationError) Cause() error
- func (e GetNodeFunctionReplyValidationError) Error() string
- func (e GetNodeFunctionReplyValidationError) ErrorName() string
- func (e GetNodeFunctionReplyValidationError) Field() string
- func (e GetNodeFunctionReplyValidationError) Key() bool
- func (e GetNodeFunctionReplyValidationError) Reason() string
- type GetNodeKeyReply
- func (*GetNodeKeyReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeKeyReply) GetPriKey() string
- func (*GetNodeKeyReply) ProtoMessage()
- func (x *GetNodeKeyReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeKeyReply) Reset()
- func (x *GetNodeKeyReply) String() string
- func (m *GetNodeKeyReply) Validate() error
- func (m *GetNodeKeyReply) ValidateAll() error
- type GetNodeKeyReplyMultiError
- type GetNodeKeyReplyValidationError
- func (e GetNodeKeyReplyValidationError) Cause() error
- func (e GetNodeKeyReplyValidationError) Error() string
- func (e GetNodeKeyReplyValidationError) ErrorName() string
- func (e GetNodeKeyReplyValidationError) Field() string
- func (e GetNodeKeyReplyValidationError) Key() bool
- func (e GetNodeKeyReplyValidationError) Reason() string
- type GetNodeStatusReply
- func (*GetNodeStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeStatusReply) GetEnable() bool
- func (x *GetNodeStatusReply) GetReason() string
- func (*GetNodeStatusReply) ProtoMessage()
- func (x *GetNodeStatusReply) ProtoReflect() protoreflect.Message
- func (x *GetNodeStatusReply) Reset()
- func (x *GetNodeStatusReply) String() string
- func (m *GetNodeStatusReply) Validate() error
- func (m *GetNodeStatusReply) ValidateAll() error
- type GetNodeStatusReplyMultiError
- type GetNodeStatusReplyValidationError
- func (e GetNodeStatusReplyValidationError) Cause() error
- func (e GetNodeStatusReplyValidationError) Error() string
- func (e GetNodeStatusReplyValidationError) ErrorName() string
- func (e GetNodeStatusReplyValidationError) Field() string
- func (e GetNodeStatusReplyValidationError) Key() bool
- func (e GetNodeStatusReplyValidationError) Reason() string
- type GetNodeStatusReq
- func (*GetNodeStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeStatusReq) GetTenantId() string
- func (*GetNodeStatusReq) ProtoMessage()
- func (x *GetNodeStatusReq) ProtoReflect() protoreflect.Message
- func (x *GetNodeStatusReq) Reset()
- func (x *GetNodeStatusReq) String() string
- func (m *GetNodeStatusReq) Validate() error
- func (m *GetNodeStatusReq) ValidateAll() error
- type GetNodeStatusReqMultiError
- type GetNodeStatusReqValidationError
- func (e GetNodeStatusReqValidationError) Cause() error
- func (e GetNodeStatusReqValidationError) Error() string
- func (e GetNodeStatusReqValidationError) ErrorName() string
- func (e GetNodeStatusReqValidationError) Field() string
- func (e GetNodeStatusReqValidationError) Key() bool
- func (e GetNodeStatusReqValidationError) Reason() string
- type PlatformClient
- type PlatformServer
- type ReceiveReply
- func (*ReceiveReply) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveReply) GetData() string
- func (x *ReceiveReply) GetSign() string
- func (*ReceiveReply) ProtoMessage()
- func (x *ReceiveReply) ProtoReflect() protoreflect.Message
- func (x *ReceiveReply) Reset()
- func (x *ReceiveReply) String() string
- func (m *ReceiveReply) Validate() error
- func (m *ReceiveReply) ValidateAll() error
- type ReceiveReplyMultiError
- type ReceiveReplyValidationError
- func (e ReceiveReplyValidationError) Cause() error
- func (e ReceiveReplyValidationError) Error() string
- func (e ReceiveReplyValidationError) ErrorName() string
- func (e ReceiveReplyValidationError) Field() string
- func (e ReceiveReplyValidationError) Key() bool
- func (e ReceiveReplyValidationError) Reason() string
- type ReceiveReq
- func (*ReceiveReq) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveReq) GetData() string
- func (x *ReceiveReq) GetMethod() string
- func (x *ReceiveReq) GetSign() string
- func (*ReceiveReq) ProtoMessage()
- func (x *ReceiveReq) ProtoReflect() protoreflect.Message
- func (x *ReceiveReq) Reset()
- func (x *ReceiveReq) String() string
- func (m *ReceiveReq) Validate() error
- func (m *ReceiveReq) ValidateAll() error
- type ReceiveReqMultiError
- type ReceiveReqValidationError
- type SendReply
- func (*SendReply) Descriptor() ([]byte, []int)deprecated
- func (x *SendReply) GetData() []byte
- func (*SendReply) ProtoMessage()
- func (x *SendReply) ProtoReflect() protoreflect.Message
- func (x *SendReply) Reset()
- func (x *SendReply) String() string
- func (m *SendReply) Validate() error
- func (m *SendReply) ValidateAll() error
- type SendReplyMultiError
- type SendReplyValidationError
- type SendReq
- func (*SendReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendReq) GetData() []byte
- func (x *SendReq) GetMethod() string
- func (*SendReq) ProtoMessage()
- func (x *SendReq) ProtoReflect() protoreflect.Message
- func (x *SendReq) Reset()
- func (x *SendReq) String() string
- func (m *SendReq) Validate() error
- func (m *SendReq) ValidateAll() error
- type SendReqMultiError
- type SendReqValidationError
- type TenantApplyItem
- func (*TenantApplyItem) Descriptor() ([]byte, []int)deprecated
- func (x *TenantApplyItem) GetApplyType() int32
- func (x *TenantApplyItem) GetAssociatedUsersID() string
- func (x *TenantApplyItem) GetCreatedAt() int64
- func (x *TenantApplyItem) GetEndTime() int64
- func (x *TenantApplyItem) GetHandleReason() string
- func (x *TenantApplyItem) GetHandleResult() uint32
- func (x *TenantApplyItem) GetHandleUserId() string
- func (x *TenantApplyItem) GetId() string
- func (x *TenantApplyItem) GetMaxGroupNumber() int64
- func (x *TenantApplyItem) GetMaxNumber() int64
- func (x *TenantApplyItem) GetNodeId() string
- func (x *TenantApplyItem) GetPackageType() string
- func (x *TenantApplyItem) GetPhone() string
- func (x *TenantApplyItem) GetStartTime() int64
- func (x *TenantApplyItem) GetUpdatedAt() int64
- func (*TenantApplyItem) ProtoMessage()
- func (x *TenantApplyItem) ProtoReflect() protoreflect.Message
- func (x *TenantApplyItem) Reset()
- func (x *TenantApplyItem) String() string
- func (m *TenantApplyItem) Validate() error
- func (m *TenantApplyItem) ValidateAll() error
- type TenantApplyItemMultiError
- type TenantApplyItemValidationError
- func (e TenantApplyItemValidationError) Cause() error
- func (e TenantApplyItemValidationError) Error() string
- func (e TenantApplyItemValidationError) ErrorName() string
- func (e TenantApplyItemValidationError) Field() string
- func (e TenantApplyItemValidationError) Key() bool
- func (e TenantApplyItemValidationError) Reason() string
- type TenantApplyListReply
- func (*TenantApplyListReply) Descriptor() ([]byte, []int)deprecated
- func (x *TenantApplyListReply) GetList() []*TenantApplyItem
- func (x *TenantApplyListReply) GetTotal() int64
- func (*TenantApplyListReply) ProtoMessage()
- func (x *TenantApplyListReply) ProtoReflect() protoreflect.Message
- func (x *TenantApplyListReply) Reset()
- func (x *TenantApplyListReply) String() string
- func (m *TenantApplyListReply) Validate() error
- func (m *TenantApplyListReply) ValidateAll() error
- type TenantApplyListReplyMultiError
- type TenantApplyListReplyValidationError
- func (e TenantApplyListReplyValidationError) Cause() error
- func (e TenantApplyListReplyValidationError) Error() string
- func (e TenantApplyListReplyValidationError) ErrorName() string
- func (e TenantApplyListReplyValidationError) Field() string
- func (e TenantApplyListReplyValidationError) Key() bool
- func (e TenantApplyListReplyValidationError) Reason() string
- type UnimplementedAccessServer
- type UnimplementedPlatformServer
- func (UnimplementedPlatformServer) CancelAccount(context.Context, *CancelAccountReq) (*CancelAccountReply, error)
- func (UnimplementedPlatformServer) DistributeMasterNodeConfig(context.Context, *DistributeMasterNodeConfigReq) (*DistributeMasterNodeReply, error)
- func (UnimplementedPlatformServer) DistributeProxyNodeConfig(context.Context, *DistributeProxyNodeConfigReq) (*DistributeProxyNodeConfigReply, error)
- func (UnimplementedPlatformServer) DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error)
- func (UnimplementedPlatformServer) EscalationUser(context.Context, *EscalationUserReq) (*EscalationUserReply, error)
- func (UnimplementedPlatformServer) GetNodeFunction(context.Context, *emptypb.Empty) (*GetNodeFunctionReply, error)
- func (UnimplementedPlatformServer) GetNodeKey(context.Context, *emptypb.Empty) (*GetNodeKeyReply, error)
- func (UnimplementedPlatformServer) GetNodeStatus(context.Context, *GetNodeStatusReq) (*GetNodeStatusReply, error)
- func (UnimplementedPlatformServer) UpdateCenterUserPassword(context.Context, *UpdateCenterUserPasswordReq) (*UpdateCenterUserPasswordReply, error)
- type UnsafeAccessServer
- type UnsafePlatformServer
- type UpdateCenterUserPasswordReply
- func (*UpdateCenterUserPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCenterUserPasswordReply) ProtoMessage()
- func (x *UpdateCenterUserPasswordReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCenterUserPasswordReply) Reset()
- func (x *UpdateCenterUserPasswordReply) String() string
- func (m *UpdateCenterUserPasswordReply) Validate() error
- func (m *UpdateCenterUserPasswordReply) ValidateAll() error
- type UpdateCenterUserPasswordReplyMultiError
- type UpdateCenterUserPasswordReplyValidationError
- func (e UpdateCenterUserPasswordReplyValidationError) Cause() error
- func (e UpdateCenterUserPasswordReplyValidationError) Error() string
- func (e UpdateCenterUserPasswordReplyValidationError) ErrorName() string
- func (e UpdateCenterUserPasswordReplyValidationError) Field() string
- func (e UpdateCenterUserPasswordReplyValidationError) Key() bool
- func (e UpdateCenterUserPasswordReplyValidationError) Reason() string
- type UpdateCenterUserPasswordReq
- func (*UpdateCenterUserPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCenterUserPasswordReq) GetPassword() string
- func (x *UpdateCenterUserPasswordReq) GetUserId() string
- func (*UpdateCenterUserPasswordReq) ProtoMessage()
- func (x *UpdateCenterUserPasswordReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCenterUserPasswordReq) Reset()
- func (x *UpdateCenterUserPasswordReq) String() string
- func (m *UpdateCenterUserPasswordReq) Validate() error
- func (m *UpdateCenterUserPasswordReq) ValidateAll() error
- type UpdateCenterUserPasswordReqMultiError
- type UpdateCenterUserPasswordReqValidationError
- func (e UpdateCenterUserPasswordReqValidationError) Cause() error
- func (e UpdateCenterUserPasswordReqValidationError) Error() string
- func (e UpdateCenterUserPasswordReqValidationError) ErrorName() string
- func (e UpdateCenterUserPasswordReqValidationError) Field() string
- func (e UpdateCenterUserPasswordReqValidationError) Key() bool
- func (e UpdateCenterUserPasswordReqValidationError) Reason() string
- type WebsiteConfig
- func (*WebsiteConfig) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteConfig) GetId() int64
- func (x *WebsiteConfig) GetMaxDayAlive() int64
- func (x *WebsiteConfig) GetMaxGroupNum() int64
- func (x *WebsiteConfig) GetMaxUserNum() int64
- func (x *WebsiteConfig) GetNodeId() string
- func (x *WebsiteConfig) GetPackageName() string
- func (x *WebsiteConfig) GetPackagePrice() float32
- func (x *WebsiteConfig) GetPurchaseDuration() int64
- func (*WebsiteConfig) ProtoMessage()
- func (x *WebsiteConfig) ProtoReflect() protoreflect.Message
- func (x *WebsiteConfig) Reset()
- func (x *WebsiteConfig) String() string
- func (m *WebsiteConfig) Validate() error
- func (m *WebsiteConfig) ValidateAll() error
- type WebsiteConfigMultiError
- type WebsiteConfigValidationError
- func (e WebsiteConfigValidationError) Cause() error
- func (e WebsiteConfigValidationError) Error() string
- func (e WebsiteConfigValidationError) ErrorName() string
- func (e WebsiteConfigValidationError) Field() string
- func (e WebsiteConfigValidationError) Key() bool
- func (e WebsiteConfigValidationError) Reason() string
Constants ¶
const ( Access_SendRequest_FullMethodName = "/api.im_cloud.access.v2.Access/SendRequest" Access_ReceiveRequest_FullMethodName = "/api.im_cloud.access.v2.Access/ReceiveRequest" )
const ( Platform_DistributeMasterNodeConfig_FullMethodName = "/api.im_cloud.access.v2.Platform/DistributeMasterNodeConfig" Platform_DistributeProxyNodeConfig_FullMethodName = "/api.im_cloud.access.v2.Platform/DistributeProxyNodeConfig" Platform_GetNodeKey_FullMethodName = "/api.im_cloud.access.v2.Platform/GetNodeKey" Platform_GetNodeStatus_FullMethodName = "/api.im_cloud.access.v2.Platform/GetNodeStatus" Platform_GetNodeFunction_FullMethodName = "/api.im_cloud.access.v2.Platform/GetNodeFunction" Platform_DistributeUser_FullMethodName = "/api.im_cloud.access.v2.Platform/DistributeUser" Platform_EscalationUser_FullMethodName = "/api.im_cloud.access.v2.Platform/EscalationUser" Platform_UpdateCenterUserPassword_FullMethodName = "/api.im_cloud.access.v2.Platform/UpdateCenterUserPassword" Platform_CancelAccount_FullMethodName = "/api.im_cloud.access.v2.Platform/CancelAccount" )
Variables ¶
var ( ErrorAccessReason_name = map[int32]string{ 0: "SEND_REQUEST_ERR", 2: "KEY_ERR", 3: "LINK_FAILURE", 4: "VERIFY_SIGN_ERR", 5: "REQ_SIGN_ERR", 6: "HANDLE_METHOD_NOT_FOUND", } ErrorAccessReason_value = map[string]int32{ "SEND_REQUEST_ERR": 0, "KEY_ERR": 2, "LINK_FAILURE": 3, "VERIFY_SIGN_ERR": 4, "REQ_SIGN_ERR": 5, "HANDLE_METHOD_NOT_FOUND": 6, } )
Enum value maps for ErrorAccessReason.
var ( ErrorPlatformReason_name = map[int32]string{ 0: "GET_NODE_KEY_ERR", 1: "DISTRIBUTE_MASTER_NODE_CONFIG_ERR", 2: "DISTRIBUTE_PROXY_NODE_CONFIG_ERR", 3: "NODE_STATUS_ERR", 4: "DISTRIBUTE_USER_ERR", 5: "ESCALATION_USER_ERR", } ErrorPlatformReason_value = map[string]int32{ "GET_NODE_KEY_ERR": 0, "DISTRIBUTE_MASTER_NODE_CONFIG_ERR": 1, "DISTRIBUTE_PROXY_NODE_CONFIG_ERR": 2, "NODE_STATUS_ERR": 3, "DISTRIBUTE_USER_ERR": 4, "ESCALATION_USER_ERR": 5, } )
Enum value maps for ErrorPlatformReason.
var Access_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.im_cloud.access.v2.Access", HandlerType: (*AccessServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendRequest", Handler: _Access_SendRequest_Handler, }, { MethodName: "ReceiveRequest", Handler: _Access_ReceiveRequest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "im_cloud/access/v1/access.proto", }
Access_ServiceDesc is the grpc.ServiceDesc for Access service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_im_cloud_access_v1_access_error_proto protoreflect.FileDescriptor
var File_api_im_cloud_access_v1_platform_error_proto protoreflect.FileDescriptor
var File_im_cloud_access_v1_access_proto protoreflect.FileDescriptor
var File_im_cloud_access_v1_platform_proto protoreflect.FileDescriptor
var Platform_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.im_cloud.access.v2.Platform", HandlerType: (*PlatformServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DistributeMasterNodeConfig", Handler: _Platform_DistributeMasterNodeConfig_Handler, }, { MethodName: "DistributeProxyNodeConfig", Handler: _Platform_DistributeProxyNodeConfig_Handler, }, { MethodName: "GetNodeKey", Handler: _Platform_GetNodeKey_Handler, }, { MethodName: "GetNodeStatus", Handler: _Platform_GetNodeStatus_Handler, }, { MethodName: "GetNodeFunction", Handler: _Platform_GetNodeFunction_Handler, }, { MethodName: "DistributeUser", Handler: _Platform_DistributeUser_Handler, }, { MethodName: "EscalationUser", Handler: _Platform_EscalationUser_Handler, }, { MethodName: "UpdateCenterUserPassword", Handler: _Platform_UpdateCenterUserPassword_Handler, }, { MethodName: "CancelAccount", Handler: _Platform_CancelAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "im_cloud/access/v1/platform.proto", }
Platform_ServiceDesc is the grpc.ServiceDesc for Platform service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorDistributeMasterNodeConfigErr ¶
下发主节点信息失败
func ErrorDistributeProxyNodeConfigErr ¶
下发代理节点信息失败
func ErrorDistributeUserErr ¶
下发用户失败
func ErrorEscalationUserErr ¶
上报用户失败
func ErrorGetNodeKeyErr ¶
获取密钥失败
func ErrorHandleMethodNotFound ¶
处理函数不不存在
func ErrorKeyErr ¶
func ErrorLinkFailure ¶
链接异常
func ErrorNodeStatusErr ¶
获取节点状态失败
func ErrorSendRequestErr ¶
发送请求失败
func ErrorVerifySignErr ¶
验证签名失败
func IsDistributeMasterNodeConfigErr ¶
下发主节点信息失败
func IsDistributeProxyNodeConfigErr ¶
下发代理节点信息失败
func RegisterAccessServer ¶
func RegisterAccessServer(s grpc.ServiceRegistrar, srv AccessServer)
func RegisterPlatformServer ¶
func RegisterPlatformServer(s grpc.ServiceRegistrar, srv PlatformServer)
Types ¶
type AccessClient ¶
type AccessClient interface { // 发送请求信息 SendRequest(ctx context.Context, in *SendReq, opts ...grpc.CallOption) (*SendReply, error) // 接收请求信息 ReceiveRequest(ctx context.Context, in *ReceiveReq, opts ...grpc.CallOption) (*ReceiveReply, error) }
AccessClient is the client API for Access 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 NewAccessClient ¶
func NewAccessClient(cc grpc.ClientConnInterface) AccessClient
type AccessServer ¶
type AccessServer interface { // 发送请求信息 SendRequest(context.Context, *SendReq) (*SendReply, error) // 接收请求信息 ReceiveRequest(context.Context, *ReceiveReq) (*ReceiveReply, error) // contains filtered or unexported methods }
AccessServer is the server API for Access service. All implementations must embed UnimplementedAccessServer for forward compatibility
type CancelAccountReply ¶
type CancelAccountReply struct {
// contains filtered or unexported fields
}
func (*CancelAccountReply) Descriptor
deprecated
func (*CancelAccountReply) Descriptor() ([]byte, []int)
Deprecated: Use CancelAccountReply.ProtoReflect.Descriptor instead.
func (*CancelAccountReply) ProtoMessage ¶
func (*CancelAccountReply) ProtoMessage()
func (*CancelAccountReply) ProtoReflect ¶
func (x *CancelAccountReply) ProtoReflect() protoreflect.Message
func (*CancelAccountReply) Reset ¶
func (x *CancelAccountReply) Reset()
func (*CancelAccountReply) String ¶
func (x *CancelAccountReply) String() string
func (*CancelAccountReply) Validate ¶
func (m *CancelAccountReply) Validate() error
Validate checks the field values on CancelAccountReply 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 (*CancelAccountReply) ValidateAll ¶
func (m *CancelAccountReply) ValidateAll() error
ValidateAll checks the field values on CancelAccountReply 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 CancelAccountReplyMultiError, or nil if none found.
type CancelAccountReplyMultiError ¶
type CancelAccountReplyMultiError []error
CancelAccountReplyMultiError is an error wrapping multiple validation errors returned by CancelAccountReply.ValidateAll() if the designated constraints aren't met.
func (CancelAccountReplyMultiError) AllErrors ¶
func (m CancelAccountReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelAccountReplyMultiError) Error ¶
func (m CancelAccountReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelAccountReplyValidationError ¶
type CancelAccountReplyValidationError struct {
// contains filtered or unexported fields
}
CancelAccountReplyValidationError is the validation error returned by CancelAccountReply.Validate if the designated constraints aren't met.
func (CancelAccountReplyValidationError) Cause ¶
func (e CancelAccountReplyValidationError) Cause() error
Cause function returns cause value.
func (CancelAccountReplyValidationError) Error ¶
func (e CancelAccountReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CancelAccountReplyValidationError) ErrorName ¶
func (e CancelAccountReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CancelAccountReplyValidationError) Field ¶
func (e CancelAccountReplyValidationError) Field() string
Field function returns field value.
func (CancelAccountReplyValidationError) Key ¶
func (e CancelAccountReplyValidationError) Key() bool
Key function returns key value.
func (CancelAccountReplyValidationError) Reason ¶
func (e CancelAccountReplyValidationError) Reason() string
Reason function returns reason value.
type CancelAccountReq ¶
type CancelAccountReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID // contains filtered or unexported fields }
注销账号 -------------------------------------------
func (*CancelAccountReq) Descriptor
deprecated
func (*CancelAccountReq) Descriptor() ([]byte, []int)
Deprecated: Use CancelAccountReq.ProtoReflect.Descriptor instead.
func (*CancelAccountReq) GetUserId ¶
func (x *CancelAccountReq) GetUserId() string
func (*CancelAccountReq) ProtoMessage ¶
func (*CancelAccountReq) ProtoMessage()
func (*CancelAccountReq) ProtoReflect ¶
func (x *CancelAccountReq) ProtoReflect() protoreflect.Message
func (*CancelAccountReq) Reset ¶
func (x *CancelAccountReq) Reset()
func (*CancelAccountReq) String ¶
func (x *CancelAccountReq) String() string
func (*CancelAccountReq) Validate ¶
func (m *CancelAccountReq) Validate() error
Validate checks the field values on CancelAccountReq 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 (*CancelAccountReq) ValidateAll ¶
func (m *CancelAccountReq) ValidateAll() error
ValidateAll checks the field values on CancelAccountReq 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 CancelAccountReqMultiError, or nil if none found.
type CancelAccountReqMultiError ¶
type CancelAccountReqMultiError []error
CancelAccountReqMultiError is an error wrapping multiple validation errors returned by CancelAccountReq.ValidateAll() if the designated constraints aren't met.
func (CancelAccountReqMultiError) AllErrors ¶
func (m CancelAccountReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelAccountReqMultiError) Error ¶
func (m CancelAccountReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelAccountReqValidationError ¶
type CancelAccountReqValidationError struct {
// contains filtered or unexported fields
}
CancelAccountReqValidationError is the validation error returned by CancelAccountReq.Validate if the designated constraints aren't met.
func (CancelAccountReqValidationError) Cause ¶
func (e CancelAccountReqValidationError) Cause() error
Cause function returns cause value.
func (CancelAccountReqValidationError) Error ¶
func (e CancelAccountReqValidationError) Error() string
Error satisfies the builtin error interface
func (CancelAccountReqValidationError) ErrorName ¶
func (e CancelAccountReqValidationError) ErrorName() string
ErrorName returns error name.
func (CancelAccountReqValidationError) Field ¶
func (e CancelAccountReqValidationError) Field() string
Field function returns field value.
func (CancelAccountReqValidationError) Key ¶
func (e CancelAccountReqValidationError) Key() bool
Key function returns key value.
func (CancelAccountReqValidationError) Reason ¶
func (e CancelAccountReqValidationError) Reason() string
Reason function returns reason value.
type DistributeMasterNodeConfigReq ¶
type DistributeMasterNodeConfigReq struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据 使用解密后的 aes 密钥进行解密 NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id // contains filtered or unexported fields }
主节点下发节点配置 -------------------------------------------
func (*DistributeMasterNodeConfigReq) Descriptor
deprecated
func (*DistributeMasterNodeConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use DistributeMasterNodeConfigReq.ProtoReflect.Descriptor instead.
func (*DistributeMasterNodeConfigReq) GetData ¶
func (x *DistributeMasterNodeConfigReq) GetData() string
func (*DistributeMasterNodeConfigReq) GetNodeId ¶
func (x *DistributeMasterNodeConfigReq) GetNodeId() string
func (*DistributeMasterNodeConfigReq) ProtoMessage ¶
func (*DistributeMasterNodeConfigReq) ProtoMessage()
func (*DistributeMasterNodeConfigReq) ProtoReflect ¶
func (x *DistributeMasterNodeConfigReq) ProtoReflect() protoreflect.Message
func (*DistributeMasterNodeConfigReq) Reset ¶
func (x *DistributeMasterNodeConfigReq) Reset()
func (*DistributeMasterNodeConfigReq) String ¶
func (x *DistributeMasterNodeConfigReq) String() string
func (*DistributeMasterNodeConfigReq) Validate ¶
func (m *DistributeMasterNodeConfigReq) Validate() error
Validate checks the field values on DistributeMasterNodeConfigReq 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 (*DistributeMasterNodeConfigReq) ValidateAll ¶
func (m *DistributeMasterNodeConfigReq) ValidateAll() error
ValidateAll checks the field values on DistributeMasterNodeConfigReq 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 DistributeMasterNodeConfigReqMultiError, or nil if none found.
type DistributeMasterNodeConfigReqMultiError ¶
type DistributeMasterNodeConfigReqMultiError []error
DistributeMasterNodeConfigReqMultiError is an error wrapping multiple validation errors returned by DistributeMasterNodeConfigReq.ValidateAll() if the designated constraints aren't met.
func (DistributeMasterNodeConfigReqMultiError) AllErrors ¶
func (m DistributeMasterNodeConfigReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeMasterNodeConfigReqMultiError) Error ¶
func (m DistributeMasterNodeConfigReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeMasterNodeConfigReqValidationError ¶
type DistributeMasterNodeConfigReqValidationError struct {
// contains filtered or unexported fields
}
DistributeMasterNodeConfigReqValidationError is the validation error returned by DistributeMasterNodeConfigReq.Validate if the designated constraints aren't met.
func (DistributeMasterNodeConfigReqValidationError) Cause ¶
func (e DistributeMasterNodeConfigReqValidationError) Cause() error
Cause function returns cause value.
func (DistributeMasterNodeConfigReqValidationError) Error ¶
func (e DistributeMasterNodeConfigReqValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeMasterNodeConfigReqValidationError) ErrorName ¶
func (e DistributeMasterNodeConfigReqValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeMasterNodeConfigReqValidationError) Field ¶
func (e DistributeMasterNodeConfigReqValidationError) Field() string
Field function returns field value.
func (DistributeMasterNodeConfigReqValidationError) Key ¶
func (e DistributeMasterNodeConfigReqValidationError) Key() bool
Key function returns key value.
func (DistributeMasterNodeConfigReqValidationError) Reason ¶
func (e DistributeMasterNodeConfigReqValidationError) Reason() string
Reason function returns reason value.
type DistributeMasterNodeReply ¶
type DistributeMasterNodeReply struct { Data *v2.SingedMsg `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 签名 // contains filtered or unexported fields }
func (*DistributeMasterNodeReply) Descriptor
deprecated
func (*DistributeMasterNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use DistributeMasterNodeReply.ProtoReflect.Descriptor instead.
func (*DistributeMasterNodeReply) GetData ¶
func (x *DistributeMasterNodeReply) GetData() *v2.SingedMsg
func (*DistributeMasterNodeReply) ProtoMessage ¶
func (*DistributeMasterNodeReply) ProtoMessage()
func (*DistributeMasterNodeReply) ProtoReflect ¶
func (x *DistributeMasterNodeReply) ProtoReflect() protoreflect.Message
func (*DistributeMasterNodeReply) Reset ¶
func (x *DistributeMasterNodeReply) Reset()
func (*DistributeMasterNodeReply) String ¶
func (x *DistributeMasterNodeReply) String() string
func (*DistributeMasterNodeReply) Validate ¶
func (m *DistributeMasterNodeReply) Validate() error
Validate checks the field values on DistributeMasterNodeReply 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 (*DistributeMasterNodeReply) ValidateAll ¶
func (m *DistributeMasterNodeReply) ValidateAll() error
ValidateAll checks the field values on DistributeMasterNodeReply 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 DistributeMasterNodeReplyMultiError, or nil if none found.
type DistributeMasterNodeReplyMultiError ¶
type DistributeMasterNodeReplyMultiError []error
DistributeMasterNodeReplyMultiError is an error wrapping multiple validation errors returned by DistributeMasterNodeReply.ValidateAll() if the designated constraints aren't met.
func (DistributeMasterNodeReplyMultiError) AllErrors ¶
func (m DistributeMasterNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeMasterNodeReplyMultiError) Error ¶
func (m DistributeMasterNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeMasterNodeReplyValidationError ¶
type DistributeMasterNodeReplyValidationError struct {
// contains filtered or unexported fields
}
DistributeMasterNodeReplyValidationError is the validation error returned by DistributeMasterNodeReply.Validate if the designated constraints aren't met.
func (DistributeMasterNodeReplyValidationError) Cause ¶
func (e DistributeMasterNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (DistributeMasterNodeReplyValidationError) Error ¶
func (e DistributeMasterNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeMasterNodeReplyValidationError) ErrorName ¶
func (e DistributeMasterNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeMasterNodeReplyValidationError) Field ¶
func (e DistributeMasterNodeReplyValidationError) Field() string
Field function returns field value.
func (DistributeMasterNodeReplyValidationError) Key ¶
func (e DistributeMasterNodeReplyValidationError) Key() bool
Key function returns key value.
func (DistributeMasterNodeReplyValidationError) Reason ¶
func (e DistributeMasterNodeReplyValidationError) Reason() string
Reason function returns reason value.
type DistributeProxyNodeConfigReply ¶
type DistributeProxyNodeConfigReply struct { Data *v2.SingedMsg `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 签名 // contains filtered or unexported fields }
func (*DistributeProxyNodeConfigReply) Descriptor
deprecated
func (*DistributeProxyNodeConfigReply) Descriptor() ([]byte, []int)
Deprecated: Use DistributeProxyNodeConfigReply.ProtoReflect.Descriptor instead.
func (*DistributeProxyNodeConfigReply) GetData ¶
func (x *DistributeProxyNodeConfigReply) GetData() *v2.SingedMsg
func (*DistributeProxyNodeConfigReply) ProtoMessage ¶
func (*DistributeProxyNodeConfigReply) ProtoMessage()
func (*DistributeProxyNodeConfigReply) ProtoReflect ¶
func (x *DistributeProxyNodeConfigReply) ProtoReflect() protoreflect.Message
func (*DistributeProxyNodeConfigReply) Reset ¶
func (x *DistributeProxyNodeConfigReply) Reset()
func (*DistributeProxyNodeConfigReply) String ¶
func (x *DistributeProxyNodeConfigReply) String() string
func (*DistributeProxyNodeConfigReply) Validate ¶
func (m *DistributeProxyNodeConfigReply) Validate() error
Validate checks the field values on DistributeProxyNodeConfigReply 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 (*DistributeProxyNodeConfigReply) ValidateAll ¶
func (m *DistributeProxyNodeConfigReply) ValidateAll() error
ValidateAll checks the field values on DistributeProxyNodeConfigReply 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 DistributeProxyNodeConfigReplyMultiError, or nil if none found.
type DistributeProxyNodeConfigReplyMultiError ¶
type DistributeProxyNodeConfigReplyMultiError []error
DistributeProxyNodeConfigReplyMultiError is an error wrapping multiple validation errors returned by DistributeProxyNodeConfigReply.ValidateAll() if the designated constraints aren't met.
func (DistributeProxyNodeConfigReplyMultiError) AllErrors ¶
func (m DistributeProxyNodeConfigReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeProxyNodeConfigReplyMultiError) Error ¶
func (m DistributeProxyNodeConfigReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeProxyNodeConfigReplyValidationError ¶
type DistributeProxyNodeConfigReplyValidationError struct {
// contains filtered or unexported fields
}
DistributeProxyNodeConfigReplyValidationError is the validation error returned by DistributeProxyNodeConfigReply.Validate if the designated constraints aren't met.
func (DistributeProxyNodeConfigReplyValidationError) Cause ¶
func (e DistributeProxyNodeConfigReplyValidationError) Cause() error
Cause function returns cause value.
func (DistributeProxyNodeConfigReplyValidationError) Error ¶
func (e DistributeProxyNodeConfigReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeProxyNodeConfigReplyValidationError) ErrorName ¶
func (e DistributeProxyNodeConfigReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeProxyNodeConfigReplyValidationError) Field ¶
func (e DistributeProxyNodeConfigReplyValidationError) Field() string
Field function returns field value.
func (DistributeProxyNodeConfigReplyValidationError) Key ¶
func (e DistributeProxyNodeConfigReplyValidationError) Key() bool
Key function returns key value.
func (DistributeProxyNodeConfigReplyValidationError) Reason ¶
func (e DistributeProxyNodeConfigReplyValidationError) Reason() string
Reason function returns reason value.
type DistributeProxyNodeConfigReq ¶
type DistributeProxyNodeConfigReq struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据 Sign string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // 签名 // contains filtered or unexported fields }
代理节点下发节点配置 -------------------------------------------
func (*DistributeProxyNodeConfigReq) Descriptor
deprecated
func (*DistributeProxyNodeConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use DistributeProxyNodeConfigReq.ProtoReflect.Descriptor instead.
func (*DistributeProxyNodeConfigReq) GetData ¶
func (x *DistributeProxyNodeConfigReq) GetData() string
func (*DistributeProxyNodeConfigReq) GetNodeId ¶
func (x *DistributeProxyNodeConfigReq) GetNodeId() string
func (*DistributeProxyNodeConfigReq) GetSign ¶
func (x *DistributeProxyNodeConfigReq) GetSign() string
func (*DistributeProxyNodeConfigReq) ProtoMessage ¶
func (*DistributeProxyNodeConfigReq) ProtoMessage()
func (*DistributeProxyNodeConfigReq) ProtoReflect ¶
func (x *DistributeProxyNodeConfigReq) ProtoReflect() protoreflect.Message
func (*DistributeProxyNodeConfigReq) Reset ¶
func (x *DistributeProxyNodeConfigReq) Reset()
func (*DistributeProxyNodeConfigReq) String ¶
func (x *DistributeProxyNodeConfigReq) String() string
func (*DistributeProxyNodeConfigReq) Validate ¶
func (m *DistributeProxyNodeConfigReq) Validate() error
Validate checks the field values on DistributeProxyNodeConfigReq 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 (*DistributeProxyNodeConfigReq) ValidateAll ¶
func (m *DistributeProxyNodeConfigReq) ValidateAll() error
ValidateAll checks the field values on DistributeProxyNodeConfigReq 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 DistributeProxyNodeConfigReqMultiError, or nil if none found.
type DistributeProxyNodeConfigReqMultiError ¶
type DistributeProxyNodeConfigReqMultiError []error
DistributeProxyNodeConfigReqMultiError is an error wrapping multiple validation errors returned by DistributeProxyNodeConfigReq.ValidateAll() if the designated constraints aren't met.
func (DistributeProxyNodeConfigReqMultiError) AllErrors ¶
func (m DistributeProxyNodeConfigReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeProxyNodeConfigReqMultiError) Error ¶
func (m DistributeProxyNodeConfigReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeProxyNodeConfigReqValidationError ¶
type DistributeProxyNodeConfigReqValidationError struct {
// contains filtered or unexported fields
}
DistributeProxyNodeConfigReqValidationError is the validation error returned by DistributeProxyNodeConfigReq.Validate if the designated constraints aren't met.
func (DistributeProxyNodeConfigReqValidationError) Cause ¶
func (e DistributeProxyNodeConfigReqValidationError) Cause() error
Cause function returns cause value.
func (DistributeProxyNodeConfigReqValidationError) Error ¶
func (e DistributeProxyNodeConfigReqValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeProxyNodeConfigReqValidationError) ErrorName ¶
func (e DistributeProxyNodeConfigReqValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeProxyNodeConfigReqValidationError) Field ¶
func (e DistributeProxyNodeConfigReqValidationError) Field() string
Field function returns field value.
func (DistributeProxyNodeConfigReqValidationError) Key ¶
func (e DistributeProxyNodeConfigReqValidationError) Key() bool
Key function returns key value.
func (DistributeProxyNodeConfigReqValidationError) Reason ¶
func (e DistributeProxyNodeConfigReqValidationError) Reason() string
Reason function returns reason value.
type DistributeUserReply ¶
type DistributeUserReply struct { Data *v2.SingedMsg `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 签名 // contains filtered or unexported fields }
func (*DistributeUserReply) Descriptor
deprecated
func (*DistributeUserReply) Descriptor() ([]byte, []int)
Deprecated: Use DistributeUserReply.ProtoReflect.Descriptor instead.
func (*DistributeUserReply) GetData ¶
func (x *DistributeUserReply) GetData() *v2.SingedMsg
func (*DistributeUserReply) ProtoMessage ¶
func (*DistributeUserReply) ProtoMessage()
func (*DistributeUserReply) ProtoReflect ¶
func (x *DistributeUserReply) ProtoReflect() protoreflect.Message
func (*DistributeUserReply) Reset ¶
func (x *DistributeUserReply) Reset()
func (*DistributeUserReply) String ¶
func (x *DistributeUserReply) String() string
func (*DistributeUserReply) Validate ¶
func (m *DistributeUserReply) Validate() error
Validate checks the field values on DistributeUserReply 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 (*DistributeUserReply) ValidateAll ¶
func (m *DistributeUserReply) ValidateAll() error
ValidateAll checks the field values on DistributeUserReply 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 DistributeUserReplyMultiError, or nil if none found.
type DistributeUserReplyMultiError ¶
type DistributeUserReplyMultiError []error
DistributeUserReplyMultiError is an error wrapping multiple validation errors returned by DistributeUserReply.ValidateAll() if the designated constraints aren't met.
func (DistributeUserReplyMultiError) AllErrors ¶
func (m DistributeUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeUserReplyMultiError) Error ¶
func (m DistributeUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeUserReplyValidationError ¶
type DistributeUserReplyValidationError struct {
// contains filtered or unexported fields
}
DistributeUserReplyValidationError is the validation error returned by DistributeUserReply.Validate if the designated constraints aren't met.
func (DistributeUserReplyValidationError) Cause ¶
func (e DistributeUserReplyValidationError) Cause() error
Cause function returns cause value.
func (DistributeUserReplyValidationError) Error ¶
func (e DistributeUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeUserReplyValidationError) ErrorName ¶
func (e DistributeUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeUserReplyValidationError) Field ¶
func (e DistributeUserReplyValidationError) Field() string
Field function returns field value.
func (DistributeUserReplyValidationError) Key ¶
func (e DistributeUserReplyValidationError) Key() bool
Key function returns key value.
func (DistributeUserReplyValidationError) Reason ¶
func (e DistributeUserReplyValidationError) Reason() string
Reason function returns reason value.
type DistributeUserReq ¶
type DistributeUserReq struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据 使用解密后的 aes 密钥进行解密 NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id Sign string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // 签名 // contains filtered or unexported fields }
用户下发 -------------------------------------------
func (*DistributeUserReq) Descriptor
deprecated
func (*DistributeUserReq) Descriptor() ([]byte, []int)
Deprecated: Use DistributeUserReq.ProtoReflect.Descriptor instead.
func (*DistributeUserReq) GetData ¶
func (x *DistributeUserReq) GetData() string
func (*DistributeUserReq) GetNodeId ¶
func (x *DistributeUserReq) GetNodeId() string
func (*DistributeUserReq) GetSign ¶
func (x *DistributeUserReq) GetSign() string
func (*DistributeUserReq) ProtoMessage ¶
func (*DistributeUserReq) ProtoMessage()
func (*DistributeUserReq) ProtoReflect ¶
func (x *DistributeUserReq) ProtoReflect() protoreflect.Message
func (*DistributeUserReq) Reset ¶
func (x *DistributeUserReq) Reset()
func (*DistributeUserReq) String ¶
func (x *DistributeUserReq) String() string
func (*DistributeUserReq) Validate ¶
func (m *DistributeUserReq) Validate() error
Validate checks the field values on DistributeUserReq 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 (*DistributeUserReq) ValidateAll ¶
func (m *DistributeUserReq) ValidateAll() error
ValidateAll checks the field values on DistributeUserReq 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 DistributeUserReqMultiError, or nil if none found.
type DistributeUserReqMultiError ¶
type DistributeUserReqMultiError []error
DistributeUserReqMultiError is an error wrapping multiple validation errors returned by DistributeUserReq.ValidateAll() if the designated constraints aren't met.
func (DistributeUserReqMultiError) AllErrors ¶
func (m DistributeUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DistributeUserReqMultiError) Error ¶
func (m DistributeUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DistributeUserReqValidationError ¶
type DistributeUserReqValidationError struct {
// contains filtered or unexported fields
}
DistributeUserReqValidationError is the validation error returned by DistributeUserReq.Validate if the designated constraints aren't met.
func (DistributeUserReqValidationError) Cause ¶
func (e DistributeUserReqValidationError) Cause() error
Cause function returns cause value.
func (DistributeUserReqValidationError) Error ¶
func (e DistributeUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (DistributeUserReqValidationError) ErrorName ¶
func (e DistributeUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (DistributeUserReqValidationError) Field ¶
func (e DistributeUserReqValidationError) Field() string
Field function returns field value.
func (DistributeUserReqValidationError) Key ¶
func (e DistributeUserReqValidationError) Key() bool
Key function returns key value.
func (DistributeUserReqValidationError) Reason ¶
func (e DistributeUserReqValidationError) Reason() string
Reason function returns reason value.
type ErrorAccessReason ¶
type ErrorAccessReason int32
const ( // 发送请求失败 ErrorAccessReason_SEND_REQUEST_ERR ErrorAccessReason = 0 ErrorAccessReason_KEY_ERR ErrorAccessReason = 2 // 链接异常 ErrorAccessReason_LINK_FAILURE ErrorAccessReason = 3 // 验证签名失败 ErrorAccessReason_VERIFY_SIGN_ERR ErrorAccessReason = 4 // 签名失败 ErrorAccessReason_REQ_SIGN_ERR ErrorAccessReason = 5 // 处理函数不不存在 ErrorAccessReason_HANDLE_METHOD_NOT_FOUND ErrorAccessReason = 6 )
func (ErrorAccessReason) Descriptor ¶
func (ErrorAccessReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorAccessReason) Enum ¶
func (x ErrorAccessReason) Enum() *ErrorAccessReason
func (ErrorAccessReason) EnumDescriptor
deprecated
func (ErrorAccessReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorAccessReason.Descriptor instead.
func (ErrorAccessReason) Number ¶
func (x ErrorAccessReason) Number() protoreflect.EnumNumber
func (ErrorAccessReason) String ¶
func (x ErrorAccessReason) String() string
func (ErrorAccessReason) Type ¶
func (ErrorAccessReason) Type() protoreflect.EnumType
type ErrorPlatformReason ¶
type ErrorPlatformReason int32
const ( // 获取密钥失败 ErrorPlatformReason_GET_NODE_KEY_ERR ErrorPlatformReason = 0 // 下发主节点信息失败 ErrorPlatformReason_DISTRIBUTE_MASTER_NODE_CONFIG_ERR ErrorPlatformReason = 1 // 下发代理节点信息失败 ErrorPlatformReason_DISTRIBUTE_PROXY_NODE_CONFIG_ERR ErrorPlatformReason = 2 // 获取节点状态失败 ErrorPlatformReason_NODE_STATUS_ERR ErrorPlatformReason = 3 // 下发用户失败 ErrorPlatformReason_DISTRIBUTE_USER_ERR ErrorPlatformReason = 4 // 上报用户失败 ErrorPlatformReason_ESCALATION_USER_ERR ErrorPlatformReason = 5 )
func (ErrorPlatformReason) Descriptor ¶
func (ErrorPlatformReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorPlatformReason) Enum ¶
func (x ErrorPlatformReason) Enum() *ErrorPlatformReason
func (ErrorPlatformReason) EnumDescriptor
deprecated
func (ErrorPlatformReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorPlatformReason.Descriptor instead.
func (ErrorPlatformReason) Number ¶
func (x ErrorPlatformReason) Number() protoreflect.EnumNumber
func (ErrorPlatformReason) String ¶
func (x ErrorPlatformReason) String() string
func (ErrorPlatformReason) Type ¶
func (ErrorPlatformReason) Type() protoreflect.EnumType
type EscalationUserReply ¶
type EscalationUserReply struct {
// contains filtered or unexported fields
}
func (*EscalationUserReply) Descriptor
deprecated
func (*EscalationUserReply) Descriptor() ([]byte, []int)
Deprecated: Use EscalationUserReply.ProtoReflect.Descriptor instead.
func (*EscalationUserReply) ProtoMessage ¶
func (*EscalationUserReply) ProtoMessage()
func (*EscalationUserReply) ProtoReflect ¶
func (x *EscalationUserReply) ProtoReflect() protoreflect.Message
func (*EscalationUserReply) Reset ¶
func (x *EscalationUserReply) Reset()
func (*EscalationUserReply) String ¶
func (x *EscalationUserReply) String() string
func (*EscalationUserReply) Validate ¶
func (m *EscalationUserReply) Validate() error
Validate checks the field values on EscalationUserReply 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 (*EscalationUserReply) ValidateAll ¶
func (m *EscalationUserReply) ValidateAll() error
ValidateAll checks the field values on EscalationUserReply 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 EscalationUserReplyMultiError, or nil if none found.
type EscalationUserReplyMultiError ¶
type EscalationUserReplyMultiError []error
EscalationUserReplyMultiError is an error wrapping multiple validation errors returned by EscalationUserReply.ValidateAll() if the designated constraints aren't met.
func (EscalationUserReplyMultiError) AllErrors ¶
func (m EscalationUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EscalationUserReplyMultiError) Error ¶
func (m EscalationUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EscalationUserReplyValidationError ¶
type EscalationUserReplyValidationError struct {
// contains filtered or unexported fields
}
EscalationUserReplyValidationError is the validation error returned by EscalationUserReply.Validate if the designated constraints aren't met.
func (EscalationUserReplyValidationError) Cause ¶
func (e EscalationUserReplyValidationError) Cause() error
Cause function returns cause value.
func (EscalationUserReplyValidationError) Error ¶
func (e EscalationUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EscalationUserReplyValidationError) ErrorName ¶
func (e EscalationUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EscalationUserReplyValidationError) Field ¶
func (e EscalationUserReplyValidationError) Field() string
Field function returns field value.
func (EscalationUserReplyValidationError) Key ¶
func (e EscalationUserReplyValidationError) Key() bool
Key function returns key value.
func (EscalationUserReplyValidationError) Reason ¶
func (e EscalationUserReplyValidationError) Reason() string
Reason function returns reason value.
type EscalationUserReq ¶
type EscalationUserReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // 节点 id // contains filtered or unexported fields }
用户上报 -------------------------------------------
func (*EscalationUserReq) Descriptor
deprecated
func (*EscalationUserReq) Descriptor() ([]byte, []int)
Deprecated: Use EscalationUserReq.ProtoReflect.Descriptor instead.
func (*EscalationUserReq) GetNodeId ¶
func (x *EscalationUserReq) GetNodeId() string
func (*EscalationUserReq) GetUserId ¶
func (x *EscalationUserReq) GetUserId() string
func (*EscalationUserReq) ProtoMessage ¶
func (*EscalationUserReq) ProtoMessage()
func (*EscalationUserReq) ProtoReflect ¶
func (x *EscalationUserReq) ProtoReflect() protoreflect.Message
func (*EscalationUserReq) Reset ¶
func (x *EscalationUserReq) Reset()
func (*EscalationUserReq) String ¶
func (x *EscalationUserReq) String() string
func (*EscalationUserReq) Validate ¶
func (m *EscalationUserReq) Validate() error
Validate checks the field values on EscalationUserReq 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 (*EscalationUserReq) ValidateAll ¶
func (m *EscalationUserReq) ValidateAll() error
ValidateAll checks the field values on EscalationUserReq 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 EscalationUserReqMultiError, or nil if none found.
type EscalationUserReqMultiError ¶
type EscalationUserReqMultiError []error
EscalationUserReqMultiError is an error wrapping multiple validation errors returned by EscalationUserReq.ValidateAll() if the designated constraints aren't met.
func (EscalationUserReqMultiError) AllErrors ¶
func (m EscalationUserReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EscalationUserReqMultiError) Error ¶
func (m EscalationUserReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EscalationUserReqValidationError ¶
type EscalationUserReqValidationError struct {
// contains filtered or unexported fields
}
EscalationUserReqValidationError is the validation error returned by EscalationUserReq.Validate if the designated constraints aren't met.
func (EscalationUserReqValidationError) Cause ¶
func (e EscalationUserReqValidationError) Cause() error
Cause function returns cause value.
func (EscalationUserReqValidationError) Error ¶
func (e EscalationUserReqValidationError) Error() string
Error satisfies the builtin error interface
func (EscalationUserReqValidationError) ErrorName ¶
func (e EscalationUserReqValidationError) ErrorName() string
ErrorName returns error name.
func (EscalationUserReqValidationError) Field ¶
func (e EscalationUserReqValidationError) Field() string
Field function returns field value.
func (EscalationUserReqValidationError) Key ¶
func (e EscalationUserReqValidationError) Key() bool
Key function returns key value.
func (EscalationUserReqValidationError) Reason ¶
func (e EscalationUserReqValidationError) Reason() string
Reason function returns reason value.
type GetNodeFunctionReply ¶
type GetNodeFunctionReply struct { Functions []string `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 节点功能列表 // contains filtered or unexported fields }
获取私有节点功能返回参数
func (*GetNodeFunctionReply) Descriptor
deprecated
func (*GetNodeFunctionReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeFunctionReply.ProtoReflect.Descriptor instead.
func (*GetNodeFunctionReply) GetFunctions ¶
func (x *GetNodeFunctionReply) GetFunctions() []string
func (*GetNodeFunctionReply) ProtoMessage ¶
func (*GetNodeFunctionReply) ProtoMessage()
func (*GetNodeFunctionReply) ProtoReflect ¶
func (x *GetNodeFunctionReply) ProtoReflect() protoreflect.Message
func (*GetNodeFunctionReply) Reset ¶
func (x *GetNodeFunctionReply) Reset()
func (*GetNodeFunctionReply) String ¶
func (x *GetNodeFunctionReply) String() string
func (*GetNodeFunctionReply) Validate ¶
func (m *GetNodeFunctionReply) Validate() error
Validate checks the field values on GetNodeFunctionReply 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 (*GetNodeFunctionReply) ValidateAll ¶
func (m *GetNodeFunctionReply) ValidateAll() error
ValidateAll checks the field values on GetNodeFunctionReply 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 GetNodeFunctionReplyMultiError, or nil if none found.
type GetNodeFunctionReplyMultiError ¶
type GetNodeFunctionReplyMultiError []error
GetNodeFunctionReplyMultiError is an error wrapping multiple validation errors returned by GetNodeFunctionReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeFunctionReplyMultiError) AllErrors ¶
func (m GetNodeFunctionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeFunctionReplyMultiError) Error ¶
func (m GetNodeFunctionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeFunctionReplyValidationError ¶
type GetNodeFunctionReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeFunctionReplyValidationError is the validation error returned by GetNodeFunctionReply.Validate if the designated constraints aren't met.
func (GetNodeFunctionReplyValidationError) Cause ¶
func (e GetNodeFunctionReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeFunctionReplyValidationError) Error ¶
func (e GetNodeFunctionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeFunctionReplyValidationError) ErrorName ¶
func (e GetNodeFunctionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeFunctionReplyValidationError) Field ¶
func (e GetNodeFunctionReplyValidationError) Field() string
Field function returns field value.
func (GetNodeFunctionReplyValidationError) Key ¶
func (e GetNodeFunctionReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeFunctionReplyValidationError) Reason ¶
func (e GetNodeFunctionReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeKeyReply ¶
type GetNodeKeyReply struct { PriKey string `protobuf:"bytes,1,opt,name=priKey,proto3" json:"priKey,omitempty"` // 节点私钥 // contains filtered or unexported fields }
主节点低私钥 -------------------------------------------
func (*GetNodeKeyReply) Descriptor
deprecated
func (*GetNodeKeyReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeKeyReply.ProtoReflect.Descriptor instead.
func (*GetNodeKeyReply) GetPriKey ¶
func (x *GetNodeKeyReply) GetPriKey() string
func (*GetNodeKeyReply) ProtoMessage ¶
func (*GetNodeKeyReply) ProtoMessage()
func (*GetNodeKeyReply) ProtoReflect ¶
func (x *GetNodeKeyReply) ProtoReflect() protoreflect.Message
func (*GetNodeKeyReply) Reset ¶
func (x *GetNodeKeyReply) Reset()
func (*GetNodeKeyReply) String ¶
func (x *GetNodeKeyReply) String() string
func (*GetNodeKeyReply) Validate ¶
func (m *GetNodeKeyReply) Validate() error
Validate checks the field values on GetNodeKeyReply 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 (*GetNodeKeyReply) ValidateAll ¶
func (m *GetNodeKeyReply) ValidateAll() error
ValidateAll checks the field values on GetNodeKeyReply 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 GetNodeKeyReplyMultiError, or nil if none found.
type GetNodeKeyReplyMultiError ¶
type GetNodeKeyReplyMultiError []error
GetNodeKeyReplyMultiError is an error wrapping multiple validation errors returned by GetNodeKeyReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeKeyReplyMultiError) AllErrors ¶
func (m GetNodeKeyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeKeyReplyMultiError) Error ¶
func (m GetNodeKeyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeKeyReplyValidationError ¶
type GetNodeKeyReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeKeyReplyValidationError is the validation error returned by GetNodeKeyReply.Validate if the designated constraints aren't met.
func (GetNodeKeyReplyValidationError) Cause ¶
func (e GetNodeKeyReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeKeyReplyValidationError) Error ¶
func (e GetNodeKeyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeKeyReplyValidationError) ErrorName ¶
func (e GetNodeKeyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeKeyReplyValidationError) Field ¶
func (e GetNodeKeyReplyValidationError) Field() string
Field function returns field value.
func (GetNodeKeyReplyValidationError) Key ¶
func (e GetNodeKeyReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeKeyReplyValidationError) Reason ¶
func (e GetNodeKeyReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeStatusReply ¶
type GetNodeStatusReply struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // 节点是否可用 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // 不可用原因 // contains filtered or unexported fields }
func (*GetNodeStatusReply) Descriptor
deprecated
func (*GetNodeStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeStatusReply.ProtoReflect.Descriptor instead.
func (*GetNodeStatusReply) GetEnable ¶
func (x *GetNodeStatusReply) GetEnable() bool
func (*GetNodeStatusReply) GetReason ¶
func (x *GetNodeStatusReply) GetReason() string
func (*GetNodeStatusReply) ProtoMessage ¶
func (*GetNodeStatusReply) ProtoMessage()
func (*GetNodeStatusReply) ProtoReflect ¶
func (x *GetNodeStatusReply) ProtoReflect() protoreflect.Message
func (*GetNodeStatusReply) Reset ¶
func (x *GetNodeStatusReply) Reset()
func (*GetNodeStatusReply) String ¶
func (x *GetNodeStatusReply) String() string
func (*GetNodeStatusReply) Validate ¶
func (m *GetNodeStatusReply) Validate() error
Validate checks the field values on GetNodeStatusReply 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 (*GetNodeStatusReply) ValidateAll ¶
func (m *GetNodeStatusReply) ValidateAll() error
ValidateAll checks the field values on GetNodeStatusReply 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 GetNodeStatusReplyMultiError, or nil if none found.
type GetNodeStatusReplyMultiError ¶
type GetNodeStatusReplyMultiError []error
GetNodeStatusReplyMultiError is an error wrapping multiple validation errors returned by GetNodeStatusReply.ValidateAll() if the designated constraints aren't met.
func (GetNodeStatusReplyMultiError) AllErrors ¶
func (m GetNodeStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeStatusReplyMultiError) Error ¶
func (m GetNodeStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeStatusReplyValidationError ¶
type GetNodeStatusReplyValidationError struct {
// contains filtered or unexported fields
}
GetNodeStatusReplyValidationError is the validation error returned by GetNodeStatusReply.Validate if the designated constraints aren't met.
func (GetNodeStatusReplyValidationError) Cause ¶
func (e GetNodeStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNodeStatusReplyValidationError) Error ¶
func (e GetNodeStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeStatusReplyValidationError) ErrorName ¶
func (e GetNodeStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeStatusReplyValidationError) Field ¶
func (e GetNodeStatusReplyValidationError) Field() string
Field function returns field value.
func (GetNodeStatusReplyValidationError) Key ¶
func (e GetNodeStatusReplyValidationError) Key() bool
Key function returns key value.
func (GetNodeStatusReplyValidationError) Reason ¶
func (e GetNodeStatusReplyValidationError) Reason() string
Reason function returns reason value.
type GetNodeStatusReq ¶
type GetNodeStatusReq struct { TenantId string `protobuf:"bytes,1,opt,name=tenantId,proto3" json:"tenantId,omitempty"` // 租户 id // contains filtered or unexported fields }
获取主节点状态 -------------------------------------------
func (*GetNodeStatusReq) Descriptor
deprecated
func (*GetNodeStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeStatusReq.ProtoReflect.Descriptor instead.
func (*GetNodeStatusReq) GetTenantId ¶
func (x *GetNodeStatusReq) GetTenantId() string
func (*GetNodeStatusReq) ProtoMessage ¶
func (*GetNodeStatusReq) ProtoMessage()
func (*GetNodeStatusReq) ProtoReflect ¶
func (x *GetNodeStatusReq) ProtoReflect() protoreflect.Message
func (*GetNodeStatusReq) Reset ¶
func (x *GetNodeStatusReq) Reset()
func (*GetNodeStatusReq) String ¶
func (x *GetNodeStatusReq) String() string
func (*GetNodeStatusReq) Validate ¶
func (m *GetNodeStatusReq) Validate() error
Validate checks the field values on GetNodeStatusReq 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 (*GetNodeStatusReq) ValidateAll ¶
func (m *GetNodeStatusReq) ValidateAll() error
ValidateAll checks the field values on GetNodeStatusReq 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 GetNodeStatusReqMultiError, or nil if none found.
type GetNodeStatusReqMultiError ¶
type GetNodeStatusReqMultiError []error
GetNodeStatusReqMultiError is an error wrapping multiple validation errors returned by GetNodeStatusReq.ValidateAll() if the designated constraints aren't met.
func (GetNodeStatusReqMultiError) AllErrors ¶
func (m GetNodeStatusReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetNodeStatusReqMultiError) Error ¶
func (m GetNodeStatusReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetNodeStatusReqValidationError ¶
type GetNodeStatusReqValidationError struct {
// contains filtered or unexported fields
}
GetNodeStatusReqValidationError is the validation error returned by GetNodeStatusReq.Validate if the designated constraints aren't met.
func (GetNodeStatusReqValidationError) Cause ¶
func (e GetNodeStatusReqValidationError) Cause() error
Cause function returns cause value.
func (GetNodeStatusReqValidationError) Error ¶
func (e GetNodeStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetNodeStatusReqValidationError) ErrorName ¶
func (e GetNodeStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetNodeStatusReqValidationError) Field ¶
func (e GetNodeStatusReqValidationError) Field() string
Field function returns field value.
func (GetNodeStatusReqValidationError) Key ¶
func (e GetNodeStatusReqValidationError) Key() bool
Key function returns key value.
func (GetNodeStatusReqValidationError) Reason ¶
func (e GetNodeStatusReqValidationError) Reason() string
Reason function returns reason value.
type PlatformClient ¶
type PlatformClient interface { // 平台下发节点配置 DistributeMasterNodeConfig(ctx context.Context, in *DistributeMasterNodeConfigReq, opts ...grpc.CallOption) (*DistributeMasterNodeReply, error) // 平台下发代理节点配置 DistributeProxyNodeConfig(ctx context.Context, in *DistributeProxyNodeConfigReq, opts ...grpc.CallOption) (*DistributeProxyNodeConfigReply, error) GetNodeKey(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetNodeKeyReply, error) GetNodeStatus(ctx context.Context, in *GetNodeStatusReq, opts ...grpc.CallOption) (*GetNodeStatusReply, error) GetNodeFunction(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetNodeFunctionReply, error) // 平台下发用户信息 DistributeUser(ctx context.Context, in *DistributeUserReq, opts ...grpc.CallOption) (*DistributeUserReply, error) // 上报用户信息 EscalationUser(ctx context.Context, in *EscalationUserReq, opts ...grpc.CallOption) (*EscalationUserReply, error) // 更新用户中心的账号密码 UpdateCenterUserPassword(ctx context.Context, in *UpdateCenterUserPasswordReq, opts ...grpc.CallOption) (*UpdateCenterUserPasswordReply, error) // 注销账号 CancelAccount(ctx context.Context, in *CancelAccountReq, opts ...grpc.CallOption) (*CancelAccountReply, error) }
PlatformClient is the client API for Platform 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 NewPlatformClient ¶
func NewPlatformClient(cc grpc.ClientConnInterface) PlatformClient
type PlatformServer ¶
type PlatformServer interface { // 平台下发节点配置 DistributeMasterNodeConfig(context.Context, *DistributeMasterNodeConfigReq) (*DistributeMasterNodeReply, error) // 平台下发代理节点配置 DistributeProxyNodeConfig(context.Context, *DistributeProxyNodeConfigReq) (*DistributeProxyNodeConfigReply, error) GetNodeKey(context.Context, *emptypb.Empty) (*GetNodeKeyReply, error) GetNodeStatus(context.Context, *GetNodeStatusReq) (*GetNodeStatusReply, error) GetNodeFunction(context.Context, *emptypb.Empty) (*GetNodeFunctionReply, error) // 平台下发用户信息 DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error) // 上报用户信息 EscalationUser(context.Context, *EscalationUserReq) (*EscalationUserReply, error) // 更新用户中心的账号密码 UpdateCenterUserPassword(context.Context, *UpdateCenterUserPasswordReq) (*UpdateCenterUserPasswordReply, error) // 注销账号 CancelAccount(context.Context, *CancelAccountReq) (*CancelAccountReply, error) // contains filtered or unexported methods }
PlatformServer is the server API for Platform service. All implementations must embed UnimplementedPlatformServer for forward compatibility
type ReceiveReply ¶
type ReceiveReply struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据 Sign string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // 签名 // contains filtered or unexported fields }
func (*ReceiveReply) Descriptor
deprecated
func (*ReceiveReply) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveReply.ProtoReflect.Descriptor instead.
func (*ReceiveReply) GetData ¶
func (x *ReceiveReply) GetData() string
func (*ReceiveReply) GetSign ¶
func (x *ReceiveReply) GetSign() string
func (*ReceiveReply) ProtoMessage ¶
func (*ReceiveReply) ProtoMessage()
func (*ReceiveReply) ProtoReflect ¶
func (x *ReceiveReply) ProtoReflect() protoreflect.Message
func (*ReceiveReply) Reset ¶
func (x *ReceiveReply) Reset()
func (*ReceiveReply) String ¶
func (x *ReceiveReply) String() string
func (*ReceiveReply) Validate ¶
func (m *ReceiveReply) Validate() error
Validate checks the field values on ReceiveReply 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 (*ReceiveReply) ValidateAll ¶
func (m *ReceiveReply) ValidateAll() error
ValidateAll checks the field values on ReceiveReply 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 ReceiveReplyMultiError, or nil if none found.
type ReceiveReplyMultiError ¶
type ReceiveReplyMultiError []error
ReceiveReplyMultiError is an error wrapping multiple validation errors returned by ReceiveReply.ValidateAll() if the designated constraints aren't met.
func (ReceiveReplyMultiError) AllErrors ¶
func (m ReceiveReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceiveReplyMultiError) Error ¶
func (m ReceiveReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceiveReplyValidationError ¶
type ReceiveReplyValidationError struct {
// contains filtered or unexported fields
}
ReceiveReplyValidationError is the validation error returned by ReceiveReply.Validate if the designated constraints aren't met.
func (ReceiveReplyValidationError) Cause ¶
func (e ReceiveReplyValidationError) Cause() error
Cause function returns cause value.
func (ReceiveReplyValidationError) Error ¶
func (e ReceiveReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ReceiveReplyValidationError) ErrorName ¶
func (e ReceiveReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ReceiveReplyValidationError) Field ¶
func (e ReceiveReplyValidationError) Field() string
Field function returns field value.
func (ReceiveReplyValidationError) Key ¶
func (e ReceiveReplyValidationError) Key() bool
Key function returns key value.
func (ReceiveReplyValidationError) Reason ¶
func (e ReceiveReplyValidationError) Reason() string
Reason function returns reason value.
type ReceiveReq ¶
type ReceiveReq struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 类型 Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据 Sign string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // 签名 // contains filtered or unexported fields }
接收请求 -------------------------------------------
func (*ReceiveReq) Descriptor
deprecated
func (*ReceiveReq) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveReq.ProtoReflect.Descriptor instead.
func (*ReceiveReq) GetData ¶
func (x *ReceiveReq) GetData() string
func (*ReceiveReq) GetMethod ¶
func (x *ReceiveReq) GetMethod() string
func (*ReceiveReq) GetSign ¶
func (x *ReceiveReq) GetSign() string
func (*ReceiveReq) ProtoMessage ¶
func (*ReceiveReq) ProtoMessage()
func (*ReceiveReq) ProtoReflect ¶
func (x *ReceiveReq) ProtoReflect() protoreflect.Message
func (*ReceiveReq) Reset ¶
func (x *ReceiveReq) Reset()
func (*ReceiveReq) String ¶
func (x *ReceiveReq) String() string
func (*ReceiveReq) Validate ¶
func (m *ReceiveReq) Validate() error
Validate checks the field values on ReceiveReq 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 (*ReceiveReq) ValidateAll ¶
func (m *ReceiveReq) ValidateAll() error
ValidateAll checks the field values on ReceiveReq 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 ReceiveReqMultiError, or nil if none found.
type ReceiveReqMultiError ¶
type ReceiveReqMultiError []error
ReceiveReqMultiError is an error wrapping multiple validation errors returned by ReceiveReq.ValidateAll() if the designated constraints aren't met.
func (ReceiveReqMultiError) AllErrors ¶
func (m ReceiveReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReceiveReqMultiError) Error ¶
func (m ReceiveReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReceiveReqValidationError ¶
type ReceiveReqValidationError struct {
// contains filtered or unexported fields
}
ReceiveReqValidationError is the validation error returned by ReceiveReq.Validate if the designated constraints aren't met.
func (ReceiveReqValidationError) Cause ¶
func (e ReceiveReqValidationError) Cause() error
Cause function returns cause value.
func (ReceiveReqValidationError) Error ¶
func (e ReceiveReqValidationError) Error() string
Error satisfies the builtin error interface
func (ReceiveReqValidationError) ErrorName ¶
func (e ReceiveReqValidationError) ErrorName() string
ErrorName returns error name.
func (ReceiveReqValidationError) Field ¶
func (e ReceiveReqValidationError) Field() string
Field function returns field value.
func (ReceiveReqValidationError) Key ¶
func (e ReceiveReqValidationError) Key() bool
Key function returns key value.
func (ReceiveReqValidationError) Reason ¶
func (e ReceiveReqValidationError) Reason() string
Reason function returns reason value.
type SendReply ¶
type SendReply struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` //返回的json数据 // contains filtered or unexported fields }
func (*SendReply) Descriptor
deprecated
func (*SendReply) ProtoMessage ¶
func (*SendReply) ProtoMessage()
func (*SendReply) ProtoReflect ¶
func (x *SendReply) ProtoReflect() protoreflect.Message
func (*SendReply) Validate ¶
Validate checks the field values on SendReply 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 (*SendReply) ValidateAll ¶
ValidateAll checks the field values on SendReply 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 SendReplyMultiError, or nil if none found.
type SendReplyMultiError ¶
type SendReplyMultiError []error
SendReplyMultiError is an error wrapping multiple validation errors returned by SendReply.ValidateAll() if the designated constraints aren't met.
func (SendReplyMultiError) AllErrors ¶
func (m SendReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendReplyMultiError) Error ¶
func (m SendReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendReplyValidationError ¶
type SendReplyValidationError struct {
// contains filtered or unexported fields
}
SendReplyValidationError is the validation error returned by SendReply.Validate if the designated constraints aren't met.
func (SendReplyValidationError) Cause ¶
func (e SendReplyValidationError) Cause() error
Cause function returns cause value.
func (SendReplyValidationError) Error ¶
func (e SendReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SendReplyValidationError) ErrorName ¶
func (e SendReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SendReplyValidationError) Field ¶
func (e SendReplyValidationError) Field() string
Field function returns field value.
func (SendReplyValidationError) Key ¶
func (e SendReplyValidationError) Key() bool
Key function returns key value.
func (SendReplyValidationError) Reason ¶
func (e SendReplyValidationError) Reason() string
Reason function returns reason value.
type SendReq ¶
type SendReq struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 类型 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 数据 // contains filtered or unexported fields }
发送用户请求 -------------------------------------------
func (*SendReq) Descriptor
deprecated
func (*SendReq) ProtoMessage ¶
func (*SendReq) ProtoMessage()
func (*SendReq) ProtoReflect ¶
func (x *SendReq) ProtoReflect() protoreflect.Message
func (*SendReq) Validate ¶
Validate checks the field values on SendReq 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 (*SendReq) ValidateAll ¶
ValidateAll checks the field values on SendReq 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 SendReqMultiError, or nil if none found.
type SendReqMultiError ¶
type SendReqMultiError []error
SendReqMultiError is an error wrapping multiple validation errors returned by SendReq.ValidateAll() if the designated constraints aren't met.
func (SendReqMultiError) AllErrors ¶
func (m SendReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendReqMultiError) Error ¶
func (m SendReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendReqValidationError ¶
type SendReqValidationError struct {
// contains filtered or unexported fields
}
SendReqValidationError is the validation error returned by SendReq.Validate if the designated constraints aren't met.
func (SendReqValidationError) Cause ¶
func (e SendReqValidationError) Cause() error
Cause function returns cause value.
func (SendReqValidationError) Error ¶
func (e SendReqValidationError) Error() string
Error satisfies the builtin error interface
func (SendReqValidationError) ErrorName ¶
func (e SendReqValidationError) ErrorName() string
ErrorName returns error name.
func (SendReqValidationError) Field ¶
func (e SendReqValidationError) Field() string
Field function returns field value.
func (SendReqValidationError) Key ¶
func (e SendReqValidationError) Key() bool
Key function returns key value.
func (SendReqValidationError) Reason ¶
func (e SendReqValidationError) Reason() string
Reason function returns reason value.
type TenantApplyItem ¶
type TenantApplyItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` AssociatedUsersID string `protobuf:"bytes,3,opt,name=associatedUsersID,proto3" json:"associatedUsersID,omitempty"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` ApplyType int32 `protobuf:"varint,5,opt,name=applyType,proto3" json:"applyType,omitempty"` PackageType string `protobuf:"bytes,6,opt,name=packageType,proto3" json:"packageType,omitempty"` StartTime int64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,8,opt,name=endTime,proto3" json:"endTime,omitempty"` MaxNumber int64 `protobuf:"varint,9,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"` MaxGroupNumber int64 `protobuf:"varint,10,opt,name=maxGroupNumber,proto3" json:"maxGroupNumber,omitempty"` HandleResult uint32 `protobuf:"varint,11,opt,name=handleResult,proto3" json:"handleResult,omitempty"` HandleReason string `protobuf:"bytes,12,opt,name=handleReason,proto3" json:"handleReason,omitempty"` HandleUserId string `protobuf:"bytes,13,opt,name=handleUserId,proto3" json:"handleUserId,omitempty"` CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*TenantApplyItem) Descriptor
deprecated
func (*TenantApplyItem) Descriptor() ([]byte, []int)
Deprecated: Use TenantApplyItem.ProtoReflect.Descriptor instead.
func (*TenantApplyItem) GetApplyType ¶
func (x *TenantApplyItem) GetApplyType() int32
func (*TenantApplyItem) GetAssociatedUsersID ¶
func (x *TenantApplyItem) GetAssociatedUsersID() string
func (*TenantApplyItem) GetCreatedAt ¶
func (x *TenantApplyItem) GetCreatedAt() int64
func (*TenantApplyItem) GetEndTime ¶
func (x *TenantApplyItem) GetEndTime() int64
func (*TenantApplyItem) GetHandleReason ¶
func (x *TenantApplyItem) GetHandleReason() string
func (*TenantApplyItem) GetHandleResult ¶
func (x *TenantApplyItem) GetHandleResult() uint32
func (*TenantApplyItem) GetHandleUserId ¶
func (x *TenantApplyItem) GetHandleUserId() string
func (*TenantApplyItem) GetId ¶
func (x *TenantApplyItem) GetId() string
func (*TenantApplyItem) GetMaxGroupNumber ¶
func (x *TenantApplyItem) GetMaxGroupNumber() int64
func (*TenantApplyItem) GetMaxNumber ¶
func (x *TenantApplyItem) GetMaxNumber() int64
func (*TenantApplyItem) GetNodeId ¶
func (x *TenantApplyItem) GetNodeId() string
func (*TenantApplyItem) GetPackageType ¶
func (x *TenantApplyItem) GetPackageType() string
func (*TenantApplyItem) GetPhone ¶
func (x *TenantApplyItem) GetPhone() string
func (*TenantApplyItem) GetStartTime ¶
func (x *TenantApplyItem) GetStartTime() int64
func (*TenantApplyItem) GetUpdatedAt ¶
func (x *TenantApplyItem) GetUpdatedAt() int64
func (*TenantApplyItem) ProtoMessage ¶
func (*TenantApplyItem) ProtoMessage()
func (*TenantApplyItem) ProtoReflect ¶
func (x *TenantApplyItem) ProtoReflect() protoreflect.Message
func (*TenantApplyItem) Reset ¶
func (x *TenantApplyItem) Reset()
func (*TenantApplyItem) String ¶
func (x *TenantApplyItem) String() string
func (*TenantApplyItem) Validate ¶
func (m *TenantApplyItem) Validate() error
Validate checks the field values on TenantApplyItem 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 (*TenantApplyItem) ValidateAll ¶
func (m *TenantApplyItem) ValidateAll() error
ValidateAll checks the field values on TenantApplyItem 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 TenantApplyItemMultiError, or nil if none found.
type TenantApplyItemMultiError ¶
type TenantApplyItemMultiError []error
TenantApplyItemMultiError is an error wrapping multiple validation errors returned by TenantApplyItem.ValidateAll() if the designated constraints aren't met.
func (TenantApplyItemMultiError) AllErrors ¶
func (m TenantApplyItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantApplyItemMultiError) Error ¶
func (m TenantApplyItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantApplyItemValidationError ¶
type TenantApplyItemValidationError struct {
// contains filtered or unexported fields
}
TenantApplyItemValidationError is the validation error returned by TenantApplyItem.Validate if the designated constraints aren't met.
func (TenantApplyItemValidationError) Cause ¶
func (e TenantApplyItemValidationError) Cause() error
Cause function returns cause value.
func (TenantApplyItemValidationError) Error ¶
func (e TenantApplyItemValidationError) Error() string
Error satisfies the builtin error interface
func (TenantApplyItemValidationError) ErrorName ¶
func (e TenantApplyItemValidationError) ErrorName() string
ErrorName returns error name.
func (TenantApplyItemValidationError) Field ¶
func (e TenantApplyItemValidationError) Field() string
Field function returns field value.
func (TenantApplyItemValidationError) Key ¶
func (e TenantApplyItemValidationError) Key() bool
Key function returns key value.
func (TenantApplyItemValidationError) Reason ¶
func (e TenantApplyItemValidationError) Reason() string
Reason function returns reason value.
type TenantApplyListReply ¶
type TenantApplyListReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*TenantApplyItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*TenantApplyListReply) Descriptor
deprecated
func (*TenantApplyListReply) Descriptor() ([]byte, []int)
Deprecated: Use TenantApplyListReply.ProtoReflect.Descriptor instead.
func (*TenantApplyListReply) GetList ¶
func (x *TenantApplyListReply) GetList() []*TenantApplyItem
func (*TenantApplyListReply) GetTotal ¶
func (x *TenantApplyListReply) GetTotal() int64
func (*TenantApplyListReply) ProtoMessage ¶
func (*TenantApplyListReply) ProtoMessage()
func (*TenantApplyListReply) ProtoReflect ¶
func (x *TenantApplyListReply) ProtoReflect() protoreflect.Message
func (*TenantApplyListReply) Reset ¶
func (x *TenantApplyListReply) Reset()
func (*TenantApplyListReply) String ¶
func (x *TenantApplyListReply) String() string
func (*TenantApplyListReply) Validate ¶
func (m *TenantApplyListReply) Validate() error
Validate checks the field values on TenantApplyListReply 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 (*TenantApplyListReply) ValidateAll ¶
func (m *TenantApplyListReply) ValidateAll() error
ValidateAll checks the field values on TenantApplyListReply 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 TenantApplyListReplyMultiError, or nil if none found.
type TenantApplyListReplyMultiError ¶
type TenantApplyListReplyMultiError []error
TenantApplyListReplyMultiError is an error wrapping multiple validation errors returned by TenantApplyListReply.ValidateAll() if the designated constraints aren't met.
func (TenantApplyListReplyMultiError) AllErrors ¶
func (m TenantApplyListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantApplyListReplyMultiError) Error ¶
func (m TenantApplyListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantApplyListReplyValidationError ¶
type TenantApplyListReplyValidationError struct {
// contains filtered or unexported fields
}
TenantApplyListReplyValidationError is the validation error returned by TenantApplyListReply.Validate if the designated constraints aren't met.
func (TenantApplyListReplyValidationError) Cause ¶
func (e TenantApplyListReplyValidationError) Cause() error
Cause function returns cause value.
func (TenantApplyListReplyValidationError) Error ¶
func (e TenantApplyListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (TenantApplyListReplyValidationError) ErrorName ¶
func (e TenantApplyListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (TenantApplyListReplyValidationError) Field ¶
func (e TenantApplyListReplyValidationError) Field() string
Field function returns field value.
func (TenantApplyListReplyValidationError) Key ¶
func (e TenantApplyListReplyValidationError) Key() bool
Key function returns key value.
func (TenantApplyListReplyValidationError) Reason ¶
func (e TenantApplyListReplyValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAccessServer ¶
type UnimplementedAccessServer struct { }
UnimplementedAccessServer must be embedded to have forward compatible implementations.
func (UnimplementedAccessServer) ReceiveRequest ¶
func (UnimplementedAccessServer) ReceiveRequest(context.Context, *ReceiveReq) (*ReceiveReply, error)
func (UnimplementedAccessServer) SendRequest ¶
type UnimplementedPlatformServer ¶
type UnimplementedPlatformServer struct { }
UnimplementedPlatformServer must be embedded to have forward compatible implementations.
func (UnimplementedPlatformServer) CancelAccount ¶
func (UnimplementedPlatformServer) CancelAccount(context.Context, *CancelAccountReq) (*CancelAccountReply, error)
func (UnimplementedPlatformServer) DistributeMasterNodeConfig ¶
func (UnimplementedPlatformServer) DistributeMasterNodeConfig(context.Context, *DistributeMasterNodeConfigReq) (*DistributeMasterNodeReply, error)
func (UnimplementedPlatformServer) DistributeProxyNodeConfig ¶
func (UnimplementedPlatformServer) DistributeProxyNodeConfig(context.Context, *DistributeProxyNodeConfigReq) (*DistributeProxyNodeConfigReply, error)
func (UnimplementedPlatformServer) DistributeUser ¶
func (UnimplementedPlatformServer) DistributeUser(context.Context, *DistributeUserReq) (*DistributeUserReply, error)
func (UnimplementedPlatformServer) EscalationUser ¶
func (UnimplementedPlatformServer) EscalationUser(context.Context, *EscalationUserReq) (*EscalationUserReply, error)
func (UnimplementedPlatformServer) GetNodeFunction ¶
func (UnimplementedPlatformServer) GetNodeFunction(context.Context, *emptypb.Empty) (*GetNodeFunctionReply, error)
func (UnimplementedPlatformServer) GetNodeKey ¶
func (UnimplementedPlatformServer) GetNodeKey(context.Context, *emptypb.Empty) (*GetNodeKeyReply, error)
func (UnimplementedPlatformServer) GetNodeStatus ¶
func (UnimplementedPlatformServer) GetNodeStatus(context.Context, *GetNodeStatusReq) (*GetNodeStatusReply, error)
func (UnimplementedPlatformServer) UpdateCenterUserPassword ¶
func (UnimplementedPlatformServer) UpdateCenterUserPassword(context.Context, *UpdateCenterUserPasswordReq) (*UpdateCenterUserPasswordReply, error)
type UnsafeAccessServer ¶
type UnsafeAccessServer interface {
// contains filtered or unexported methods
}
UnsafeAccessServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessServer will result in compilation errors.
type UnsafePlatformServer ¶
type UnsafePlatformServer interface {
// contains filtered or unexported methods
}
UnsafePlatformServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlatformServer will result in compilation errors.
type UpdateCenterUserPasswordReply ¶
type UpdateCenterUserPasswordReply struct {
// contains filtered or unexported fields
}
func (*UpdateCenterUserPasswordReply) Descriptor
deprecated
func (*UpdateCenterUserPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCenterUserPasswordReply.ProtoReflect.Descriptor instead.
func (*UpdateCenterUserPasswordReply) ProtoMessage ¶
func (*UpdateCenterUserPasswordReply) ProtoMessage()
func (*UpdateCenterUserPasswordReply) ProtoReflect ¶
func (x *UpdateCenterUserPasswordReply) ProtoReflect() protoreflect.Message
func (*UpdateCenterUserPasswordReply) Reset ¶
func (x *UpdateCenterUserPasswordReply) Reset()
func (*UpdateCenterUserPasswordReply) String ¶
func (x *UpdateCenterUserPasswordReply) String() string
func (*UpdateCenterUserPasswordReply) Validate ¶
func (m *UpdateCenterUserPasswordReply) Validate() error
Validate checks the field values on UpdateCenterUserPasswordReply 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 (*UpdateCenterUserPasswordReply) ValidateAll ¶
func (m *UpdateCenterUserPasswordReply) ValidateAll() error
ValidateAll checks the field values on UpdateCenterUserPasswordReply 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 UpdateCenterUserPasswordReplyMultiError, or nil if none found.
type UpdateCenterUserPasswordReplyMultiError ¶
type UpdateCenterUserPasswordReplyMultiError []error
UpdateCenterUserPasswordReplyMultiError is an error wrapping multiple validation errors returned by UpdateCenterUserPasswordReply.ValidateAll() if the designated constraints aren't met.
func (UpdateCenterUserPasswordReplyMultiError) AllErrors ¶
func (m UpdateCenterUserPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCenterUserPasswordReplyMultiError) Error ¶
func (m UpdateCenterUserPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCenterUserPasswordReplyValidationError ¶
type UpdateCenterUserPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateCenterUserPasswordReplyValidationError is the validation error returned by UpdateCenterUserPasswordReply.Validate if the designated constraints aren't met.
func (UpdateCenterUserPasswordReplyValidationError) Cause ¶
func (e UpdateCenterUserPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCenterUserPasswordReplyValidationError) Error ¶
func (e UpdateCenterUserPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCenterUserPasswordReplyValidationError) ErrorName ¶
func (e UpdateCenterUserPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCenterUserPasswordReplyValidationError) Field ¶
func (e UpdateCenterUserPasswordReplyValidationError) Field() string
Field function returns field value.
func (UpdateCenterUserPasswordReplyValidationError) Key ¶
func (e UpdateCenterUserPasswordReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCenterUserPasswordReplyValidationError) Reason ¶
func (e UpdateCenterUserPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateCenterUserPasswordReq ¶
type UpdateCenterUserPasswordReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 // contains filtered or unexported fields }
更新密码 -------------------------------------------
func (*UpdateCenterUserPasswordReq) Descriptor
deprecated
func (*UpdateCenterUserPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCenterUserPasswordReq.ProtoReflect.Descriptor instead.
func (*UpdateCenterUserPasswordReq) GetPassword ¶
func (x *UpdateCenterUserPasswordReq) GetPassword() string
func (*UpdateCenterUserPasswordReq) GetUserId ¶
func (x *UpdateCenterUserPasswordReq) GetUserId() string
func (*UpdateCenterUserPasswordReq) ProtoMessage ¶
func (*UpdateCenterUserPasswordReq) ProtoMessage()
func (*UpdateCenterUserPasswordReq) ProtoReflect ¶
func (x *UpdateCenterUserPasswordReq) ProtoReflect() protoreflect.Message
func (*UpdateCenterUserPasswordReq) Reset ¶
func (x *UpdateCenterUserPasswordReq) Reset()
func (*UpdateCenterUserPasswordReq) String ¶
func (x *UpdateCenterUserPasswordReq) String() string
func (*UpdateCenterUserPasswordReq) Validate ¶
func (m *UpdateCenterUserPasswordReq) Validate() error
Validate checks the field values on UpdateCenterUserPasswordReq 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 (*UpdateCenterUserPasswordReq) ValidateAll ¶
func (m *UpdateCenterUserPasswordReq) ValidateAll() error
ValidateAll checks the field values on UpdateCenterUserPasswordReq 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 UpdateCenterUserPasswordReqMultiError, or nil if none found.
type UpdateCenterUserPasswordReqMultiError ¶
type UpdateCenterUserPasswordReqMultiError []error
UpdateCenterUserPasswordReqMultiError is an error wrapping multiple validation errors returned by UpdateCenterUserPasswordReq.ValidateAll() if the designated constraints aren't met.
func (UpdateCenterUserPasswordReqMultiError) AllErrors ¶
func (m UpdateCenterUserPasswordReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCenterUserPasswordReqMultiError) Error ¶
func (m UpdateCenterUserPasswordReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCenterUserPasswordReqValidationError ¶
type UpdateCenterUserPasswordReqValidationError struct {
// contains filtered or unexported fields
}
UpdateCenterUserPasswordReqValidationError is the validation error returned by UpdateCenterUserPasswordReq.Validate if the designated constraints aren't met.
func (UpdateCenterUserPasswordReqValidationError) Cause ¶
func (e UpdateCenterUserPasswordReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateCenterUserPasswordReqValidationError) Error ¶
func (e UpdateCenterUserPasswordReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCenterUserPasswordReqValidationError) ErrorName ¶
func (e UpdateCenterUserPasswordReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCenterUserPasswordReqValidationError) Field ¶
func (e UpdateCenterUserPasswordReqValidationError) Field() string
Field function returns field value.
func (UpdateCenterUserPasswordReqValidationError) Key ¶
func (e UpdateCenterUserPasswordReqValidationError) Key() bool
Key function returns key value.
func (UpdateCenterUserPasswordReqValidationError) Reason ¶
func (e UpdateCenterUserPasswordReqValidationError) Reason() string
Reason function returns reason value.
type WebsiteConfig ¶
type WebsiteConfig struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //主键 NodeId string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"` //节点ID PackageName string `protobuf:"bytes,3,opt,name=packageName,proto3" json:"packageName,omitempty"` //套餐名称 MaxUserNum int64 `protobuf:"varint,4,opt,name=maxUserNum,proto3" json:"maxUserNum,omitempty"` //最多支持注册用户数 MaxDayAlive int64 `protobuf:"varint,5,opt,name=maxDayAlive,proto3" json:"maxDayAlive,omitempty"` //最多日活 MaxGroupNum int64 `protobuf:"varint,6,opt,name=maxGroupNum,proto3" json:"maxGroupNum,omitempty"` //群组最大人数 PackagePrice float32 `protobuf:"fixed32,7,opt,name=packagePrice,proto3" json:"packagePrice,omitempty"` //套餐价格 PurchaseDuration int64 `protobuf:"varint,8,opt,name=purchaseDuration,proto3" json:"purchaseDuration,omitempty"` // 套餐时长 // contains filtered or unexported fields }
WebsiteConfig 套餐配置
func (*WebsiteConfig) Descriptor
deprecated
func (*WebsiteConfig) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteConfig.ProtoReflect.Descriptor instead.
func (*WebsiteConfig) GetId ¶
func (x *WebsiteConfig) GetId() int64
func (*WebsiteConfig) GetMaxDayAlive ¶
func (x *WebsiteConfig) GetMaxDayAlive() int64
func (*WebsiteConfig) GetMaxGroupNum ¶
func (x *WebsiteConfig) GetMaxGroupNum() int64
func (*WebsiteConfig) GetMaxUserNum ¶
func (x *WebsiteConfig) GetMaxUserNum() int64
func (*WebsiteConfig) GetNodeId ¶
func (x *WebsiteConfig) GetNodeId() string
func (*WebsiteConfig) GetPackageName ¶
func (x *WebsiteConfig) GetPackageName() string
func (*WebsiteConfig) GetPackagePrice ¶
func (x *WebsiteConfig) GetPackagePrice() float32
func (*WebsiteConfig) GetPurchaseDuration ¶
func (x *WebsiteConfig) GetPurchaseDuration() int64
func (*WebsiteConfig) ProtoMessage ¶
func (*WebsiteConfig) ProtoMessage()
func (*WebsiteConfig) ProtoReflect ¶
func (x *WebsiteConfig) ProtoReflect() protoreflect.Message
func (*WebsiteConfig) Reset ¶
func (x *WebsiteConfig) Reset()
func (*WebsiteConfig) String ¶
func (x *WebsiteConfig) String() string
func (*WebsiteConfig) Validate ¶
func (m *WebsiteConfig) Validate() error
Validate checks the field values on WebsiteConfig 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 (*WebsiteConfig) ValidateAll ¶
func (m *WebsiteConfig) ValidateAll() error
ValidateAll checks the field values on WebsiteConfig 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 WebsiteConfigMultiError, or nil if none found.
type WebsiteConfigMultiError ¶
type WebsiteConfigMultiError []error
WebsiteConfigMultiError is an error wrapping multiple validation errors returned by WebsiteConfig.ValidateAll() if the designated constraints aren't met.
func (WebsiteConfigMultiError) AllErrors ¶
func (m WebsiteConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebsiteConfigMultiError) Error ¶
func (m WebsiteConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebsiteConfigValidationError ¶
type WebsiteConfigValidationError struct {
// contains filtered or unexported fields
}
WebsiteConfigValidationError is the validation error returned by WebsiteConfig.Validate if the designated constraints aren't met.
func (WebsiteConfigValidationError) Cause ¶
func (e WebsiteConfigValidationError) Cause() error
Cause function returns cause value.
func (WebsiteConfigValidationError) Error ¶
func (e WebsiteConfigValidationError) Error() string
Error satisfies the builtin error interface
func (WebsiteConfigValidationError) ErrorName ¶
func (e WebsiteConfigValidationError) ErrorName() string
ErrorName returns error name.
func (WebsiteConfigValidationError) Field ¶
func (e WebsiteConfigValidationError) Field() string
Field function returns field value.
func (WebsiteConfigValidationError) Key ¶
func (e WebsiteConfigValidationError) Key() bool
Key function returns key value.
func (WebsiteConfigValidationError) Reason ¶
func (e WebsiteConfigValidationError) Reason() string
Reason function returns reason value.