v2

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Access_SendRequest_FullMethodName    = "/api.im_cloud.access.v2.Access/SendRequest"
	Access_ReceiveRequest_FullMethodName = "/api.im_cloud.access.v2.Access/ReceiveRequest"
)
View Source
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

View Source
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.

View Source
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.

View Source
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)

View Source
var File_api_im_cloud_access_v1_access_error_proto protoreflect.FileDescriptor
View Source
var File_api_im_cloud_access_v1_platform_error_proto protoreflect.FileDescriptor
View Source
var File_im_cloud_access_v1_access_proto protoreflect.FileDescriptor
View Source
var File_im_cloud_access_v1_platform_proto protoreflect.FileDescriptor
View Source
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 ErrorDistributeMasterNodeConfigErr(format string, args ...interface{}) *errors.Error

下发主节点信息失败

func ErrorDistributeProxyNodeConfigErr

func ErrorDistributeProxyNodeConfigErr(format string, args ...interface{}) *errors.Error

下发代理节点信息失败

func ErrorDistributeUserErr

func ErrorDistributeUserErr(format string, args ...interface{}) *errors.Error

下发用户失败

func ErrorEscalationUserErr

func ErrorEscalationUserErr(format string, args ...interface{}) *errors.Error

上报用户失败

func ErrorGetNodeKeyErr

func ErrorGetNodeKeyErr(format string, args ...interface{}) *errors.Error

获取密钥失败

func ErrorHandleMethodNotFound

func ErrorHandleMethodNotFound(format string, args ...interface{}) *errors.Error

处理函数不不存在

func ErrorKeyErr

func ErrorKeyErr(format string, args ...interface{}) *errors.Error

func ErrorLinkFailure

func ErrorLinkFailure(format string, args ...interface{}) *errors.Error

链接异常

func ErrorNodeStatusErr

func ErrorNodeStatusErr(format string, args ...interface{}) *errors.Error

获取节点状态失败

func ErrorReqSignErr

func ErrorReqSignErr(format string, args ...interface{}) *errors.Error

签名失败

func ErrorSendRequestErr

func ErrorSendRequestErr(format string, args ...interface{}) *errors.Error

发送请求失败

func ErrorVerifySignErr

func ErrorVerifySignErr(format string, args ...interface{}) *errors.Error

验证签名失败

func IsDistributeMasterNodeConfigErr

func IsDistributeMasterNodeConfigErr(err error) bool

下发主节点信息失败

func IsDistributeProxyNodeConfigErr

func IsDistributeProxyNodeConfigErr(err error) bool

下发代理节点信息失败

func IsDistributeUserErr

func IsDistributeUserErr(err error) bool

下发用户失败

func IsEscalationUserErr

func IsEscalationUserErr(err error) bool

上报用户失败

func IsGetNodeKeyErr

func IsGetNodeKeyErr(err error) bool

获取密钥失败

func IsHandleMethodNotFound

func IsHandleMethodNotFound(err error) bool

处理函数不不存在

func IsKeyErr

func IsKeyErr(err error) bool

func IsLinkFailure

func IsLinkFailure(err error) bool

链接异常

func IsNodeStatusErr

func IsNodeStatusErr(err error) bool

获取节点状态失败

func IsReqSignErr

func IsReqSignErr(err error) bool

签名失败

func IsSendRequestErr

func IsSendRequestErr(err error) bool

发送请求失败

func IsVerifySignErr

func IsVerifySignErr(err error) bool

验证签名失败

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

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

Cause function returns cause value.

func (CancelAccountReplyValidationError) Error

Error satisfies the builtin error interface

func (CancelAccountReplyValidationError) ErrorName

ErrorName returns error name.

func (CancelAccountReplyValidationError) Field

Field function returns field value.

func (CancelAccountReplyValidationError) Key

Key function returns key value.

func (CancelAccountReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CancelAccountReqValidationError) Error

Error satisfies the builtin error interface

func (CancelAccountReqValidationError) ErrorName

ErrorName returns error name.

func (CancelAccountReqValidationError) Field

Field function returns field value.

func (CancelAccountReqValidationError) Key

Key function returns key value.

func (CancelAccountReqValidationError) Reason

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 (*DistributeMasterNodeConfigReq) GetNodeId

func (x *DistributeMasterNodeConfigReq) GetNodeId() string

func (*DistributeMasterNodeConfigReq) ProtoMessage

func (*DistributeMasterNodeConfigReq) ProtoMessage()

func (*DistributeMasterNodeConfigReq) ProtoReflect

func (*DistributeMasterNodeConfigReq) Reset

func (x *DistributeMasterNodeConfigReq) Reset()

func (*DistributeMasterNodeConfigReq) 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

AllErrors returns a list of validation violation errors.

func (DistributeMasterNodeConfigReqMultiError) Error

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

Cause function returns cause value.

func (DistributeMasterNodeConfigReqValidationError) Error

Error satisfies the builtin error interface

func (DistributeMasterNodeConfigReqValidationError) ErrorName

ErrorName returns error name.

func (DistributeMasterNodeConfigReqValidationError) Field

Field function returns field value.

func (DistributeMasterNodeConfigReqValidationError) Key

Key function returns key value.

func (DistributeMasterNodeConfigReqValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (DistributeMasterNodeReplyMultiError) Error

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

Cause function returns cause value.

func (DistributeMasterNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (DistributeMasterNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (DistributeMasterNodeReplyValidationError) Field

Field function returns field value.

func (DistributeMasterNodeReplyValidationError) Key

Key function returns key value.

func (DistributeMasterNodeReplyValidationError) Reason

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 (*DistributeProxyNodeConfigReply) ProtoMessage

func (*DistributeProxyNodeConfigReply) ProtoMessage()

func (*DistributeProxyNodeConfigReply) ProtoReflect

func (*DistributeProxyNodeConfigReply) Reset

func (x *DistributeProxyNodeConfigReply) Reset()

func (*DistributeProxyNodeConfigReply) 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

AllErrors returns a list of validation violation errors.

func (DistributeProxyNodeConfigReplyMultiError) Error

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

Cause function returns cause value.

func (DistributeProxyNodeConfigReplyValidationError) Error

Error satisfies the builtin error interface

func (DistributeProxyNodeConfigReplyValidationError) ErrorName

ErrorName returns error name.

func (DistributeProxyNodeConfigReplyValidationError) Field

Field function returns field value.

func (DistributeProxyNodeConfigReplyValidationError) Key

Key function returns key value.

func (DistributeProxyNodeConfigReplyValidationError) Reason

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 (*DistributeProxyNodeConfigReq) Reset

func (x *DistributeProxyNodeConfigReq) Reset()

func (*DistributeProxyNodeConfigReq) 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

AllErrors returns a list of validation violation errors.

func (DistributeProxyNodeConfigReqMultiError) Error

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

Cause function returns cause value.

func (DistributeProxyNodeConfigReqValidationError) Error

Error satisfies the builtin error interface

func (DistributeProxyNodeConfigReqValidationError) ErrorName

ErrorName returns error name.

func (DistributeProxyNodeConfigReqValidationError) Field

Field function returns field value.

func (DistributeProxyNodeConfigReqValidationError) Key

Key function returns key value.

func (DistributeProxyNodeConfigReqValidationError) Reason

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

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

Cause function returns cause value.

func (DistributeUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DistributeUserReplyValidationError) ErrorName

ErrorName returns error name.

func (DistributeUserReplyValidationError) Field

Field function returns field value.

func (DistributeUserReplyValidationError) Key

Key function returns key value.

func (DistributeUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DistributeUserReqValidationError) Error

Error satisfies the builtin error interface

func (DistributeUserReqValidationError) ErrorName

ErrorName returns error name.

func (DistributeUserReqValidationError) Field

Field function returns field value.

func (DistributeUserReqValidationError) Key

Key function returns key value.

func (DistributeUserReqValidationError) Reason

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) Enum

func (ErrorAccessReason) EnumDescriptor deprecated

func (ErrorAccessReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorAccessReason.Descriptor instead.

func (ErrorAccessReason) Number

func (ErrorAccessReason) String

func (x ErrorAccessReason) String() string

func (ErrorAccessReason) Type

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) Enum

func (ErrorPlatformReason) EnumDescriptor deprecated

func (ErrorPlatformReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorPlatformReason.Descriptor instead.

func (ErrorPlatformReason) Number

func (ErrorPlatformReason) String

func (x ErrorPlatformReason) String() string

func (ErrorPlatformReason) Type

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

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

Cause function returns cause value.

func (EscalationUserReplyValidationError) Error

Error satisfies the builtin error interface

func (EscalationUserReplyValidationError) ErrorName

ErrorName returns error name.

func (EscalationUserReplyValidationError) Field

Field function returns field value.

func (EscalationUserReplyValidationError) Key

Key function returns key value.

func (EscalationUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (EscalationUserReqValidationError) Error

Error satisfies the builtin error interface

func (EscalationUserReqValidationError) ErrorName

ErrorName returns error name.

func (EscalationUserReqValidationError) Field

Field function returns field value.

func (EscalationUserReqValidationError) Key

Key function returns key value.

func (EscalationUserReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeFunctionReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeFunctionReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeFunctionReplyValidationError) Field

Field function returns field value.

func (GetNodeFunctionReplyValidationError) Key

Key function returns key value.

func (GetNodeFunctionReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeKeyReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeKeyReplyValidationError) ErrorName

func (e GetNodeKeyReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetNodeKeyReplyValidationError) Field

Field function returns field value.

func (GetNodeKeyReplyValidationError) Key

Key function returns key value.

func (GetNodeKeyReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeStatusReplyValidationError) Field

Field function returns field value.

func (GetNodeStatusReplyValidationError) Key

Key function returns key value.

func (GetNodeStatusReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetNodeStatusReqValidationError) Error

Error satisfies the builtin error interface

func (GetNodeStatusReqValidationError) ErrorName

ErrorName returns error name.

func (GetNodeStatusReqValidationError) Field

Field function returns field value.

func (GetNodeStatusReqValidationError) Key

Key function returns key value.

func (GetNodeStatusReqValidationError) Reason

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

Cause function returns cause value.

func (ReceiveReplyValidationError) Error

Error satisfies the builtin error interface

func (ReceiveReplyValidationError) ErrorName

func (e ReceiveReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ReceiveReplyValidationError) Field

Field function returns field value.

func (ReceiveReplyValidationError) Key

Key function returns key value.

func (ReceiveReplyValidationError) Reason

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

Error satisfies the builtin error interface

func (ReceiveReqValidationError) ErrorName

func (e ReceiveReqValidationError) ErrorName() string

ErrorName returns error name.

func (ReceiveReqValidationError) Field

Field function returns field value.

func (ReceiveReqValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use SendReply.ProtoReflect.Descriptor instead.

func (*SendReply) GetData

func (x *SendReply) GetData() []byte

func (*SendReply) ProtoMessage

func (*SendReply) ProtoMessage()

func (*SendReply) ProtoReflect

func (x *SendReply) ProtoReflect() protoreflect.Message

func (*SendReply) Reset

func (x *SendReply) Reset()

func (*SendReply) String

func (x *SendReply) String() string

func (*SendReply) Validate

func (m *SendReply) Validate() error

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

func (m *SendReply) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use SendReq.ProtoReflect.Descriptor instead.

func (*SendReq) GetData

func (x *SendReq) GetData() []byte

func (*SendReq) GetMethod

func (x *SendReq) GetMethod() string

func (*SendReq) ProtoMessage

func (*SendReq) ProtoMessage()

func (*SendReq) ProtoReflect

func (x *SendReq) ProtoReflect() protoreflect.Message

func (*SendReq) Reset

func (x *SendReq) Reset()

func (*SendReq) String

func (x *SendReq) String() string

func (*SendReq) Validate

func (m *SendReq) Validate() error

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

func (m *SendReq) ValidateAll() error

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

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

Cause function returns cause value.

func (TenantApplyItemValidationError) Error

Error satisfies the builtin error interface

func (TenantApplyItemValidationError) ErrorName

func (e TenantApplyItemValidationError) ErrorName() string

ErrorName returns error name.

func (TenantApplyItemValidationError) Field

Field function returns field value.

func (TenantApplyItemValidationError) Key

Key function returns key value.

func (TenantApplyItemValidationError) Reason

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

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

Cause function returns cause value.

func (TenantApplyListReplyValidationError) Error

Error satisfies the builtin error interface

func (TenantApplyListReplyValidationError) ErrorName

ErrorName returns error name.

func (TenantApplyListReplyValidationError) Field

Field function returns field value.

func (TenantApplyListReplyValidationError) Key

Key function returns key value.

func (TenantApplyListReplyValidationError) Reason

Reason function returns reason value.

type UnimplementedAccessServer

type UnimplementedAccessServer struct {
}

UnimplementedAccessServer must be embedded to have forward compatible implementations.

func (UnimplementedAccessServer) ReceiveRequest

func (UnimplementedAccessServer) SendRequest

type UnimplementedPlatformServer

type UnimplementedPlatformServer struct {
}

UnimplementedPlatformServer must be embedded to have forward compatible implementations.

func (UnimplementedPlatformServer) CancelAccount

func (UnimplementedPlatformServer) DistributeUser

func (UnimplementedPlatformServer) EscalationUser

func (UnimplementedPlatformServer) GetNodeFunction

func (UnimplementedPlatformServer) GetNodeKey

func (UnimplementedPlatformServer) GetNodeStatus

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 (*UpdateCenterUserPasswordReply) Reset

func (x *UpdateCenterUserPasswordReply) Reset()

func (*UpdateCenterUserPasswordReply) 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

AllErrors returns a list of validation violation errors.

func (UpdateCenterUserPasswordReplyMultiError) Error

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

Cause function returns cause value.

func (UpdateCenterUserPasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCenterUserPasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCenterUserPasswordReplyValidationError) Field

Field function returns field value.

func (UpdateCenterUserPasswordReplyValidationError) Key

Key function returns key value.

func (UpdateCenterUserPasswordReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (UpdateCenterUserPasswordReqMultiError) Error

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

Cause function returns cause value.

func (UpdateCenterUserPasswordReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateCenterUserPasswordReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateCenterUserPasswordReqValidationError) Field

Field function returns field value.

func (UpdateCenterUserPasswordReqValidationError) Key

Key function returns key value.

func (UpdateCenterUserPasswordReqValidationError) Reason

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

Cause function returns cause value.

func (WebsiteConfigValidationError) Error

Error satisfies the builtin error interface

func (WebsiteConfigValidationError) ErrorName

func (e WebsiteConfigValidationError) ErrorName() string

ErrorName returns error name.

func (WebsiteConfigValidationError) Field

Field function returns field value.

func (WebsiteConfigValidationError) Key

Key function returns key value.

func (WebsiteConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL