Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterServerServiceHTTPServer(s *http.Server, srv ServerServiceHTTPServer)
- func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer)
- type CreateNodeData
- func (*CreateNodeData) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNodeData) GetNode() *Node
- func (*CreateNodeData) ProtoMessage()
- func (x *CreateNodeData) ProtoReflect() protoreflect.Message
- func (x *CreateNodeData) Reset()
- func (x *CreateNodeData) String() string
- func (m *CreateNodeData) Validate() error
- func (m *CreateNodeData) ValidateAll() error
- type CreateNodeDataMultiError
- type CreateNodeDataValidationError
- func (e CreateNodeDataValidationError) Cause() error
- func (e CreateNodeDataValidationError) Error() string
- func (e CreateNodeDataValidationError) ErrorName() string
- func (e CreateNodeDataValidationError) Field() string
- func (e CreateNodeDataValidationError) Key() bool
- func (e CreateNodeDataValidationError) Reason() string
- type CreateNodeReply
- func (*CreateNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNodeReply) GetCode() int32
- func (x *CreateNodeReply) GetData() *CreateNodeData
- func (x *CreateNodeReply) GetMessage() string
- func (*CreateNodeReply) ProtoMessage()
- func (x *CreateNodeReply) ProtoReflect() protoreflect.Message
- func (x *CreateNodeReply) Reset()
- func (x *CreateNodeReply) String() string
- func (m *CreateNodeReply) Validate() error
- func (m *CreateNodeReply) ValidateAll() error
- type CreateNodeReplyMultiError
- type CreateNodeReplyValidationError
- func (e CreateNodeReplyValidationError) Cause() error
- func (e CreateNodeReplyValidationError) Error() string
- func (e CreateNodeReplyValidationError) ErrorName() string
- func (e CreateNodeReplyValidationError) Field() string
- func (e CreateNodeReplyValidationError) Key() bool
- func (e CreateNodeReplyValidationError) Reason() string
- type CreateNodeRequest
- func (*CreateNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNodeRequest) GetAddress() string
- func (x *CreateNodeRequest) GetEnabled() bool
- func (x *CreateNodeRequest) GetIsHidden() bool
- func (x *CreateNodeRequest) GetName() string
- func (x *CreateNodeRequest) GetNodeGroupIds() []int64
- func (x *CreateNodeRequest) GetNodeType() string
- func (x *CreateNodeRequest) GetPort() uint32
- func (x *CreateNodeRequest) GetProtocol() string
- func (x *CreateNodeRequest) GetServerId() int64
- func (x *CreateNodeRequest) GetTags() []string
- func (*CreateNodeRequest) ProtoMessage()
- func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNodeRequest) Reset()
- func (x *CreateNodeRequest) String() string
- func (m *CreateNodeRequest) Validate() error
- func (m *CreateNodeRequest) ValidateAll() error
- type CreateNodeRequestMultiError
- type CreateNodeRequestValidationError
- func (e CreateNodeRequestValidationError) Cause() error
- func (e CreateNodeRequestValidationError) Error() string
- func (e CreateNodeRequestValidationError) ErrorName() string
- func (e CreateNodeRequestValidationError) Field() string
- func (e CreateNodeRequestValidationError) Key() bool
- func (e CreateNodeRequestValidationError) Reason() string
- type CreateServerData
- func (*CreateServerData) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerData) GetServer() *Server
- func (*CreateServerData) ProtoMessage()
- func (x *CreateServerData) ProtoReflect() protoreflect.Message
- func (x *CreateServerData) Reset()
- func (x *CreateServerData) String() string
- func (m *CreateServerData) Validate() error
- func (m *CreateServerData) ValidateAll() error
- type CreateServerDataMultiError
- type CreateServerDataValidationError
- func (e CreateServerDataValidationError) Cause() error
- func (e CreateServerDataValidationError) Error() string
- func (e CreateServerDataValidationError) ErrorName() string
- func (e CreateServerDataValidationError) Field() string
- func (e CreateServerDataValidationError) Key() bool
- func (e CreateServerDataValidationError) Reason() string
- type CreateServerReply
- func (*CreateServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerReply) GetCode() int32
- func (x *CreateServerReply) GetData() *CreateServerData
- func (x *CreateServerReply) GetMessage() string
- func (*CreateServerReply) ProtoMessage()
- func (x *CreateServerReply) ProtoReflect() protoreflect.Message
- func (x *CreateServerReply) Reset()
- func (x *CreateServerReply) String() string
- func (m *CreateServerReply) Validate() error
- func (m *CreateServerReply) ValidateAll() error
- type CreateServerReplyMultiError
- type CreateServerReplyValidationError
- func (e CreateServerReplyValidationError) Cause() error
- func (e CreateServerReplyValidationError) Error() string
- func (e CreateServerReplyValidationError) ErrorName() string
- func (e CreateServerReplyValidationError) Field() string
- func (e CreateServerReplyValidationError) Key() bool
- func (e CreateServerReplyValidationError) Reason() string
- type CreateServerRequest
- func (*CreateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerRequest) GetAddress() string
- func (x *CreateServerRequest) GetCity() string
- func (x *CreateServerRequest) GetCountry() string
- func (x *CreateServerRequest) GetName() string
- func (x *CreateServerRequest) GetProtocols() []*Protocol
- func (x *CreateServerRequest) GetSort() int32
- func (*CreateServerRequest) ProtoMessage()
- func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServerRequest) Reset()
- func (x *CreateServerRequest) String() string
- func (m *CreateServerRequest) Validate() error
- func (m *CreateServerRequest) ValidateAll() error
- type CreateServerRequestMultiError
- type CreateServerRequestValidationError
- func (e CreateServerRequestValidationError) Cause() error
- func (e CreateServerRequestValidationError) Error() string
- func (e CreateServerRequestValidationError) ErrorName() string
- func (e CreateServerRequestValidationError) Field() string
- func (e CreateServerRequestValidationError) Key() bool
- func (e CreateServerRequestValidationError) Reason() string
- type DeleteNodeData
- func (*DeleteNodeData) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeData) GetSuccess() bool
- func (*DeleteNodeData) ProtoMessage()
- func (x *DeleteNodeData) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeData) Reset()
- func (x *DeleteNodeData) String() string
- func (m *DeleteNodeData) Validate() error
- func (m *DeleteNodeData) ValidateAll() error
- type DeleteNodeDataMultiError
- type DeleteNodeDataValidationError
- func (e DeleteNodeDataValidationError) Cause() error
- func (e DeleteNodeDataValidationError) Error() string
- func (e DeleteNodeDataValidationError) ErrorName() string
- func (e DeleteNodeDataValidationError) Field() string
- func (e DeleteNodeDataValidationError) Key() bool
- func (e DeleteNodeDataValidationError) Reason() string
- type DeleteNodeReply
- func (*DeleteNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeReply) GetCode() int32
- func (x *DeleteNodeReply) GetData() *DeleteNodeData
- func (x *DeleteNodeReply) GetMessage() string
- func (*DeleteNodeReply) ProtoMessage()
- func (x *DeleteNodeReply) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeReply) Reset()
- func (x *DeleteNodeReply) String() string
- func (m *DeleteNodeReply) Validate() error
- func (m *DeleteNodeReply) ValidateAll() error
- type DeleteNodeReplyMultiError
- type DeleteNodeReplyValidationError
- func (e DeleteNodeReplyValidationError) Cause() error
- func (e DeleteNodeReplyValidationError) Error() string
- func (e DeleteNodeReplyValidationError) ErrorName() string
- func (e DeleteNodeReplyValidationError) Field() string
- func (e DeleteNodeReplyValidationError) Key() bool
- func (e DeleteNodeReplyValidationError) Reason() string
- type DeleteNodeRequest
- func (*DeleteNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeRequest) GetId() int64
- func (*DeleteNodeRequest) ProtoMessage()
- func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeRequest) Reset()
- func (x *DeleteNodeRequest) String() string
- func (m *DeleteNodeRequest) Validate() error
- func (m *DeleteNodeRequest) ValidateAll() error
- type DeleteNodeRequestMultiError
- type DeleteNodeRequestValidationError
- func (e DeleteNodeRequestValidationError) Cause() error
- func (e DeleteNodeRequestValidationError) Error() string
- func (e DeleteNodeRequestValidationError) ErrorName() string
- func (e DeleteNodeRequestValidationError) Field() string
- func (e DeleteNodeRequestValidationError) Key() bool
- func (e DeleteNodeRequestValidationError) Reason() string
- type DeleteServerData
- func (*DeleteServerData) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerData) GetSuccess() bool
- func (*DeleteServerData) ProtoMessage()
- func (x *DeleteServerData) ProtoReflect() protoreflect.Message
- func (x *DeleteServerData) Reset()
- func (x *DeleteServerData) String() string
- func (m *DeleteServerData) Validate() error
- func (m *DeleteServerData) ValidateAll() error
- type DeleteServerDataMultiError
- type DeleteServerDataValidationError
- func (e DeleteServerDataValidationError) Cause() error
- func (e DeleteServerDataValidationError) Error() string
- func (e DeleteServerDataValidationError) ErrorName() string
- func (e DeleteServerDataValidationError) Field() string
- func (e DeleteServerDataValidationError) Key() bool
- func (e DeleteServerDataValidationError) Reason() string
- type DeleteServerReply
- func (*DeleteServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerReply) GetCode() int32
- func (x *DeleteServerReply) GetData() *DeleteServerData
- func (x *DeleteServerReply) GetMessage() string
- func (*DeleteServerReply) ProtoMessage()
- func (x *DeleteServerReply) ProtoReflect() protoreflect.Message
- func (x *DeleteServerReply) Reset()
- func (x *DeleteServerReply) String() string
- func (m *DeleteServerReply) Validate() error
- func (m *DeleteServerReply) ValidateAll() error
- type DeleteServerReplyMultiError
- type DeleteServerReplyValidationError
- func (e DeleteServerReplyValidationError) Cause() error
- func (e DeleteServerReplyValidationError) Error() string
- func (e DeleteServerReplyValidationError) ErrorName() string
- func (e DeleteServerReplyValidationError) Field() string
- func (e DeleteServerReplyValidationError) Key() bool
- func (e DeleteServerReplyValidationError) Reason() string
- type DeleteServerRequest
- func (*DeleteServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerRequest) GetId() int64
- func (*DeleteServerRequest) ProtoMessage()
- func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServerRequest) Reset()
- func (x *DeleteServerRequest) String() string
- func (m *DeleteServerRequest) Validate() error
- func (m *DeleteServerRequest) ValidateAll() error
- type DeleteServerRequestMultiError
- type DeleteServerRequestValidationError
- func (e DeleteServerRequestValidationError) Cause() error
- func (e DeleteServerRequestValidationError) Error() string
- func (e DeleteServerRequestValidationError) ErrorName() string
- func (e DeleteServerRequestValidationError) Field() string
- func (e DeleteServerRequestValidationError) Key() bool
- func (e DeleteServerRequestValidationError) Reason() string
- type FilterNodeListData
- func (*FilterNodeListData) Descriptor() ([]byte, []int)deprecated
- func (x *FilterNodeListData) GetList() []*Node
- func (x *FilterNodeListData) GetTotal() int32
- func (*FilterNodeListData) ProtoMessage()
- func (x *FilterNodeListData) ProtoReflect() protoreflect.Message
- func (x *FilterNodeListData) Reset()
- func (x *FilterNodeListData) String() string
- func (m *FilterNodeListData) Validate() error
- func (m *FilterNodeListData) ValidateAll() error
- type FilterNodeListDataMultiError
- type FilterNodeListDataValidationError
- func (e FilterNodeListDataValidationError) Cause() error
- func (e FilterNodeListDataValidationError) Error() string
- func (e FilterNodeListDataValidationError) ErrorName() string
- func (e FilterNodeListDataValidationError) Field() string
- func (e FilterNodeListDataValidationError) Key() bool
- func (e FilterNodeListDataValidationError) Reason() string
- type FilterNodeListReply
- func (*FilterNodeListReply) Descriptor() ([]byte, []int)deprecated
- func (x *FilterNodeListReply) GetCode() int32
- func (x *FilterNodeListReply) GetData() *FilterNodeListData
- func (x *FilterNodeListReply) GetMessage() string
- func (*FilterNodeListReply) ProtoMessage()
- func (x *FilterNodeListReply) ProtoReflect() protoreflect.Message
- func (x *FilterNodeListReply) Reset()
- func (x *FilterNodeListReply) String() string
- func (m *FilterNodeListReply) Validate() error
- func (m *FilterNodeListReply) ValidateAll() error
- type FilterNodeListReplyMultiError
- type FilterNodeListReplyValidationError
- func (e FilterNodeListReplyValidationError) Cause() error
- func (e FilterNodeListReplyValidationError) Error() string
- func (e FilterNodeListReplyValidationError) ErrorName() string
- func (e FilterNodeListReplyValidationError) Field() string
- func (e FilterNodeListReplyValidationError) Key() bool
- func (e FilterNodeListReplyValidationError) Reason() string
- type FilterNodeListRequest
- func (*FilterNodeListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterNodeListRequest) GetNodeGroupId() int64
- func (x *FilterNodeListRequest) GetPage() int32
- func (x *FilterNodeListRequest) GetSearch() string
- func (x *FilterNodeListRequest) GetSize() int32
- func (*FilterNodeListRequest) ProtoMessage()
- func (x *FilterNodeListRequest) ProtoReflect() protoreflect.Message
- func (x *FilterNodeListRequest) Reset()
- func (x *FilterNodeListRequest) String() string
- func (m *FilterNodeListRequest) Validate() error
- func (m *FilterNodeListRequest) ValidateAll() error
- type FilterNodeListRequestMultiError
- type FilterNodeListRequestValidationError
- func (e FilterNodeListRequestValidationError) Cause() error
- func (e FilterNodeListRequestValidationError) Error() string
- func (e FilterNodeListRequestValidationError) ErrorName() string
- func (e FilterNodeListRequestValidationError) Field() string
- func (e FilterNodeListRequestValidationError) Key() bool
- func (e FilterNodeListRequestValidationError) Reason() string
- type FilterServerListData
- func (*FilterServerListData) Descriptor() ([]byte, []int)deprecated
- func (x *FilterServerListData) GetList() []*Server
- func (x *FilterServerListData) GetTotal() int32
- func (*FilterServerListData) ProtoMessage()
- func (x *FilterServerListData) ProtoReflect() protoreflect.Message
- func (x *FilterServerListData) Reset()
- func (x *FilterServerListData) String() string
- func (m *FilterServerListData) Validate() error
- func (m *FilterServerListData) ValidateAll() error
- type FilterServerListDataMultiError
- type FilterServerListDataValidationError
- func (e FilterServerListDataValidationError) Cause() error
- func (e FilterServerListDataValidationError) Error() string
- func (e FilterServerListDataValidationError) ErrorName() string
- func (e FilterServerListDataValidationError) Field() string
- func (e FilterServerListDataValidationError) Key() bool
- func (e FilterServerListDataValidationError) Reason() string
- type FilterServerListReply
- func (*FilterServerListReply) Descriptor() ([]byte, []int)deprecated
- func (x *FilterServerListReply) GetCode() int32
- func (x *FilterServerListReply) GetData() *FilterServerListData
- func (x *FilterServerListReply) GetMessage() string
- func (*FilterServerListReply) ProtoMessage()
- func (x *FilterServerListReply) ProtoReflect() protoreflect.Message
- func (x *FilterServerListReply) Reset()
- func (x *FilterServerListReply) String() string
- func (m *FilterServerListReply) Validate() error
- func (m *FilterServerListReply) ValidateAll() error
- type FilterServerListReplyMultiError
- type FilterServerListReplyValidationError
- func (e FilterServerListReplyValidationError) Cause() error
- func (e FilterServerListReplyValidationError) Error() string
- func (e FilterServerListReplyValidationError) ErrorName() string
- func (e FilterServerListReplyValidationError) Field() string
- func (e FilterServerListReplyValidationError) Key() bool
- func (e FilterServerListReplyValidationError) Reason() string
- type FilterServerListRequest
- func (*FilterServerListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterServerListRequest) GetPage() int32
- func (x *FilterServerListRequest) GetSearch() string
- func (x *FilterServerListRequest) GetSize() int32
- func (*FilterServerListRequest) ProtoMessage()
- func (x *FilterServerListRequest) ProtoReflect() protoreflect.Message
- func (x *FilterServerListRequest) Reset()
- func (x *FilterServerListRequest) String() string
- func (m *FilterServerListRequest) Validate() error
- func (m *FilterServerListRequest) ValidateAll() error
- type FilterServerListRequestMultiError
- type FilterServerListRequestValidationError
- func (e FilterServerListRequestValidationError) Cause() error
- func (e FilterServerListRequestValidationError) Error() string
- func (e FilterServerListRequestValidationError) ErrorName() string
- func (e FilterServerListRequestValidationError) Field() string
- func (e FilterServerListRequestValidationError) Key() bool
- func (e FilterServerListRequestValidationError) Reason() string
- type GetServerProtocolsData
- func (*GetServerProtocolsData) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerProtocolsData) GetProtocols() []*Protocol
- func (*GetServerProtocolsData) ProtoMessage()
- func (x *GetServerProtocolsData) ProtoReflect() protoreflect.Message
- func (x *GetServerProtocolsData) Reset()
- func (x *GetServerProtocolsData) String() string
- func (m *GetServerProtocolsData) Validate() error
- func (m *GetServerProtocolsData) ValidateAll() error
- type GetServerProtocolsDataMultiError
- type GetServerProtocolsDataValidationError
- func (e GetServerProtocolsDataValidationError) Cause() error
- func (e GetServerProtocolsDataValidationError) Error() string
- func (e GetServerProtocolsDataValidationError) ErrorName() string
- func (e GetServerProtocolsDataValidationError) Field() string
- func (e GetServerProtocolsDataValidationError) Key() bool
- func (e GetServerProtocolsDataValidationError) Reason() string
- type GetServerProtocolsReply
- func (*GetServerProtocolsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerProtocolsReply) GetCode() int32
- func (x *GetServerProtocolsReply) GetData() *GetServerProtocolsData
- func (x *GetServerProtocolsReply) GetMessage() string
- func (*GetServerProtocolsReply) ProtoMessage()
- func (x *GetServerProtocolsReply) ProtoReflect() protoreflect.Message
- func (x *GetServerProtocolsReply) Reset()
- func (x *GetServerProtocolsReply) String() string
- func (m *GetServerProtocolsReply) Validate() error
- func (m *GetServerProtocolsReply) ValidateAll() error
- type GetServerProtocolsReplyMultiError
- type GetServerProtocolsReplyValidationError
- func (e GetServerProtocolsReplyValidationError) Cause() error
- func (e GetServerProtocolsReplyValidationError) Error() string
- func (e GetServerProtocolsReplyValidationError) ErrorName() string
- func (e GetServerProtocolsReplyValidationError) Field() string
- func (e GetServerProtocolsReplyValidationError) Key() bool
- func (e GetServerProtocolsReplyValidationError) Reason() string
- type GetServerProtocolsRequest
- func (*GetServerProtocolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerProtocolsRequest) GetId() int64
- func (*GetServerProtocolsRequest) ProtoMessage()
- func (x *GetServerProtocolsRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerProtocolsRequest) Reset()
- func (x *GetServerProtocolsRequest) String() string
- func (m *GetServerProtocolsRequest) Validate() error
- func (m *GetServerProtocolsRequest) ValidateAll() error
- type GetServerProtocolsRequestMultiError
- type GetServerProtocolsRequestValidationError
- func (e GetServerProtocolsRequestValidationError) Cause() error
- func (e GetServerProtocolsRequestValidationError) Error() string
- func (e GetServerProtocolsRequestValidationError) ErrorName() string
- func (e GetServerProtocolsRequestValidationError) Field() string
- func (e GetServerProtocolsRequestValidationError) Key() bool
- func (e GetServerProtocolsRequestValidationError) Reason() string
- type HasMigrateServerNodeData
- func (*HasMigrateServerNodeData) Descriptor() ([]byte, []int)deprecated
- func (x *HasMigrateServerNodeData) GetHasMigrate() bool
- func (*HasMigrateServerNodeData) ProtoMessage()
- func (x *HasMigrateServerNodeData) ProtoReflect() protoreflect.Message
- func (x *HasMigrateServerNodeData) Reset()
- func (x *HasMigrateServerNodeData) String() string
- func (m *HasMigrateServerNodeData) Validate() error
- func (m *HasMigrateServerNodeData) ValidateAll() error
- type HasMigrateServerNodeDataMultiError
- type HasMigrateServerNodeDataValidationError
- func (e HasMigrateServerNodeDataValidationError) Cause() error
- func (e HasMigrateServerNodeDataValidationError) Error() string
- func (e HasMigrateServerNodeDataValidationError) ErrorName() string
- func (e HasMigrateServerNodeDataValidationError) Field() string
- func (e HasMigrateServerNodeDataValidationError) Key() bool
- func (e HasMigrateServerNodeDataValidationError) Reason() string
- type HasMigrateServerNodeReply
- func (*HasMigrateServerNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *HasMigrateServerNodeReply) GetCode() int32
- func (x *HasMigrateServerNodeReply) GetData() *HasMigrateServerNodeData
- func (x *HasMigrateServerNodeReply) GetMessage() string
- func (*HasMigrateServerNodeReply) ProtoMessage()
- func (x *HasMigrateServerNodeReply) ProtoReflect() protoreflect.Message
- func (x *HasMigrateServerNodeReply) Reset()
- func (x *HasMigrateServerNodeReply) String() string
- func (m *HasMigrateServerNodeReply) Validate() error
- func (m *HasMigrateServerNodeReply) ValidateAll() error
- type HasMigrateServerNodeReplyMultiError
- type HasMigrateServerNodeReplyValidationError
- func (e HasMigrateServerNodeReplyValidationError) Cause() error
- func (e HasMigrateServerNodeReplyValidationError) Error() string
- func (e HasMigrateServerNodeReplyValidationError) ErrorName() string
- func (e HasMigrateServerNodeReplyValidationError) Field() string
- func (e HasMigrateServerNodeReplyValidationError) Key() bool
- func (e HasMigrateServerNodeReplyValidationError) Reason() string
- type HasMigrateServerNodeRequest
- func (*HasMigrateServerNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (*HasMigrateServerNodeRequest) ProtoMessage()
- func (x *HasMigrateServerNodeRequest) ProtoReflect() protoreflect.Message
- func (x *HasMigrateServerNodeRequest) Reset()
- func (x *HasMigrateServerNodeRequest) String() string
- func (m *HasMigrateServerNodeRequest) Validate() error
- func (m *HasMigrateServerNodeRequest) ValidateAll() error
- type HasMigrateServerNodeRequestMultiError
- type HasMigrateServerNodeRequestValidationError
- func (e HasMigrateServerNodeRequestValidationError) Cause() error
- func (e HasMigrateServerNodeRequestValidationError) Error() string
- func (e HasMigrateServerNodeRequestValidationError) ErrorName() string
- func (e HasMigrateServerNodeRequestValidationError) Field() string
- func (e HasMigrateServerNodeRequestValidationError) Key() bool
- func (e HasMigrateServerNodeRequestValidationError) Reason() string
- type MigrateServerNodeData
- func (*MigrateServerNodeData) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateServerNodeData) GetFail() uint64
- func (x *MigrateServerNodeData) GetSuccess() uint64
- func (*MigrateServerNodeData) ProtoMessage()
- func (x *MigrateServerNodeData) ProtoReflect() protoreflect.Message
- func (x *MigrateServerNodeData) Reset()
- func (x *MigrateServerNodeData) String() string
- func (m *MigrateServerNodeData) Validate() error
- func (m *MigrateServerNodeData) ValidateAll() error
- type MigrateServerNodeDataMultiError
- type MigrateServerNodeDataValidationError
- func (e MigrateServerNodeDataValidationError) Cause() error
- func (e MigrateServerNodeDataValidationError) Error() string
- func (e MigrateServerNodeDataValidationError) ErrorName() string
- func (e MigrateServerNodeDataValidationError) Field() string
- func (e MigrateServerNodeDataValidationError) Key() bool
- func (e MigrateServerNodeDataValidationError) Reason() string
- type MigrateServerNodeReply
- func (*MigrateServerNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateServerNodeReply) GetCode() int32
- func (x *MigrateServerNodeReply) GetData() *MigrateServerNodeData
- func (x *MigrateServerNodeReply) GetMessage() string
- func (*MigrateServerNodeReply) ProtoMessage()
- func (x *MigrateServerNodeReply) ProtoReflect() protoreflect.Message
- func (x *MigrateServerNodeReply) Reset()
- func (x *MigrateServerNodeReply) String() string
- func (m *MigrateServerNodeReply) Validate() error
- func (m *MigrateServerNodeReply) ValidateAll() error
- type MigrateServerNodeReplyMultiError
- type MigrateServerNodeReplyValidationError
- func (e MigrateServerNodeReplyValidationError) Cause() error
- func (e MigrateServerNodeReplyValidationError) Error() string
- func (e MigrateServerNodeReplyValidationError) ErrorName() string
- func (e MigrateServerNodeReplyValidationError) Field() string
- func (e MigrateServerNodeReplyValidationError) Key() bool
- func (e MigrateServerNodeReplyValidationError) Reason() string
- type MigrateServerNodeRequest
- func (*MigrateServerNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (*MigrateServerNodeRequest) ProtoMessage()
- func (x *MigrateServerNodeRequest) ProtoReflect() protoreflect.Message
- func (x *MigrateServerNodeRequest) Reset()
- func (x *MigrateServerNodeRequest) String() string
- func (m *MigrateServerNodeRequest) Validate() error
- func (m *MigrateServerNodeRequest) ValidateAll() error
- type MigrateServerNodeRequestMultiError
- type MigrateServerNodeRequestValidationError
- func (e MigrateServerNodeRequestValidationError) Cause() error
- func (e MigrateServerNodeRequestValidationError) Error() string
- func (e MigrateServerNodeRequestValidationError) ErrorName() string
- func (e MigrateServerNodeRequestValidationError) Field() string
- func (e MigrateServerNodeRequestValidationError) Key() bool
- func (e MigrateServerNodeRequestValidationError) Reason() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAddress() string
- func (x *Node) GetCreatedAt() int64
- func (x *Node) GetEnabled() bool
- func (x *Node) GetId() int64
- func (x *Node) GetIsHidden() bool
- func (x *Node) GetName() string
- func (x *Node) GetNodeGroupId() int64
- func (x *Node) GetNodeGroupIds() []int64
- func (x *Node) GetNodeType() string
- func (x *Node) GetPort() uint32
- func (x *Node) GetProtocol() string
- func (x *Node) GetServerId() int64
- func (x *Node) GetSort() int32
- func (x *Node) GetTags() []string
- func (x *Node) GetUpdatedAt() int64
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (m *Node) Validate() error
- func (m *Node) ValidateAll() error
- type NodeMultiError
- type NodeValidationError
- type Protocol
- func (*Protocol) Descriptor() ([]byte, []int)deprecated
- func (x *Protocol) GetAllowInsecure() bool
- func (x *Protocol) GetCertDnsEnv() string
- func (x *Protocol) GetCertDnsProvider() string
- func (x *Protocol) GetCertMode() string
- func (x *Protocol) GetCipher() string
- func (x *Protocol) GetCongestionController() string
- func (x *Protocol) GetDisableSni() bool
- func (x *Protocol) GetDownMbps() int32
- func (x *Protocol) GetEnable() bool
- func (x *Protocol) GetEncryption() string
- func (x *Protocol) GetEncryptionClientPadding() string
- func (x *Protocol) GetEncryptionMode() string
- func (x *Protocol) GetEncryptionPassword() string
- func (x *Protocol) GetEncryptionPrivateKey() string
- func (x *Protocol) GetEncryptionRtt() string
- func (x *Protocol) GetEncryptionServerPadding() string
- func (x *Protocol) GetEncryptionTicket() string
- func (x *Protocol) GetFingerprint() string
- func (x *Protocol) GetFlow() string
- func (x *Protocol) GetHopInterval() int32
- func (x *Protocol) GetHopPorts() string
- func (x *Protocol) GetHost() string
- func (x *Protocol) GetMc1CidrSegments() []string
- func (x *Protocol) GetMc1Mode() string
- func (x *Protocol) GetMultiplex() string
- func (x *Protocol) GetMundoAcceptProxyProtocol() bool
- func (x *Protocol) GetMundoCertificateFingerprint() string
- func (x *Protocol) GetMundoFakeMessage() string
- func (x *Protocol) GetMundoFakeTitle() string
- func (x *Protocol) GetMundoUseTlsCertificate() bool
- func (x *Protocol) GetMundoUsername() string
- func (x *Protocol) GetObfs() string
- func (x *Protocol) GetObfsHost() string
- func (x *Protocol) GetObfsPassword() string
- func (x *Protocol) GetObfsPath() string
- func (x *Protocol) GetOmniflowAdaptiveTlsEnabled() bool
- func (x *Protocol) GetOmniflowAfEnabled() bool
- func (x *Protocol) GetOmniflowAfPathMode() string
- func (x *Protocol) GetOmniflowAfPathPrefix() string
- func (x *Protocol) GetOmniflowAfPathRotationSecs() int32
- func (x *Protocol) GetOmniflowAfPathSkewSlots() int32
- func (x *Protocol) GetOmniflowAfPathSuffix() string
- func (x *Protocol) GetOmniflowCaCertPath() string
- func (x *Protocol) GetOmniflowCarrier() string
- func (x *Protocol) GetOmniflowContentType() string
- func (x *Protocol) GetOmniflowFallbackCarrierEnabled() bool
- func (x *Protocol) GetOmniflowFallbackConnectTunnel() bool
- func (x *Protocol) GetOmniflowFallbackEnabled() bool
- func (x *Protocol) GetOmniflowFallbackHostHeader() string
- func (x *Protocol) GetOmniflowFallbackTargetHost() string
- func (x *Protocol) GetOmniflowFallbackTargetPort() int32
- func (x *Protocol) GetOmniflowFallbackTargetScheme() string
- func (x *Protocol) GetOmniflowFallbackTlsSni() string
- func (x *Protocol) GetOmniflowFallbackWssEnabled() bool
- func (x *Protocol) GetOmniflowH3FallbackEnabled() bool
- func (x *Protocol) GetOmniflowH3FallbackPolicy() string
- func (x *Protocol) GetOmniflowH3FallbackRetryBudget() int32
- func (x *Protocol) GetOmniflowH3FallbackSmokeEnabled() bool
- func (x *Protocol) GetOmniflowH3FallbackSmokeIntervalSec() int32
- func (x *Protocol) GetOmniflowH3FallbackSmokeTimeoutMs() int32
- func (x *Protocol) GetOmniflowH3FallbackTimeoutMs() int32
- func (x *Protocol) GetOmniflowIdleTimeoutSec() int32
- func (x *Protocol) GetOmniflowMaxAgeSec() int32
- func (x *Protocol) GetOmniflowMaxConnections() int32
- func (x *Protocol) GetOmniflowPaddingMode() string
- func (x *Protocol) GetOmniflowPath() string
- func (x *Protocol) GetOmniflowProfileJson() string
- func (x *Protocol) GetOmniflowProfilePath() string
- func (x *Protocol) GetOmniflowServerHost() string
- func (x *Protocol) GetOmniflowServerPort() int32
- func (x *Protocol) GetOmniflowSniMode() string
- func (x *Protocol) GetOmniflowSpkiPin() string
- func (x *Protocol) GetOmniflowTargetMeta() string
- func (x *Protocol) GetOmniflowTlsFingerprint() string
- func (x *Protocol) GetOmniflowTrafficShapingEnabled() bool
- func (x *Protocol) GetPaddingScheme() string
- func (x *Protocol) GetPath() string
- func (x *Protocol) GetPort() int32
- func (x *Protocol) GetRatio() float64
- func (x *Protocol) GetRealityPrivateKey() string
- func (x *Protocol) GetRealityPublicKey() string
- func (x *Protocol) GetRealityServerAddr() string
- func (x *Protocol) GetRealityServerPort() int32
- func (x *Protocol) GetRealityShortId() string
- func (x *Protocol) GetReduceRtt() bool
- func (x *Protocol) GetSecurity() string
- func (x *Protocol) GetServerKey() string
- func (x *Protocol) GetServiceName() string
- func (x *Protocol) GetSimnetAfEnabled() bool
- func (x *Protocol) GetSimnetAfFakeHeaderInjection() bool
- func (x *Protocol) GetSimnetAfHandshakePolymorphism() bool
- func (x *Protocol) GetSimnetAfMagicMode() string
- func (x *Protocol) GetSimnetAfPathMode() string
- func (x *Protocol) GetSimnetAfPathPrefix() string
- func (x *Protocol) GetSimnetAfPathSuffix() string
- func (x *Protocol) GetSimnetAfResponseJitterMs() int32
- func (x *Protocol) GetSimnetAfSettingsJitter() bool
- func (x *Protocol) GetSimnetCarrier() string
- func (x *Protocol) GetSimnetClientMaxConcurrentStreams() int32
- func (x *Protocol) GetSimnetClientMaxStreamsPerSession() int32
- func (x *Protocol) GetSimnetClientMaxUdpSessions() int32
- func (x *Protocol) GetSimnetClientSessionIdleTimeoutSecs() int32
- func (x *Protocol) GetSimnetEgressBlockLinkLocal() bool
- func (x *Protocol) GetSimnetEgressBlockLoopback() bool
- func (x *Protocol) GetSimnetEgressBlockMetadata() bool
- func (x *Protocol) GetSimnetEgressBlockPrivate() bool
- func (x *Protocol) GetSimnetFallbackEnabled() bool
- func (x *Protocol) GetSimnetFallbackHostHeader() string
- func (x *Protocol) GetSimnetFallbackTargetHost() string
- func (x *Protocol) GetSimnetFallbackTargetPort() int32
- func (x *Protocol) GetSimnetFallbackTargetScheme() string
- func (x *Protocol) GetSimnetFallbackTlsSni() string
- func (x *Protocol) GetSimnetInboundMaxHandlerTasksPerSession() int32
- func (x *Protocol) GetSimnetInboundMaxStreamsPerSession() int32
- func (x *Protocol) GetSimnetInboundMaxUdpStreamsPerSession() int32
- func (x *Protocol) GetSimnetInitialWindowSize() int32
- func (x *Protocol) GetSimnetKeyId() int32
- func (x *Protocol) GetSimnetMaxConcurrentStreams() int32
- func (x *Protocol) GetSimnetMaxFrameSize() int32
- func (x *Protocol) GetSimnetPath() string
- func (x *Protocol) GetSimnetPsk() string
- func (x *Protocol) GetSimnetRecvWindow() int32
- func (x *Protocol) GetSimnetReverseEnabled() bool
- func (x *Protocol) GetSimnetReverseListenAddr() string
- func (x *Protocol) GetSimnetReverseListenPort() int32
- func (x *Protocol) GetSimnetReverseTargetHost() string
- func (x *Protocol) GetSimnetReverseTargetPort() int32
- func (x *Protocol) GetSimnetSendWindow() int32
- func (x *Protocol) GetSimnetStreamDataChannelCapacity() int32
- func (x *Protocol) GetSimnetStreamEventChannelCapacity() int32
- func (x *Protocol) GetSimnetTargetDialTimeoutMs() int32
- func (x *Protocol) GetSimnetTargetMaxConcurrentDials() int32
- func (x *Protocol) GetSimnetTicketId() string
- func (x *Protocol) GetSni() string
- func (x *Protocol) GetTransport() string
- func (x *Protocol) GetType() string
- func (x *Protocol) GetUdpRelayMode() string
- func (x *Protocol) GetUpMbps() int32
- func (x *Protocol) GetXhttpExtra() string
- func (x *Protocol) GetXhttpMode() string
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) String() string
- func (m *Protocol) Validate() error
- func (m *Protocol) ValidateAll() error
- type ProtocolMultiError
- type ProtocolValidationError
- type QueryNodeTagData
- func (*QueryNodeTagData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNodeTagData) GetTags() []string
- func (*QueryNodeTagData) ProtoMessage()
- func (x *QueryNodeTagData) ProtoReflect() protoreflect.Message
- func (x *QueryNodeTagData) Reset()
- func (x *QueryNodeTagData) String() string
- func (m *QueryNodeTagData) Validate() error
- func (m *QueryNodeTagData) ValidateAll() error
- type QueryNodeTagDataMultiError
- type QueryNodeTagDataValidationError
- func (e QueryNodeTagDataValidationError) Cause() error
- func (e QueryNodeTagDataValidationError) Error() string
- func (e QueryNodeTagDataValidationError) ErrorName() string
- func (e QueryNodeTagDataValidationError) Field() string
- func (e QueryNodeTagDataValidationError) Key() bool
- func (e QueryNodeTagDataValidationError) Reason() string
- type QueryNodeTagReply
- func (*QueryNodeTagReply) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNodeTagReply) GetCode() int32
- func (x *QueryNodeTagReply) GetData() *QueryNodeTagData
- func (x *QueryNodeTagReply) GetMessage() string
- func (*QueryNodeTagReply) ProtoMessage()
- func (x *QueryNodeTagReply) ProtoReflect() protoreflect.Message
- func (x *QueryNodeTagReply) Reset()
- func (x *QueryNodeTagReply) String() string
- func (m *QueryNodeTagReply) Validate() error
- func (m *QueryNodeTagReply) ValidateAll() error
- type QueryNodeTagReplyMultiError
- type QueryNodeTagReplyValidationError
- func (e QueryNodeTagReplyValidationError) Cause() error
- func (e QueryNodeTagReplyValidationError) Error() string
- func (e QueryNodeTagReplyValidationError) ErrorName() string
- func (e QueryNodeTagReplyValidationError) Field() string
- func (e QueryNodeTagReplyValidationError) Key() bool
- func (e QueryNodeTagReplyValidationError) Reason() string
- type QueryNodeTagRequest
- func (*QueryNodeTagRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryNodeTagRequest) ProtoMessage()
- func (x *QueryNodeTagRequest) ProtoReflect() protoreflect.Message
- func (x *QueryNodeTagRequest) Reset()
- func (x *QueryNodeTagRequest) String() string
- func (m *QueryNodeTagRequest) Validate() error
- func (m *QueryNodeTagRequest) ValidateAll() error
- type QueryNodeTagRequestMultiError
- type QueryNodeTagRequestValidationError
- func (e QueryNodeTagRequestValidationError) Cause() error
- func (e QueryNodeTagRequestValidationError) Error() string
- func (e QueryNodeTagRequestValidationError) ErrorName() string
- func (e QueryNodeTagRequestValidationError) Field() string
- func (e QueryNodeTagRequestValidationError) Key() bool
- func (e QueryNodeTagRequestValidationError) Reason() string
- type ResetSortData
- func (*ResetSortData) Descriptor() ([]byte, []int)deprecated
- func (x *ResetSortData) GetSuccess() bool
- func (*ResetSortData) ProtoMessage()
- func (x *ResetSortData) ProtoReflect() protoreflect.Message
- func (x *ResetSortData) Reset()
- func (x *ResetSortData) String() string
- func (m *ResetSortData) Validate() error
- func (m *ResetSortData) ValidateAll() error
- type ResetSortDataMultiError
- type ResetSortDataValidationError
- func (e ResetSortDataValidationError) Cause() error
- func (e ResetSortDataValidationError) Error() string
- func (e ResetSortDataValidationError) ErrorName() string
- func (e ResetSortDataValidationError) Field() string
- func (e ResetSortDataValidationError) Key() bool
- func (e ResetSortDataValidationError) Reason() string
- type ResetSortReply
- func (*ResetSortReply) Descriptor() ([]byte, []int)deprecated
- func (x *ResetSortReply) GetCode() int32
- func (x *ResetSortReply) GetData() *ResetSortData
- func (x *ResetSortReply) GetMessage() string
- func (*ResetSortReply) ProtoMessage()
- func (x *ResetSortReply) ProtoReflect() protoreflect.Message
- func (x *ResetSortReply) Reset()
- func (x *ResetSortReply) String() string
- func (m *ResetSortReply) Validate() error
- func (m *ResetSortReply) ValidateAll() error
- type ResetSortReplyMultiError
- type ResetSortReplyValidationError
- func (e ResetSortReplyValidationError) Cause() error
- func (e ResetSortReplyValidationError) Error() string
- func (e ResetSortReplyValidationError) ErrorName() string
- func (e ResetSortReplyValidationError) Field() string
- func (e ResetSortReplyValidationError) Key() bool
- func (e ResetSortReplyValidationError) Reason() string
- type ResetSortRequest
- func (*ResetSortRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetSortRequest) GetSort() []*SortItem
- func (*ResetSortRequest) ProtoMessage()
- func (x *ResetSortRequest) ProtoReflect() protoreflect.Message
- func (x *ResetSortRequest) Reset()
- func (x *ResetSortRequest) String() string
- func (m *ResetSortRequest) Validate() error
- func (m *ResetSortRequest) ValidateAll() error
- type ResetSortRequestMultiError
- type ResetSortRequestValidationError
- func (e ResetSortRequestValidationError) Cause() error
- func (e ResetSortRequestValidationError) Error() string
- func (e ResetSortRequestValidationError) ErrorName() string
- func (e ResetSortRequestValidationError) Field() string
- func (e ResetSortRequestValidationError) Key() bool
- func (e ResetSortRequestValidationError) Reason() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAddress() string
- func (x *Server) GetCity() string
- func (x *Server) GetCountry() string
- func (x *Server) GetCreatedAt() int64
- func (x *Server) GetId() int64
- func (x *Server) GetLastReportedAt() int64
- func (x *Server) GetName() string
- func (x *Server) GetProtocols() []*Protocol
- func (x *Server) GetSort() int32
- func (x *Server) GetStatus() *ServerStatus
- func (x *Server) GetUpdatedAt() int64
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- func (m *Server) Validate() error
- func (m *Server) ValidateAll() error
- type ServerMultiError
- type ServerOnlineIP
- func (*ServerOnlineIP) Descriptor() ([]byte, []int)deprecated
- func (x *ServerOnlineIP) GetIp() string
- func (x *ServerOnlineIP) GetProtocol() string
- func (*ServerOnlineIP) ProtoMessage()
- func (x *ServerOnlineIP) ProtoReflect() protoreflect.Message
- func (x *ServerOnlineIP) Reset()
- func (x *ServerOnlineIP) String() string
- func (m *ServerOnlineIP) Validate() error
- func (m *ServerOnlineIP) ValidateAll() error
- type ServerOnlineIPMultiError
- type ServerOnlineIPValidationError
- func (e ServerOnlineIPValidationError) Cause() error
- func (e ServerOnlineIPValidationError) Error() string
- func (e ServerOnlineIPValidationError) ErrorName() string
- func (e ServerOnlineIPValidationError) Field() string
- func (e ServerOnlineIPValidationError) Key() bool
- func (e ServerOnlineIPValidationError) Reason() string
- type ServerOnlineUser
- func (*ServerOnlineUser) Descriptor() ([]byte, []int)deprecated
- func (x *ServerOnlineUser) GetExpiredAt() int64
- func (x *ServerOnlineUser) GetIp() []*ServerOnlineIP
- func (x *ServerOnlineUser) GetSubscribe() string
- func (x *ServerOnlineUser) GetSubscribeId() int64
- func (x *ServerOnlineUser) GetTraffic() int64
- func (x *ServerOnlineUser) GetUserId() int64
- func (*ServerOnlineUser) ProtoMessage()
- func (x *ServerOnlineUser) ProtoReflect() protoreflect.Message
- func (x *ServerOnlineUser) Reset()
- func (x *ServerOnlineUser) String() string
- func (m *ServerOnlineUser) Validate() error
- func (m *ServerOnlineUser) ValidateAll() error
- type ServerOnlineUserMultiError
- type ServerOnlineUserValidationError
- func (e ServerOnlineUserValidationError) Cause() error
- func (e ServerOnlineUserValidationError) Error() string
- func (e ServerOnlineUserValidationError) ErrorName() string
- func (e ServerOnlineUserValidationError) Field() string
- func (e ServerOnlineUserValidationError) Key() bool
- func (e ServerOnlineUserValidationError) Reason() string
- type ServerServiceClient
- type ServerServiceHTTPClient
- type ServerServiceHTTPClientImpl
- func (c *ServerServiceHTTPClientImpl) CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...http.CallOption) (*CreateNodeReply, error)
- func (c *ServerServiceHTTPClientImpl) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...http.CallOption) (*CreateServerReply, error)
- func (c *ServerServiceHTTPClientImpl) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...http.CallOption) (*DeleteNodeReply, error)
- func (c *ServerServiceHTTPClientImpl) DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...http.CallOption) (*DeleteServerReply, error)
- func (c *ServerServiceHTTPClientImpl) FilterNodeList(ctx context.Context, in *FilterNodeListRequest, opts ...http.CallOption) (*FilterNodeListReply, error)
- func (c *ServerServiceHTTPClientImpl) FilterServerList(ctx context.Context, in *FilterServerListRequest, opts ...http.CallOption) (*FilterServerListReply, error)
- func (c *ServerServiceHTTPClientImpl) GetServerProtocols(ctx context.Context, in *GetServerProtocolsRequest, opts ...http.CallOption) (*GetServerProtocolsReply, error)
- func (c *ServerServiceHTTPClientImpl) HasMigrateServerNode(ctx context.Context, in *HasMigrateServerNodeRequest, opts ...http.CallOption) (*HasMigrateServerNodeReply, error)
- func (c *ServerServiceHTTPClientImpl) MigrateServerNode(ctx context.Context, in *MigrateServerNodeRequest, opts ...http.CallOption) (*MigrateServerNodeReply, error)
- func (c *ServerServiceHTTPClientImpl) QueryNodeTag(ctx context.Context, in *QueryNodeTagRequest, opts ...http.CallOption) (*QueryNodeTagReply, error)
- func (c *ServerServiceHTTPClientImpl) ResetSortWithNode(ctx context.Context, in *ResetSortRequest, opts ...http.CallOption) (*ResetSortReply, error)
- func (c *ServerServiceHTTPClientImpl) ResetSortWithServer(ctx context.Context, in *ResetSortRequest, opts ...http.CallOption) (*ResetSortReply, error)
- func (c *ServerServiceHTTPClientImpl) ToggleNodeStatus(ctx context.Context, in *ToggleNodeStatusRequest, opts ...http.CallOption) (*ToggleNodeStatusReply, error)
- func (c *ServerServiceHTTPClientImpl) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...http.CallOption) (*UpdateNodeReply, error)
- func (c *ServerServiceHTTPClientImpl) UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...http.CallOption) (*UpdateServerReply, error)
- type ServerServiceHTTPServer
- type ServerServiceServer
- type ServerStatus
- func (*ServerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStatus) GetCpu() float64
- func (x *ServerStatus) GetDisk() float64
- func (x *ServerStatus) GetMem() float64
- func (x *ServerStatus) GetOnline() []*ServerOnlineUser
- func (x *ServerStatus) GetProtocol() string
- func (x *ServerStatus) GetStatus() string
- func (*ServerStatus) ProtoMessage()
- func (x *ServerStatus) ProtoReflect() protoreflect.Message
- func (x *ServerStatus) Reset()
- func (x *ServerStatus) String() string
- func (m *ServerStatus) Validate() error
- func (m *ServerStatus) ValidateAll() error
- type ServerStatusMultiError
- type ServerStatusValidationError
- func (e ServerStatusValidationError) Cause() error
- func (e ServerStatusValidationError) Error() string
- func (e ServerStatusValidationError) ErrorName() string
- func (e ServerStatusValidationError) Field() string
- func (e ServerStatusValidationError) Key() bool
- func (e ServerStatusValidationError) Reason() string
- type ServerValidationError
- type SortItem
- func (*SortItem) Descriptor() ([]byte, []int)deprecated
- func (x *SortItem) GetId() int64
- func (x *SortItem) GetSort() int32
- func (*SortItem) ProtoMessage()
- func (x *SortItem) ProtoReflect() protoreflect.Message
- func (x *SortItem) Reset()
- func (x *SortItem) String() string
- func (m *SortItem) Validate() error
- func (m *SortItem) ValidateAll() error
- type SortItemMultiError
- type SortItemValidationError
- type ToggleNodeStatusData
- func (*ToggleNodeStatusData) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleNodeStatusData) GetNode() *Node
- func (*ToggleNodeStatusData) ProtoMessage()
- func (x *ToggleNodeStatusData) ProtoReflect() protoreflect.Message
- func (x *ToggleNodeStatusData) Reset()
- func (x *ToggleNodeStatusData) String() string
- func (m *ToggleNodeStatusData) Validate() error
- func (m *ToggleNodeStatusData) ValidateAll() error
- type ToggleNodeStatusDataMultiError
- type ToggleNodeStatusDataValidationError
- func (e ToggleNodeStatusDataValidationError) Cause() error
- func (e ToggleNodeStatusDataValidationError) Error() string
- func (e ToggleNodeStatusDataValidationError) ErrorName() string
- func (e ToggleNodeStatusDataValidationError) Field() string
- func (e ToggleNodeStatusDataValidationError) Key() bool
- func (e ToggleNodeStatusDataValidationError) Reason() string
- type ToggleNodeStatusReply
- func (*ToggleNodeStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleNodeStatusReply) GetCode() int32
- func (x *ToggleNodeStatusReply) GetData() *ToggleNodeStatusData
- func (x *ToggleNodeStatusReply) GetMessage() string
- func (*ToggleNodeStatusReply) ProtoMessage()
- func (x *ToggleNodeStatusReply) ProtoReflect() protoreflect.Message
- func (x *ToggleNodeStatusReply) Reset()
- func (x *ToggleNodeStatusReply) String() string
- func (m *ToggleNodeStatusReply) Validate() error
- func (m *ToggleNodeStatusReply) ValidateAll() error
- type ToggleNodeStatusReplyMultiError
- type ToggleNodeStatusReplyValidationError
- func (e ToggleNodeStatusReplyValidationError) Cause() error
- func (e ToggleNodeStatusReplyValidationError) Error() string
- func (e ToggleNodeStatusReplyValidationError) ErrorName() string
- func (e ToggleNodeStatusReplyValidationError) Field() string
- func (e ToggleNodeStatusReplyValidationError) Key() bool
- func (e ToggleNodeStatusReplyValidationError) Reason() string
- type ToggleNodeStatusRequest
- func (*ToggleNodeStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleNodeStatusRequest) GetEnable() bool
- func (x *ToggleNodeStatusRequest) GetId() int64
- func (*ToggleNodeStatusRequest) ProtoMessage()
- func (x *ToggleNodeStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleNodeStatusRequest) Reset()
- func (x *ToggleNodeStatusRequest) String() string
- func (m *ToggleNodeStatusRequest) Validate() error
- func (m *ToggleNodeStatusRequest) ValidateAll() error
- type ToggleNodeStatusRequestMultiError
- type ToggleNodeStatusRequestValidationError
- func (e ToggleNodeStatusRequestValidationError) Cause() error
- func (e ToggleNodeStatusRequestValidationError) Error() string
- func (e ToggleNodeStatusRequestValidationError) ErrorName() string
- func (e ToggleNodeStatusRequestValidationError) Field() string
- func (e ToggleNodeStatusRequestValidationError) Key() bool
- func (e ToggleNodeStatusRequestValidationError) Reason() string
- type UnimplementedServerServiceServer
- func (UnimplementedServerServiceServer) CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeReply, error)
- func (UnimplementedServerServiceServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerReply, error)
- func (UnimplementedServerServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeReply, error)
- func (UnimplementedServerServiceServer) DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerReply, error)
- func (UnimplementedServerServiceServer) FilterNodeList(context.Context, *FilterNodeListRequest) (*FilterNodeListReply, error)
- func (UnimplementedServerServiceServer) FilterServerList(context.Context, *FilterServerListRequest) (*FilterServerListReply, error)
- func (UnimplementedServerServiceServer) GetServerProtocols(context.Context, *GetServerProtocolsRequest) (*GetServerProtocolsReply, error)
- func (UnimplementedServerServiceServer) HasMigrateServerNode(context.Context, *HasMigrateServerNodeRequest) (*HasMigrateServerNodeReply, error)
- func (UnimplementedServerServiceServer) MigrateServerNode(context.Context, *MigrateServerNodeRequest) (*MigrateServerNodeReply, error)
- func (UnimplementedServerServiceServer) QueryNodeTag(context.Context, *QueryNodeTagRequest) (*QueryNodeTagReply, error)
- func (UnimplementedServerServiceServer) ResetSortWithNode(context.Context, *ResetSortRequest) (*ResetSortReply, error)
- func (UnimplementedServerServiceServer) ResetSortWithServer(context.Context, *ResetSortRequest) (*ResetSortReply, error)
- func (UnimplementedServerServiceServer) ToggleNodeStatus(context.Context, *ToggleNodeStatusRequest) (*ToggleNodeStatusReply, error)
- func (UnimplementedServerServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeReply, error)
- func (UnimplementedServerServiceServer) UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerReply, error)
- type UnsafeServerServiceServer
- type UpdateNodeData
- func (*UpdateNodeData) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeData) GetNode() *Node
- func (*UpdateNodeData) ProtoMessage()
- func (x *UpdateNodeData) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeData) Reset()
- func (x *UpdateNodeData) String() string
- func (m *UpdateNodeData) Validate() error
- func (m *UpdateNodeData) ValidateAll() error
- type UpdateNodeDataMultiError
- type UpdateNodeDataValidationError
- func (e UpdateNodeDataValidationError) Cause() error
- func (e UpdateNodeDataValidationError) Error() string
- func (e UpdateNodeDataValidationError) ErrorName() string
- func (e UpdateNodeDataValidationError) Field() string
- func (e UpdateNodeDataValidationError) Key() bool
- func (e UpdateNodeDataValidationError) Reason() string
- type UpdateNodeReply
- func (*UpdateNodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeReply) GetCode() int32
- func (x *UpdateNodeReply) GetData() *UpdateNodeData
- func (x *UpdateNodeReply) GetMessage() string
- func (*UpdateNodeReply) ProtoMessage()
- func (x *UpdateNodeReply) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeReply) Reset()
- func (x *UpdateNodeReply) String() string
- func (m *UpdateNodeReply) Validate() error
- func (m *UpdateNodeReply) ValidateAll() error
- type UpdateNodeReplyMultiError
- type UpdateNodeReplyValidationError
- func (e UpdateNodeReplyValidationError) Cause() error
- func (e UpdateNodeReplyValidationError) Error() string
- func (e UpdateNodeReplyValidationError) ErrorName() string
- func (e UpdateNodeReplyValidationError) Field() string
- func (e UpdateNodeReplyValidationError) Key() bool
- func (e UpdateNodeReplyValidationError) Reason() string
- type UpdateNodeRequest
- func (*UpdateNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeRequest) GetAddress() string
- func (x *UpdateNodeRequest) GetEnabled() bool
- func (x *UpdateNodeRequest) GetId() int64
- func (x *UpdateNodeRequest) GetIsHidden() bool
- func (x *UpdateNodeRequest) GetName() string
- func (x *UpdateNodeRequest) GetNodeGroupIds() []int64
- func (x *UpdateNodeRequest) GetNodeType() string
- func (x *UpdateNodeRequest) GetPort() uint32
- func (x *UpdateNodeRequest) GetProtocol() string
- func (x *UpdateNodeRequest) GetServerId() int64
- func (x *UpdateNodeRequest) GetTags() []string
- func (*UpdateNodeRequest) ProtoMessage()
- func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeRequest) Reset()
- func (x *UpdateNodeRequest) String() string
- func (m *UpdateNodeRequest) Validate() error
- func (m *UpdateNodeRequest) ValidateAll() error
- type UpdateNodeRequestMultiError
- type UpdateNodeRequestValidationError
- func (e UpdateNodeRequestValidationError) Cause() error
- func (e UpdateNodeRequestValidationError) Error() string
- func (e UpdateNodeRequestValidationError) ErrorName() string
- func (e UpdateNodeRequestValidationError) Field() string
- func (e UpdateNodeRequestValidationError) Key() bool
- func (e UpdateNodeRequestValidationError) Reason() string
- type UpdateServerData
- func (*UpdateServerData) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerData) GetServer() *Server
- func (*UpdateServerData) ProtoMessage()
- func (x *UpdateServerData) ProtoReflect() protoreflect.Message
- func (x *UpdateServerData) Reset()
- func (x *UpdateServerData) String() string
- func (m *UpdateServerData) Validate() error
- func (m *UpdateServerData) ValidateAll() error
- type UpdateServerDataMultiError
- type UpdateServerDataValidationError
- func (e UpdateServerDataValidationError) Cause() error
- func (e UpdateServerDataValidationError) Error() string
- func (e UpdateServerDataValidationError) ErrorName() string
- func (e UpdateServerDataValidationError) Field() string
- func (e UpdateServerDataValidationError) Key() bool
- func (e UpdateServerDataValidationError) Reason() string
- type UpdateServerReply
- func (*UpdateServerReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerReply) GetCode() int32
- func (x *UpdateServerReply) GetData() *UpdateServerData
- func (x *UpdateServerReply) GetMessage() string
- func (*UpdateServerReply) ProtoMessage()
- func (x *UpdateServerReply) ProtoReflect() protoreflect.Message
- func (x *UpdateServerReply) Reset()
- func (x *UpdateServerReply) String() string
- func (m *UpdateServerReply) Validate() error
- func (m *UpdateServerReply) ValidateAll() error
- type UpdateServerReplyMultiError
- type UpdateServerReplyValidationError
- func (e UpdateServerReplyValidationError) Cause() error
- func (e UpdateServerReplyValidationError) Error() string
- func (e UpdateServerReplyValidationError) ErrorName() string
- func (e UpdateServerReplyValidationError) Field() string
- func (e UpdateServerReplyValidationError) Key() bool
- func (e UpdateServerReplyValidationError) Reason() string
- type UpdateServerRequest
- func (*UpdateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerRequest) GetAddress() string
- func (x *UpdateServerRequest) GetCity() string
- func (x *UpdateServerRequest) GetCountry() string
- func (x *UpdateServerRequest) GetId() int64
- func (x *UpdateServerRequest) GetName() string
- func (x *UpdateServerRequest) GetProtocols() []*Protocol
- func (x *UpdateServerRequest) GetSort() int32
- func (*UpdateServerRequest) ProtoMessage()
- func (x *UpdateServerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServerRequest) Reset()
- func (x *UpdateServerRequest) String() string
- func (m *UpdateServerRequest) Validate() error
- func (m *UpdateServerRequest) ValidateAll() error
- type UpdateServerRequestMultiError
- type UpdateServerRequestValidationError
- func (e UpdateServerRequestValidationError) Cause() error
- func (e UpdateServerRequestValidationError) Error() string
- func (e UpdateServerRequestValidationError) ErrorName() string
- func (e UpdateServerRequestValidationError) Field() string
- func (e UpdateServerRequestValidationError) Key() bool
- func (e UpdateServerRequestValidationError) Reason() string
Constants ¶
const ( ServerService_CreateServer_FullMethodName = "/api.admin.server.v1.ServerService/CreateServer" ServerService_UpdateServer_FullMethodName = "/api.admin.server.v1.ServerService/UpdateServer" ServerService_DeleteServer_FullMethodName = "/api.admin.server.v1.ServerService/DeleteServer" ServerService_FilterServerList_FullMethodName = "/api.admin.server.v1.ServerService/FilterServerList" ServerService_GetServerProtocols_FullMethodName = "/api.admin.server.v1.ServerService/GetServerProtocols" ServerService_CreateNode_FullMethodName = "/api.admin.server.v1.ServerService/CreateNode" ServerService_UpdateNode_FullMethodName = "/api.admin.server.v1.ServerService/UpdateNode" ServerService_DeleteNode_FullMethodName = "/api.admin.server.v1.ServerService/DeleteNode" ServerService_FilterNodeList_FullMethodName = "/api.admin.server.v1.ServerService/FilterNodeList" ServerService_ToggleNodeStatus_FullMethodName = "/api.admin.server.v1.ServerService/ToggleNodeStatus" ServerService_QueryNodeTag_FullMethodName = "/api.admin.server.v1.ServerService/QueryNodeTag" ServerService_HasMigrateServerNode_FullMethodName = "/api.admin.server.v1.ServerService/HasMigrateServerNode" ServerService_MigrateServerNode_FullMethodName = "/api.admin.server.v1.ServerService/MigrateServerNode" ServerService_ResetSortWithServer_FullMethodName = "/api.admin.server.v1.ServerService/ResetSortWithServer" ServerService_ResetSortWithNode_FullMethodName = "/api.admin.server.v1.ServerService/ResetSortWithNode" )
const OperationServerServiceCreateNode = "/api.admin.server.v1.ServerService/CreateNode"
const OperationServerServiceCreateServer = "/api.admin.server.v1.ServerService/CreateServer"
const OperationServerServiceDeleteNode = "/api.admin.server.v1.ServerService/DeleteNode"
const OperationServerServiceDeleteServer = "/api.admin.server.v1.ServerService/DeleteServer"
const OperationServerServiceFilterNodeList = "/api.admin.server.v1.ServerService/FilterNodeList"
const OperationServerServiceFilterServerList = "/api.admin.server.v1.ServerService/FilterServerList"
const OperationServerServiceGetServerProtocols = "/api.admin.server.v1.ServerService/GetServerProtocols"
const OperationServerServiceHasMigrateServerNode = "/api.admin.server.v1.ServerService/HasMigrateServerNode"
const OperationServerServiceMigrateServerNode = "/api.admin.server.v1.ServerService/MigrateServerNode"
const OperationServerServiceQueryNodeTag = "/api.admin.server.v1.ServerService/QueryNodeTag"
const OperationServerServiceResetSortWithNode = "/api.admin.server.v1.ServerService/ResetSortWithNode"
const OperationServerServiceResetSortWithServer = "/api.admin.server.v1.ServerService/ResetSortWithServer"
const OperationServerServiceToggleNodeStatus = "/api.admin.server.v1.ServerService/ToggleNodeStatus"
const OperationServerServiceUpdateNode = "/api.admin.server.v1.ServerService/UpdateNode"
const OperationServerServiceUpdateServer = "/api.admin.server.v1.ServerService/UpdateServer"
Variables ¶
var File_admin_server_v1_server_proto protoreflect.FileDescriptor
var ServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.admin.server.v1.ServerService", HandlerType: (*ServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateServer", Handler: _ServerService_CreateServer_Handler, }, { MethodName: "UpdateServer", Handler: _ServerService_UpdateServer_Handler, }, { MethodName: "DeleteServer", Handler: _ServerService_DeleteServer_Handler, }, { MethodName: "FilterServerList", Handler: _ServerService_FilterServerList_Handler, }, { MethodName: "GetServerProtocols", Handler: _ServerService_GetServerProtocols_Handler, }, { MethodName: "CreateNode", Handler: _ServerService_CreateNode_Handler, }, { MethodName: "UpdateNode", Handler: _ServerService_UpdateNode_Handler, }, { MethodName: "DeleteNode", Handler: _ServerService_DeleteNode_Handler, }, { MethodName: "FilterNodeList", Handler: _ServerService_FilterNodeList_Handler, }, { MethodName: "ToggleNodeStatus", Handler: _ServerService_ToggleNodeStatus_Handler, }, { MethodName: "QueryNodeTag", Handler: _ServerService_QueryNodeTag_Handler, }, { MethodName: "HasMigrateServerNode", Handler: _ServerService_HasMigrateServerNode_Handler, }, { MethodName: "MigrateServerNode", Handler: _ServerService_MigrateServerNode_Handler, }, { MethodName: "ResetSortWithServer", Handler: _ServerService_ResetSortWithServer_Handler, }, { MethodName: "ResetSortWithNode", Handler: _ServerService_ResetSortWithNode_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin/server/v1/server.proto", }
ServerService_ServiceDesc is the grpc.ServiceDesc for ServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServerServiceHTTPServer ¶
func RegisterServerServiceHTTPServer(s *http.Server, srv ServerServiceHTTPServer)
func RegisterServerServiceServer ¶
func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer)
Types ¶
type CreateNodeData ¶
type CreateNodeData struct {
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
func (*CreateNodeData) Descriptor
deprecated
func (*CreateNodeData) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeData.ProtoReflect.Descriptor instead.
func (*CreateNodeData) GetNode ¶
func (x *CreateNodeData) GetNode() *Node
func (*CreateNodeData) ProtoMessage ¶
func (*CreateNodeData) ProtoMessage()
func (*CreateNodeData) ProtoReflect ¶
func (x *CreateNodeData) ProtoReflect() protoreflect.Message
func (*CreateNodeData) Reset ¶
func (x *CreateNodeData) Reset()
func (*CreateNodeData) String ¶
func (x *CreateNodeData) String() string
func (*CreateNodeData) Validate ¶
func (m *CreateNodeData) Validate() error
Validate checks the field values on CreateNodeData 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 (*CreateNodeData) ValidateAll ¶
func (m *CreateNodeData) ValidateAll() error
ValidateAll checks the field values on CreateNodeData 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 CreateNodeDataMultiError, or nil if none found.
type CreateNodeDataMultiError ¶
type CreateNodeDataMultiError []error
CreateNodeDataMultiError is an error wrapping multiple validation errors returned by CreateNodeData.ValidateAll() if the designated constraints aren't met.
func (CreateNodeDataMultiError) AllErrors ¶
func (m CreateNodeDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNodeDataMultiError) Error ¶
func (m CreateNodeDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNodeDataValidationError ¶
type CreateNodeDataValidationError struct {
// contains filtered or unexported fields
}
CreateNodeDataValidationError is the validation error returned by CreateNodeData.Validate if the designated constraints aren't met.
func (CreateNodeDataValidationError) Cause ¶
func (e CreateNodeDataValidationError) Cause() error
Cause function returns cause value.
func (CreateNodeDataValidationError) Error ¶
func (e CreateNodeDataValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNodeDataValidationError) ErrorName ¶
func (e CreateNodeDataValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNodeDataValidationError) Field ¶
func (e CreateNodeDataValidationError) Field() string
Field function returns field value.
func (CreateNodeDataValidationError) Key ¶
func (e CreateNodeDataValidationError) Key() bool
Key function returns key value.
func (CreateNodeDataValidationError) Reason ¶
func (e CreateNodeDataValidationError) Reason() string
Reason function returns reason value.
type CreateNodeReply ¶
type CreateNodeReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *CreateNodeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*CreateNodeReply) Descriptor
deprecated
func (*CreateNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeReply.ProtoReflect.Descriptor instead.
func (*CreateNodeReply) GetCode ¶
func (x *CreateNodeReply) GetCode() int32
func (*CreateNodeReply) GetData ¶
func (x *CreateNodeReply) GetData() *CreateNodeData
func (*CreateNodeReply) GetMessage ¶
func (x *CreateNodeReply) GetMessage() string
func (*CreateNodeReply) ProtoMessage ¶
func (*CreateNodeReply) ProtoMessage()
func (*CreateNodeReply) ProtoReflect ¶
func (x *CreateNodeReply) ProtoReflect() protoreflect.Message
func (*CreateNodeReply) Reset ¶
func (x *CreateNodeReply) Reset()
func (*CreateNodeReply) String ¶
func (x *CreateNodeReply) String() string
func (*CreateNodeReply) Validate ¶
func (m *CreateNodeReply) Validate() error
Validate checks the field values on CreateNodeReply 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 (*CreateNodeReply) ValidateAll ¶
func (m *CreateNodeReply) ValidateAll() error
ValidateAll checks the field values on CreateNodeReply 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 CreateNodeReplyMultiError, or nil if none found.
type CreateNodeReplyMultiError ¶
type CreateNodeReplyMultiError []error
CreateNodeReplyMultiError is an error wrapping multiple validation errors returned by CreateNodeReply.ValidateAll() if the designated constraints aren't met.
func (CreateNodeReplyMultiError) AllErrors ¶
func (m CreateNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNodeReplyMultiError) Error ¶
func (m CreateNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNodeReplyValidationError ¶
type CreateNodeReplyValidationError struct {
// contains filtered or unexported fields
}
CreateNodeReplyValidationError is the validation error returned by CreateNodeReply.Validate if the designated constraints aren't met.
func (CreateNodeReplyValidationError) Cause ¶
func (e CreateNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateNodeReplyValidationError) Error ¶
func (e CreateNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNodeReplyValidationError) ErrorName ¶
func (e CreateNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNodeReplyValidationError) Field ¶
func (e CreateNodeReplyValidationError) Field() string
Field function returns field value.
func (CreateNodeReplyValidationError) Key ¶
func (e CreateNodeReplyValidationError) Key() bool
Key function returns key value.
func (CreateNodeReplyValidationError) Reason ¶
func (e CreateNodeReplyValidationError) Reason() string
Reason function returns reason value.
type CreateNodeRequest ¶
type CreateNodeRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // Proto3 不支持 uint16,使用 uint32(值范围 0-65535)
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
ServerId int64 `protobuf:"varint,5,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
Protocol string `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"`
Enabled *bool `protobuf:"varint,7,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // 使用 optional 支持 null 和布尔值,与老项目兼容
NodeType string `protobuf:"bytes,8,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
IsHidden *bool `protobuf:"varint,9,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,10,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
// contains filtered or unexported fields
}
Node Requests/Replies
func (*CreateNodeRequest) Descriptor
deprecated
func (*CreateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeRequest.ProtoReflect.Descriptor instead.
func (*CreateNodeRequest) GetAddress ¶
func (x *CreateNodeRequest) GetAddress() string
func (*CreateNodeRequest) GetEnabled ¶
func (x *CreateNodeRequest) GetEnabled() bool
func (*CreateNodeRequest) GetIsHidden ¶
func (x *CreateNodeRequest) GetIsHidden() bool
func (*CreateNodeRequest) GetName ¶
func (x *CreateNodeRequest) GetName() string
func (*CreateNodeRequest) GetNodeGroupIds ¶
func (x *CreateNodeRequest) GetNodeGroupIds() []int64
func (*CreateNodeRequest) GetNodeType ¶
func (x *CreateNodeRequest) GetNodeType() string
func (*CreateNodeRequest) GetPort ¶
func (x *CreateNodeRequest) GetPort() uint32
func (*CreateNodeRequest) GetProtocol ¶
func (x *CreateNodeRequest) GetProtocol() string
func (*CreateNodeRequest) GetServerId ¶
func (x *CreateNodeRequest) GetServerId() int64
func (*CreateNodeRequest) GetTags ¶
func (x *CreateNodeRequest) GetTags() []string
func (*CreateNodeRequest) ProtoMessage ¶
func (*CreateNodeRequest) ProtoMessage()
func (*CreateNodeRequest) ProtoReflect ¶
func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message
func (*CreateNodeRequest) Reset ¶
func (x *CreateNodeRequest) Reset()
func (*CreateNodeRequest) String ¶
func (x *CreateNodeRequest) String() string
func (*CreateNodeRequest) Validate ¶
func (m *CreateNodeRequest) Validate() error
Validate checks the field values on CreateNodeRequest 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 (*CreateNodeRequest) ValidateAll ¶
func (m *CreateNodeRequest) ValidateAll() error
ValidateAll checks the field values on CreateNodeRequest 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 CreateNodeRequestMultiError, or nil if none found.
type CreateNodeRequestMultiError ¶
type CreateNodeRequestMultiError []error
CreateNodeRequestMultiError is an error wrapping multiple validation errors returned by CreateNodeRequest.ValidateAll() if the designated constraints aren't met.
func (CreateNodeRequestMultiError) AllErrors ¶
func (m CreateNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNodeRequestMultiError) Error ¶
func (m CreateNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateNodeRequestValidationError ¶
type CreateNodeRequestValidationError struct {
// contains filtered or unexported fields
}
CreateNodeRequestValidationError is the validation error returned by CreateNodeRequest.Validate if the designated constraints aren't met.
func (CreateNodeRequestValidationError) Cause ¶
func (e CreateNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNodeRequestValidationError) Error ¶
func (e CreateNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNodeRequestValidationError) ErrorName ¶
func (e CreateNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNodeRequestValidationError) Field ¶
func (e CreateNodeRequestValidationError) Field() string
Field function returns field value.
func (CreateNodeRequestValidationError) Key ¶
func (e CreateNodeRequestValidationError) Key() bool
Key function returns key value.
func (CreateNodeRequestValidationError) Reason ¶
func (e CreateNodeRequestValidationError) Reason() string
Reason function returns reason value.
type CreateServerData ¶
type CreateServerData struct {
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
// contains filtered or unexported fields
}
func (*CreateServerData) Descriptor
deprecated
func (*CreateServerData) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerData.ProtoReflect.Descriptor instead.
func (*CreateServerData) GetServer ¶
func (x *CreateServerData) GetServer() *Server
func (*CreateServerData) ProtoMessage ¶
func (*CreateServerData) ProtoMessage()
func (*CreateServerData) ProtoReflect ¶
func (x *CreateServerData) ProtoReflect() protoreflect.Message
func (*CreateServerData) Reset ¶
func (x *CreateServerData) Reset()
func (*CreateServerData) String ¶
func (x *CreateServerData) String() string
func (*CreateServerData) Validate ¶
func (m *CreateServerData) Validate() error
Validate checks the field values on CreateServerData 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 (*CreateServerData) ValidateAll ¶
func (m *CreateServerData) ValidateAll() error
ValidateAll checks the field values on CreateServerData 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 CreateServerDataMultiError, or nil if none found.
type CreateServerDataMultiError ¶
type CreateServerDataMultiError []error
CreateServerDataMultiError is an error wrapping multiple validation errors returned by CreateServerData.ValidateAll() if the designated constraints aren't met.
func (CreateServerDataMultiError) AllErrors ¶
func (m CreateServerDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateServerDataMultiError) Error ¶
func (m CreateServerDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateServerDataValidationError ¶
type CreateServerDataValidationError struct {
// contains filtered or unexported fields
}
CreateServerDataValidationError is the validation error returned by CreateServerData.Validate if the designated constraints aren't met.
func (CreateServerDataValidationError) Cause ¶
func (e CreateServerDataValidationError) Cause() error
Cause function returns cause value.
func (CreateServerDataValidationError) Error ¶
func (e CreateServerDataValidationError) Error() string
Error satisfies the builtin error interface
func (CreateServerDataValidationError) ErrorName ¶
func (e CreateServerDataValidationError) ErrorName() string
ErrorName returns error name.
func (CreateServerDataValidationError) Field ¶
func (e CreateServerDataValidationError) Field() string
Field function returns field value.
func (CreateServerDataValidationError) Key ¶
func (e CreateServerDataValidationError) Key() bool
Key function returns key value.
func (CreateServerDataValidationError) Reason ¶
func (e CreateServerDataValidationError) Reason() string
Reason function returns reason value.
type CreateServerReply ¶
type CreateServerReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *CreateServerData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*CreateServerReply) Descriptor
deprecated
func (*CreateServerReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerReply.ProtoReflect.Descriptor instead.
func (*CreateServerReply) GetCode ¶
func (x *CreateServerReply) GetCode() int32
func (*CreateServerReply) GetData ¶
func (x *CreateServerReply) GetData() *CreateServerData
func (*CreateServerReply) GetMessage ¶
func (x *CreateServerReply) GetMessage() string
func (*CreateServerReply) ProtoMessage ¶
func (*CreateServerReply) ProtoMessage()
func (*CreateServerReply) ProtoReflect ¶
func (x *CreateServerReply) ProtoReflect() protoreflect.Message
func (*CreateServerReply) Reset ¶
func (x *CreateServerReply) Reset()
func (*CreateServerReply) String ¶
func (x *CreateServerReply) String() string
func (*CreateServerReply) Validate ¶
func (m *CreateServerReply) Validate() error
Validate checks the field values on CreateServerReply 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 (*CreateServerReply) ValidateAll ¶
func (m *CreateServerReply) ValidateAll() error
ValidateAll checks the field values on CreateServerReply 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 CreateServerReplyMultiError, or nil if none found.
type CreateServerReplyMultiError ¶
type CreateServerReplyMultiError []error
CreateServerReplyMultiError is an error wrapping multiple validation errors returned by CreateServerReply.ValidateAll() if the designated constraints aren't met.
func (CreateServerReplyMultiError) AllErrors ¶
func (m CreateServerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateServerReplyMultiError) Error ¶
func (m CreateServerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateServerReplyValidationError ¶
type CreateServerReplyValidationError struct {
// contains filtered or unexported fields
}
CreateServerReplyValidationError is the validation error returned by CreateServerReply.Validate if the designated constraints aren't met.
func (CreateServerReplyValidationError) Cause ¶
func (e CreateServerReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateServerReplyValidationError) Error ¶
func (e CreateServerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateServerReplyValidationError) ErrorName ¶
func (e CreateServerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateServerReplyValidationError) Field ¶
func (e CreateServerReplyValidationError) Field() string
Field function returns field value.
func (CreateServerReplyValidationError) Key ¶
func (e CreateServerReplyValidationError) Key() bool
Key function returns key value.
func (CreateServerReplyValidationError) Reason ¶
func (e CreateServerReplyValidationError) Reason() string
Reason function returns reason value.
type CreateServerRequest ¶
type CreateServerRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
Sort int32 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
Protocols []*Protocol `protobuf:"bytes,6,rep,name=protocols,proto3" json:"protocols,omitempty"`
// contains filtered or unexported fields
}
Server Requests/Replies
func (*CreateServerRequest) Descriptor
deprecated
func (*CreateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerRequest.ProtoReflect.Descriptor instead.
func (*CreateServerRequest) GetAddress ¶
func (x *CreateServerRequest) GetAddress() string
func (*CreateServerRequest) GetCity ¶
func (x *CreateServerRequest) GetCity() string
func (*CreateServerRequest) GetCountry ¶
func (x *CreateServerRequest) GetCountry() string
func (*CreateServerRequest) GetName ¶
func (x *CreateServerRequest) GetName() string
func (*CreateServerRequest) GetProtocols ¶
func (x *CreateServerRequest) GetProtocols() []*Protocol
func (*CreateServerRequest) GetSort ¶
func (x *CreateServerRequest) GetSort() int32
func (*CreateServerRequest) ProtoMessage ¶
func (*CreateServerRequest) ProtoMessage()
func (*CreateServerRequest) ProtoReflect ¶
func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
func (*CreateServerRequest) Reset ¶
func (x *CreateServerRequest) Reset()
func (*CreateServerRequest) String ¶
func (x *CreateServerRequest) String() string
func (*CreateServerRequest) Validate ¶
func (m *CreateServerRequest) Validate() error
Validate checks the field values on CreateServerRequest 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 (*CreateServerRequest) ValidateAll ¶
func (m *CreateServerRequest) ValidateAll() error
ValidateAll checks the field values on CreateServerRequest 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 CreateServerRequestMultiError, or nil if none found.
type CreateServerRequestMultiError ¶
type CreateServerRequestMultiError []error
CreateServerRequestMultiError is an error wrapping multiple validation errors returned by CreateServerRequest.ValidateAll() if the designated constraints aren't met.
func (CreateServerRequestMultiError) AllErrors ¶
func (m CreateServerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateServerRequestMultiError) Error ¶
func (m CreateServerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateServerRequestValidationError ¶
type CreateServerRequestValidationError struct {
// contains filtered or unexported fields
}
CreateServerRequestValidationError is the validation error returned by CreateServerRequest.Validate if the designated constraints aren't met.
func (CreateServerRequestValidationError) Cause ¶
func (e CreateServerRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateServerRequestValidationError) Error ¶
func (e CreateServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateServerRequestValidationError) ErrorName ¶
func (e CreateServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateServerRequestValidationError) Field ¶
func (e CreateServerRequestValidationError) Field() string
Field function returns field value.
func (CreateServerRequestValidationError) Key ¶
func (e CreateServerRequestValidationError) Key() bool
Key function returns key value.
func (CreateServerRequestValidationError) Reason ¶
func (e CreateServerRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteNodeData ¶
type DeleteNodeData struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNodeData) Descriptor
deprecated
func (*DeleteNodeData) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeData.ProtoReflect.Descriptor instead.
func (*DeleteNodeData) GetSuccess ¶
func (x *DeleteNodeData) GetSuccess() bool
func (*DeleteNodeData) ProtoMessage ¶
func (*DeleteNodeData) ProtoMessage()
func (*DeleteNodeData) ProtoReflect ¶
func (x *DeleteNodeData) ProtoReflect() protoreflect.Message
func (*DeleteNodeData) Reset ¶
func (x *DeleteNodeData) Reset()
func (*DeleteNodeData) String ¶
func (x *DeleteNodeData) String() string
func (*DeleteNodeData) Validate ¶
func (m *DeleteNodeData) Validate() error
Validate checks the field values on DeleteNodeData 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 (*DeleteNodeData) ValidateAll ¶
func (m *DeleteNodeData) ValidateAll() error
ValidateAll checks the field values on DeleteNodeData 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 DeleteNodeDataMultiError, or nil if none found.
type DeleteNodeDataMultiError ¶
type DeleteNodeDataMultiError []error
DeleteNodeDataMultiError is an error wrapping multiple validation errors returned by DeleteNodeData.ValidateAll() if the designated constraints aren't met.
func (DeleteNodeDataMultiError) AllErrors ¶
func (m DeleteNodeDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNodeDataMultiError) Error ¶
func (m DeleteNodeDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNodeDataValidationError ¶
type DeleteNodeDataValidationError struct {
// contains filtered or unexported fields
}
DeleteNodeDataValidationError is the validation error returned by DeleteNodeData.Validate if the designated constraints aren't met.
func (DeleteNodeDataValidationError) Cause ¶
func (e DeleteNodeDataValidationError) Cause() error
Cause function returns cause value.
func (DeleteNodeDataValidationError) Error ¶
func (e DeleteNodeDataValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNodeDataValidationError) ErrorName ¶
func (e DeleteNodeDataValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNodeDataValidationError) Field ¶
func (e DeleteNodeDataValidationError) Field() string
Field function returns field value.
func (DeleteNodeDataValidationError) Key ¶
func (e DeleteNodeDataValidationError) Key() bool
Key function returns key value.
func (DeleteNodeDataValidationError) Reason ¶
func (e DeleteNodeDataValidationError) Reason() string
Reason function returns reason value.
type DeleteNodeReply ¶
type DeleteNodeReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *DeleteNodeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*DeleteNodeReply) Descriptor
deprecated
func (*DeleteNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeReply.ProtoReflect.Descriptor instead.
func (*DeleteNodeReply) GetCode ¶
func (x *DeleteNodeReply) GetCode() int32
func (*DeleteNodeReply) GetData ¶
func (x *DeleteNodeReply) GetData() *DeleteNodeData
func (*DeleteNodeReply) GetMessage ¶
func (x *DeleteNodeReply) GetMessage() string
func (*DeleteNodeReply) ProtoMessage ¶
func (*DeleteNodeReply) ProtoMessage()
func (*DeleteNodeReply) ProtoReflect ¶
func (x *DeleteNodeReply) ProtoReflect() protoreflect.Message
func (*DeleteNodeReply) Reset ¶
func (x *DeleteNodeReply) Reset()
func (*DeleteNodeReply) String ¶
func (x *DeleteNodeReply) String() string
func (*DeleteNodeReply) Validate ¶
func (m *DeleteNodeReply) Validate() error
Validate checks the field values on DeleteNodeReply 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 (*DeleteNodeReply) ValidateAll ¶
func (m *DeleteNodeReply) ValidateAll() error
ValidateAll checks the field values on DeleteNodeReply 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 DeleteNodeReplyMultiError, or nil if none found.
type DeleteNodeReplyMultiError ¶
type DeleteNodeReplyMultiError []error
DeleteNodeReplyMultiError is an error wrapping multiple validation errors returned by DeleteNodeReply.ValidateAll() if the designated constraints aren't met.
func (DeleteNodeReplyMultiError) AllErrors ¶
func (m DeleteNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNodeReplyMultiError) Error ¶
func (m DeleteNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNodeReplyValidationError ¶
type DeleteNodeReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteNodeReplyValidationError is the validation error returned by DeleteNodeReply.Validate if the designated constraints aren't met.
func (DeleteNodeReplyValidationError) Cause ¶
func (e DeleteNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteNodeReplyValidationError) Error ¶
func (e DeleteNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNodeReplyValidationError) ErrorName ¶
func (e DeleteNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNodeReplyValidationError) Field ¶
func (e DeleteNodeReplyValidationError) Field() string
Field function returns field value.
func (DeleteNodeReplyValidationError) Key ¶
func (e DeleteNodeReplyValidationError) Key() bool
Key function returns key value.
func (DeleteNodeReplyValidationError) Reason ¶
func (e DeleteNodeReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteNodeRequest ¶
type DeleteNodeRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNodeRequest) Descriptor
deprecated
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) GetId ¶
func (x *DeleteNodeRequest) GetId() int64
func (*DeleteNodeRequest) ProtoMessage ¶
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) ProtoReflect ¶
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeRequest) Reset ¶
func (x *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶
func (x *DeleteNodeRequest) String() string
func (*DeleteNodeRequest) Validate ¶
func (m *DeleteNodeRequest) Validate() error
Validate checks the field values on DeleteNodeRequest 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 (*DeleteNodeRequest) ValidateAll ¶
func (m *DeleteNodeRequest) ValidateAll() error
ValidateAll checks the field values on DeleteNodeRequest 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 DeleteNodeRequestMultiError, or nil if none found.
type DeleteNodeRequestMultiError ¶
type DeleteNodeRequestMultiError []error
DeleteNodeRequestMultiError is an error wrapping multiple validation errors returned by DeleteNodeRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteNodeRequestMultiError) AllErrors ¶
func (m DeleteNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNodeRequestMultiError) Error ¶
func (m DeleteNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteNodeRequestValidationError ¶
type DeleteNodeRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteNodeRequestValidationError is the validation error returned by DeleteNodeRequest.Validate if the designated constraints aren't met.
func (DeleteNodeRequestValidationError) Cause ¶
func (e DeleteNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteNodeRequestValidationError) Error ¶
func (e DeleteNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNodeRequestValidationError) ErrorName ¶
func (e DeleteNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNodeRequestValidationError) Field ¶
func (e DeleteNodeRequestValidationError) Field() string
Field function returns field value.
func (DeleteNodeRequestValidationError) Key ¶
func (e DeleteNodeRequestValidationError) Key() bool
Key function returns key value.
func (DeleteNodeRequestValidationError) Reason ¶
func (e DeleteNodeRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteServerData ¶
type DeleteServerData struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteServerData) Descriptor
deprecated
func (*DeleteServerData) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerData.ProtoReflect.Descriptor instead.
func (*DeleteServerData) GetSuccess ¶
func (x *DeleteServerData) GetSuccess() bool
func (*DeleteServerData) ProtoMessage ¶
func (*DeleteServerData) ProtoMessage()
func (*DeleteServerData) ProtoReflect ¶
func (x *DeleteServerData) ProtoReflect() protoreflect.Message
func (*DeleteServerData) Reset ¶
func (x *DeleteServerData) Reset()
func (*DeleteServerData) String ¶
func (x *DeleteServerData) String() string
func (*DeleteServerData) Validate ¶
func (m *DeleteServerData) Validate() error
Validate checks the field values on DeleteServerData 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 (*DeleteServerData) ValidateAll ¶
func (m *DeleteServerData) ValidateAll() error
ValidateAll checks the field values on DeleteServerData 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 DeleteServerDataMultiError, or nil if none found.
type DeleteServerDataMultiError ¶
type DeleteServerDataMultiError []error
DeleteServerDataMultiError is an error wrapping multiple validation errors returned by DeleteServerData.ValidateAll() if the designated constraints aren't met.
func (DeleteServerDataMultiError) AllErrors ¶
func (m DeleteServerDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteServerDataMultiError) Error ¶
func (m DeleteServerDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteServerDataValidationError ¶
type DeleteServerDataValidationError struct {
// contains filtered or unexported fields
}
DeleteServerDataValidationError is the validation error returned by DeleteServerData.Validate if the designated constraints aren't met.
func (DeleteServerDataValidationError) Cause ¶
func (e DeleteServerDataValidationError) Cause() error
Cause function returns cause value.
func (DeleteServerDataValidationError) Error ¶
func (e DeleteServerDataValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteServerDataValidationError) ErrorName ¶
func (e DeleteServerDataValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteServerDataValidationError) Field ¶
func (e DeleteServerDataValidationError) Field() string
Field function returns field value.
func (DeleteServerDataValidationError) Key ¶
func (e DeleteServerDataValidationError) Key() bool
Key function returns key value.
func (DeleteServerDataValidationError) Reason ¶
func (e DeleteServerDataValidationError) Reason() string
Reason function returns reason value.
type DeleteServerReply ¶
type DeleteServerReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *DeleteServerData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*DeleteServerReply) Descriptor
deprecated
func (*DeleteServerReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerReply.ProtoReflect.Descriptor instead.
func (*DeleteServerReply) GetCode ¶
func (x *DeleteServerReply) GetCode() int32
func (*DeleteServerReply) GetData ¶
func (x *DeleteServerReply) GetData() *DeleteServerData
func (*DeleteServerReply) GetMessage ¶
func (x *DeleteServerReply) GetMessage() string
func (*DeleteServerReply) ProtoMessage ¶
func (*DeleteServerReply) ProtoMessage()
func (*DeleteServerReply) ProtoReflect ¶
func (x *DeleteServerReply) ProtoReflect() protoreflect.Message
func (*DeleteServerReply) Reset ¶
func (x *DeleteServerReply) Reset()
func (*DeleteServerReply) String ¶
func (x *DeleteServerReply) String() string
func (*DeleteServerReply) Validate ¶
func (m *DeleteServerReply) Validate() error
Validate checks the field values on DeleteServerReply 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 (*DeleteServerReply) ValidateAll ¶
func (m *DeleteServerReply) ValidateAll() error
ValidateAll checks the field values on DeleteServerReply 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 DeleteServerReplyMultiError, or nil if none found.
type DeleteServerReplyMultiError ¶
type DeleteServerReplyMultiError []error
DeleteServerReplyMultiError is an error wrapping multiple validation errors returned by DeleteServerReply.ValidateAll() if the designated constraints aren't met.
func (DeleteServerReplyMultiError) AllErrors ¶
func (m DeleteServerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteServerReplyMultiError) Error ¶
func (m DeleteServerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteServerReplyValidationError ¶
type DeleteServerReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteServerReplyValidationError is the validation error returned by DeleteServerReply.Validate if the designated constraints aren't met.
func (DeleteServerReplyValidationError) Cause ¶
func (e DeleteServerReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteServerReplyValidationError) Error ¶
func (e DeleteServerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteServerReplyValidationError) ErrorName ¶
func (e DeleteServerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteServerReplyValidationError) Field ¶
func (e DeleteServerReplyValidationError) Field() string
Field function returns field value.
func (DeleteServerReplyValidationError) Key ¶
func (e DeleteServerReplyValidationError) Key() bool
Key function returns key value.
func (DeleteServerReplyValidationError) Reason ¶
func (e DeleteServerReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteServerRequest ¶
type DeleteServerRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteServerRequest) Descriptor
deprecated
func (*DeleteServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteServerRequest) GetId ¶
func (x *DeleteServerRequest) GetId() int64
func (*DeleteServerRequest) ProtoMessage ¶
func (*DeleteServerRequest) ProtoMessage()
func (*DeleteServerRequest) ProtoReflect ¶
func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteServerRequest) Reset ¶
func (x *DeleteServerRequest) Reset()
func (*DeleteServerRequest) String ¶
func (x *DeleteServerRequest) String() string
func (*DeleteServerRequest) Validate ¶
func (m *DeleteServerRequest) Validate() error
Validate checks the field values on DeleteServerRequest 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 (*DeleteServerRequest) ValidateAll ¶
func (m *DeleteServerRequest) ValidateAll() error
ValidateAll checks the field values on DeleteServerRequest 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 DeleteServerRequestMultiError, or nil if none found.
type DeleteServerRequestMultiError ¶
type DeleteServerRequestMultiError []error
DeleteServerRequestMultiError is an error wrapping multiple validation errors returned by DeleteServerRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteServerRequestMultiError) AllErrors ¶
func (m DeleteServerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteServerRequestMultiError) Error ¶
func (m DeleteServerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteServerRequestValidationError ¶
type DeleteServerRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteServerRequestValidationError is the validation error returned by DeleteServerRequest.Validate if the designated constraints aren't met.
func (DeleteServerRequestValidationError) Cause ¶
func (e DeleteServerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteServerRequestValidationError) Error ¶
func (e DeleteServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteServerRequestValidationError) ErrorName ¶
func (e DeleteServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteServerRequestValidationError) Field ¶
func (e DeleteServerRequestValidationError) Field() string
Field function returns field value.
func (DeleteServerRequestValidationError) Key ¶
func (e DeleteServerRequestValidationError) Key() bool
Key function returns key value.
func (DeleteServerRequestValidationError) Reason ¶
func (e DeleteServerRequestValidationError) Reason() string
Reason function returns reason value.
type FilterNodeListData ¶
type FilterNodeListData struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*Node `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*FilterNodeListData) Descriptor
deprecated
func (*FilterNodeListData) Descriptor() ([]byte, []int)
Deprecated: Use FilterNodeListData.ProtoReflect.Descriptor instead.
func (*FilterNodeListData) GetList ¶
func (x *FilterNodeListData) GetList() []*Node
func (*FilterNodeListData) GetTotal ¶
func (x *FilterNodeListData) GetTotal() int32
func (*FilterNodeListData) ProtoMessage ¶
func (*FilterNodeListData) ProtoMessage()
func (*FilterNodeListData) ProtoReflect ¶
func (x *FilterNodeListData) ProtoReflect() protoreflect.Message
func (*FilterNodeListData) Reset ¶
func (x *FilterNodeListData) Reset()
func (*FilterNodeListData) String ¶
func (x *FilterNodeListData) String() string
func (*FilterNodeListData) Validate ¶
func (m *FilterNodeListData) Validate() error
Validate checks the field values on FilterNodeListData 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 (*FilterNodeListData) ValidateAll ¶
func (m *FilterNodeListData) ValidateAll() error
ValidateAll checks the field values on FilterNodeListData 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 FilterNodeListDataMultiError, or nil if none found.
type FilterNodeListDataMultiError ¶
type FilterNodeListDataMultiError []error
FilterNodeListDataMultiError is an error wrapping multiple validation errors returned by FilterNodeListData.ValidateAll() if the designated constraints aren't met.
func (FilterNodeListDataMultiError) AllErrors ¶
func (m FilterNodeListDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterNodeListDataMultiError) Error ¶
func (m FilterNodeListDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterNodeListDataValidationError ¶
type FilterNodeListDataValidationError struct {
// contains filtered or unexported fields
}
FilterNodeListDataValidationError is the validation error returned by FilterNodeListData.Validate if the designated constraints aren't met.
func (FilterNodeListDataValidationError) Cause ¶
func (e FilterNodeListDataValidationError) Cause() error
Cause function returns cause value.
func (FilterNodeListDataValidationError) Error ¶
func (e FilterNodeListDataValidationError) Error() string
Error satisfies the builtin error interface
func (FilterNodeListDataValidationError) ErrorName ¶
func (e FilterNodeListDataValidationError) ErrorName() string
ErrorName returns error name.
func (FilterNodeListDataValidationError) Field ¶
func (e FilterNodeListDataValidationError) Field() string
Field function returns field value.
func (FilterNodeListDataValidationError) Key ¶
func (e FilterNodeListDataValidationError) Key() bool
Key function returns key value.
func (FilterNodeListDataValidationError) Reason ¶
func (e FilterNodeListDataValidationError) Reason() string
Reason function returns reason value.
type FilterNodeListReply ¶
type FilterNodeListReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *FilterNodeListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*FilterNodeListReply) Descriptor
deprecated
func (*FilterNodeListReply) Descriptor() ([]byte, []int)
Deprecated: Use FilterNodeListReply.ProtoReflect.Descriptor instead.
func (*FilterNodeListReply) GetCode ¶
func (x *FilterNodeListReply) GetCode() int32
func (*FilterNodeListReply) GetData ¶
func (x *FilterNodeListReply) GetData() *FilterNodeListData
func (*FilterNodeListReply) GetMessage ¶
func (x *FilterNodeListReply) GetMessage() string
func (*FilterNodeListReply) ProtoMessage ¶
func (*FilterNodeListReply) ProtoMessage()
func (*FilterNodeListReply) ProtoReflect ¶
func (x *FilterNodeListReply) ProtoReflect() protoreflect.Message
func (*FilterNodeListReply) Reset ¶
func (x *FilterNodeListReply) Reset()
func (*FilterNodeListReply) String ¶
func (x *FilterNodeListReply) String() string
func (*FilterNodeListReply) Validate ¶
func (m *FilterNodeListReply) Validate() error
Validate checks the field values on FilterNodeListReply 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 (*FilterNodeListReply) ValidateAll ¶
func (m *FilterNodeListReply) ValidateAll() error
ValidateAll checks the field values on FilterNodeListReply 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 FilterNodeListReplyMultiError, or nil if none found.
type FilterNodeListReplyMultiError ¶
type FilterNodeListReplyMultiError []error
FilterNodeListReplyMultiError is an error wrapping multiple validation errors returned by FilterNodeListReply.ValidateAll() if the designated constraints aren't met.
func (FilterNodeListReplyMultiError) AllErrors ¶
func (m FilterNodeListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterNodeListReplyMultiError) Error ¶
func (m FilterNodeListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterNodeListReplyValidationError ¶
type FilterNodeListReplyValidationError struct {
// contains filtered or unexported fields
}
FilterNodeListReplyValidationError is the validation error returned by FilterNodeListReply.Validate if the designated constraints aren't met.
func (FilterNodeListReplyValidationError) Cause ¶
func (e FilterNodeListReplyValidationError) Cause() error
Cause function returns cause value.
func (FilterNodeListReplyValidationError) Error ¶
func (e FilterNodeListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FilterNodeListReplyValidationError) ErrorName ¶
func (e FilterNodeListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FilterNodeListReplyValidationError) Field ¶
func (e FilterNodeListReplyValidationError) Field() string
Field function returns field value.
func (FilterNodeListReplyValidationError) Key ¶
func (e FilterNodeListReplyValidationError) Key() bool
Key function returns key value.
func (FilterNodeListReplyValidationError) Reason ¶
func (e FilterNodeListReplyValidationError) Reason() string
Reason function returns reason value.
type FilterNodeListRequest ¶
type FilterNodeListRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
NodeGroupId *int64 `protobuf:"varint,4,opt,name=node_group_id,json=nodeGroupId,proto3,oneof" json:"node_group_id,omitempty"`
// contains filtered or unexported fields
}
func (*FilterNodeListRequest) Descriptor
deprecated
func (*FilterNodeListRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterNodeListRequest.ProtoReflect.Descriptor instead.
func (*FilterNodeListRequest) GetNodeGroupId ¶
func (x *FilterNodeListRequest) GetNodeGroupId() int64
func (*FilterNodeListRequest) GetPage ¶
func (x *FilterNodeListRequest) GetPage() int32
func (*FilterNodeListRequest) GetSearch ¶
func (x *FilterNodeListRequest) GetSearch() string
func (*FilterNodeListRequest) GetSize ¶
func (x *FilterNodeListRequest) GetSize() int32
func (*FilterNodeListRequest) ProtoMessage ¶
func (*FilterNodeListRequest) ProtoMessage()
func (*FilterNodeListRequest) ProtoReflect ¶
func (x *FilterNodeListRequest) ProtoReflect() protoreflect.Message
func (*FilterNodeListRequest) Reset ¶
func (x *FilterNodeListRequest) Reset()
func (*FilterNodeListRequest) String ¶
func (x *FilterNodeListRequest) String() string
func (*FilterNodeListRequest) Validate ¶
func (m *FilterNodeListRequest) Validate() error
Validate checks the field values on FilterNodeListRequest 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 (*FilterNodeListRequest) ValidateAll ¶
func (m *FilterNodeListRequest) ValidateAll() error
ValidateAll checks the field values on FilterNodeListRequest 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 FilterNodeListRequestMultiError, or nil if none found.
type FilterNodeListRequestMultiError ¶
type FilterNodeListRequestMultiError []error
FilterNodeListRequestMultiError is an error wrapping multiple validation errors returned by FilterNodeListRequest.ValidateAll() if the designated constraints aren't met.
func (FilterNodeListRequestMultiError) AllErrors ¶
func (m FilterNodeListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterNodeListRequestMultiError) Error ¶
func (m FilterNodeListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterNodeListRequestValidationError ¶
type FilterNodeListRequestValidationError struct {
// contains filtered or unexported fields
}
FilterNodeListRequestValidationError is the validation error returned by FilterNodeListRequest.Validate if the designated constraints aren't met.
func (FilterNodeListRequestValidationError) Cause ¶
func (e FilterNodeListRequestValidationError) Cause() error
Cause function returns cause value.
func (FilterNodeListRequestValidationError) Error ¶
func (e FilterNodeListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FilterNodeListRequestValidationError) ErrorName ¶
func (e FilterNodeListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FilterNodeListRequestValidationError) Field ¶
func (e FilterNodeListRequestValidationError) Field() string
Field function returns field value.
func (FilterNodeListRequestValidationError) Key ¶
func (e FilterNodeListRequestValidationError) Key() bool
Key function returns key value.
func (FilterNodeListRequestValidationError) Reason ¶
func (e FilterNodeListRequestValidationError) Reason() string
Reason function returns reason value.
type FilterServerListData ¶
type FilterServerListData struct {
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*Server `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*FilterServerListData) Descriptor
deprecated
func (*FilterServerListData) Descriptor() ([]byte, []int)
Deprecated: Use FilterServerListData.ProtoReflect.Descriptor instead.
func (*FilterServerListData) GetList ¶
func (x *FilterServerListData) GetList() []*Server
func (*FilterServerListData) GetTotal ¶
func (x *FilterServerListData) GetTotal() int32
func (*FilterServerListData) ProtoMessage ¶
func (*FilterServerListData) ProtoMessage()
func (*FilterServerListData) ProtoReflect ¶
func (x *FilterServerListData) ProtoReflect() protoreflect.Message
func (*FilterServerListData) Reset ¶
func (x *FilterServerListData) Reset()
func (*FilterServerListData) String ¶
func (x *FilterServerListData) String() string
func (*FilterServerListData) Validate ¶
func (m *FilterServerListData) Validate() error
Validate checks the field values on FilterServerListData 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 (*FilterServerListData) ValidateAll ¶
func (m *FilterServerListData) ValidateAll() error
ValidateAll checks the field values on FilterServerListData 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 FilterServerListDataMultiError, or nil if none found.
type FilterServerListDataMultiError ¶
type FilterServerListDataMultiError []error
FilterServerListDataMultiError is an error wrapping multiple validation errors returned by FilterServerListData.ValidateAll() if the designated constraints aren't met.
func (FilterServerListDataMultiError) AllErrors ¶
func (m FilterServerListDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterServerListDataMultiError) Error ¶
func (m FilterServerListDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterServerListDataValidationError ¶
type FilterServerListDataValidationError struct {
// contains filtered or unexported fields
}
FilterServerListDataValidationError is the validation error returned by FilterServerListData.Validate if the designated constraints aren't met.
func (FilterServerListDataValidationError) Cause ¶
func (e FilterServerListDataValidationError) Cause() error
Cause function returns cause value.
func (FilterServerListDataValidationError) Error ¶
func (e FilterServerListDataValidationError) Error() string
Error satisfies the builtin error interface
func (FilterServerListDataValidationError) ErrorName ¶
func (e FilterServerListDataValidationError) ErrorName() string
ErrorName returns error name.
func (FilterServerListDataValidationError) Field ¶
func (e FilterServerListDataValidationError) Field() string
Field function returns field value.
func (FilterServerListDataValidationError) Key ¶
func (e FilterServerListDataValidationError) Key() bool
Key function returns key value.
func (FilterServerListDataValidationError) Reason ¶
func (e FilterServerListDataValidationError) Reason() string
Reason function returns reason value.
type FilterServerListReply ¶
type FilterServerListReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *FilterServerListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*FilterServerListReply) Descriptor
deprecated
func (*FilterServerListReply) Descriptor() ([]byte, []int)
Deprecated: Use FilterServerListReply.ProtoReflect.Descriptor instead.
func (*FilterServerListReply) GetCode ¶
func (x *FilterServerListReply) GetCode() int32
func (*FilterServerListReply) GetData ¶
func (x *FilterServerListReply) GetData() *FilterServerListData
func (*FilterServerListReply) GetMessage ¶
func (x *FilterServerListReply) GetMessage() string
func (*FilterServerListReply) ProtoMessage ¶
func (*FilterServerListReply) ProtoMessage()
func (*FilterServerListReply) ProtoReflect ¶
func (x *FilterServerListReply) ProtoReflect() protoreflect.Message
func (*FilterServerListReply) Reset ¶
func (x *FilterServerListReply) Reset()
func (*FilterServerListReply) String ¶
func (x *FilterServerListReply) String() string
func (*FilterServerListReply) Validate ¶
func (m *FilterServerListReply) Validate() error
Validate checks the field values on FilterServerListReply 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 (*FilterServerListReply) ValidateAll ¶
func (m *FilterServerListReply) ValidateAll() error
ValidateAll checks the field values on FilterServerListReply 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 FilterServerListReplyMultiError, or nil if none found.
type FilterServerListReplyMultiError ¶
type FilterServerListReplyMultiError []error
FilterServerListReplyMultiError is an error wrapping multiple validation errors returned by FilterServerListReply.ValidateAll() if the designated constraints aren't met.
func (FilterServerListReplyMultiError) AllErrors ¶
func (m FilterServerListReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterServerListReplyMultiError) Error ¶
func (m FilterServerListReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterServerListReplyValidationError ¶
type FilterServerListReplyValidationError struct {
// contains filtered or unexported fields
}
FilterServerListReplyValidationError is the validation error returned by FilterServerListReply.Validate if the designated constraints aren't met.
func (FilterServerListReplyValidationError) Cause ¶
func (e FilterServerListReplyValidationError) Cause() error
Cause function returns cause value.
func (FilterServerListReplyValidationError) Error ¶
func (e FilterServerListReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FilterServerListReplyValidationError) ErrorName ¶
func (e FilterServerListReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FilterServerListReplyValidationError) Field ¶
func (e FilterServerListReplyValidationError) Field() string
Field function returns field value.
func (FilterServerListReplyValidationError) Key ¶
func (e FilterServerListReplyValidationError) Key() bool
Key function returns key value.
func (FilterServerListReplyValidationError) Reason ¶
func (e FilterServerListReplyValidationError) Reason() string
Reason function returns reason value.
type FilterServerListRequest ¶
type FilterServerListRequest struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
// contains filtered or unexported fields
}
func (*FilterServerListRequest) Descriptor
deprecated
func (*FilterServerListRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterServerListRequest.ProtoReflect.Descriptor instead.
func (*FilterServerListRequest) GetPage ¶
func (x *FilterServerListRequest) GetPage() int32
func (*FilterServerListRequest) GetSearch ¶
func (x *FilterServerListRequest) GetSearch() string
func (*FilterServerListRequest) GetSize ¶
func (x *FilterServerListRequest) GetSize() int32
func (*FilterServerListRequest) ProtoMessage ¶
func (*FilterServerListRequest) ProtoMessage()
func (*FilterServerListRequest) ProtoReflect ¶
func (x *FilterServerListRequest) ProtoReflect() protoreflect.Message
func (*FilterServerListRequest) Reset ¶
func (x *FilterServerListRequest) Reset()
func (*FilterServerListRequest) String ¶
func (x *FilterServerListRequest) String() string
func (*FilterServerListRequest) Validate ¶
func (m *FilterServerListRequest) Validate() error
Validate checks the field values on FilterServerListRequest 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 (*FilterServerListRequest) ValidateAll ¶
func (m *FilterServerListRequest) ValidateAll() error
ValidateAll checks the field values on FilterServerListRequest 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 FilterServerListRequestMultiError, or nil if none found.
type FilterServerListRequestMultiError ¶
type FilterServerListRequestMultiError []error
FilterServerListRequestMultiError is an error wrapping multiple validation errors returned by FilterServerListRequest.ValidateAll() if the designated constraints aren't met.
func (FilterServerListRequestMultiError) AllErrors ¶
func (m FilterServerListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterServerListRequestMultiError) Error ¶
func (m FilterServerListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterServerListRequestValidationError ¶
type FilterServerListRequestValidationError struct {
// contains filtered or unexported fields
}
FilterServerListRequestValidationError is the validation error returned by FilterServerListRequest.Validate if the designated constraints aren't met.
func (FilterServerListRequestValidationError) Cause ¶
func (e FilterServerListRequestValidationError) Cause() error
Cause function returns cause value.
func (FilterServerListRequestValidationError) Error ¶
func (e FilterServerListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FilterServerListRequestValidationError) ErrorName ¶
func (e FilterServerListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FilterServerListRequestValidationError) Field ¶
func (e FilterServerListRequestValidationError) Field() string
Field function returns field value.
func (FilterServerListRequestValidationError) Key ¶
func (e FilterServerListRequestValidationError) Key() bool
Key function returns key value.
func (FilterServerListRequestValidationError) Reason ¶
func (e FilterServerListRequestValidationError) Reason() string
Reason function returns reason value.
type GetServerProtocolsData ¶
type GetServerProtocolsData struct {
Protocols []*Protocol `protobuf:"bytes,1,rep,name=protocols,proto3" json:"protocols,omitempty"`
// contains filtered or unexported fields
}
func (*GetServerProtocolsData) Descriptor
deprecated
func (*GetServerProtocolsData) Descriptor() ([]byte, []int)
Deprecated: Use GetServerProtocolsData.ProtoReflect.Descriptor instead.
func (*GetServerProtocolsData) GetProtocols ¶
func (x *GetServerProtocolsData) GetProtocols() []*Protocol
func (*GetServerProtocolsData) ProtoMessage ¶
func (*GetServerProtocolsData) ProtoMessage()
func (*GetServerProtocolsData) ProtoReflect ¶
func (x *GetServerProtocolsData) ProtoReflect() protoreflect.Message
func (*GetServerProtocolsData) Reset ¶
func (x *GetServerProtocolsData) Reset()
func (*GetServerProtocolsData) String ¶
func (x *GetServerProtocolsData) String() string
func (*GetServerProtocolsData) Validate ¶
func (m *GetServerProtocolsData) Validate() error
Validate checks the field values on GetServerProtocolsData 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 (*GetServerProtocolsData) ValidateAll ¶
func (m *GetServerProtocolsData) ValidateAll() error
ValidateAll checks the field values on GetServerProtocolsData 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 GetServerProtocolsDataMultiError, or nil if none found.
type GetServerProtocolsDataMultiError ¶
type GetServerProtocolsDataMultiError []error
GetServerProtocolsDataMultiError is an error wrapping multiple validation errors returned by GetServerProtocolsData.ValidateAll() if the designated constraints aren't met.
func (GetServerProtocolsDataMultiError) AllErrors ¶
func (m GetServerProtocolsDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServerProtocolsDataMultiError) Error ¶
func (m GetServerProtocolsDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServerProtocolsDataValidationError ¶
type GetServerProtocolsDataValidationError struct {
// contains filtered or unexported fields
}
GetServerProtocolsDataValidationError is the validation error returned by GetServerProtocolsData.Validate if the designated constraints aren't met.
func (GetServerProtocolsDataValidationError) Cause ¶
func (e GetServerProtocolsDataValidationError) Cause() error
Cause function returns cause value.
func (GetServerProtocolsDataValidationError) Error ¶
func (e GetServerProtocolsDataValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerProtocolsDataValidationError) ErrorName ¶
func (e GetServerProtocolsDataValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerProtocolsDataValidationError) Field ¶
func (e GetServerProtocolsDataValidationError) Field() string
Field function returns field value.
func (GetServerProtocolsDataValidationError) Key ¶
func (e GetServerProtocolsDataValidationError) Key() bool
Key function returns key value.
func (GetServerProtocolsDataValidationError) Reason ¶
func (e GetServerProtocolsDataValidationError) Reason() string
Reason function returns reason value.
type GetServerProtocolsReply ¶
type GetServerProtocolsReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *GetServerProtocolsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*GetServerProtocolsReply) Descriptor
deprecated
func (*GetServerProtocolsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetServerProtocolsReply.ProtoReflect.Descriptor instead.
func (*GetServerProtocolsReply) GetCode ¶
func (x *GetServerProtocolsReply) GetCode() int32
func (*GetServerProtocolsReply) GetData ¶
func (x *GetServerProtocolsReply) GetData() *GetServerProtocolsData
func (*GetServerProtocolsReply) GetMessage ¶
func (x *GetServerProtocolsReply) GetMessage() string
func (*GetServerProtocolsReply) ProtoMessage ¶
func (*GetServerProtocolsReply) ProtoMessage()
func (*GetServerProtocolsReply) ProtoReflect ¶
func (x *GetServerProtocolsReply) ProtoReflect() protoreflect.Message
func (*GetServerProtocolsReply) Reset ¶
func (x *GetServerProtocolsReply) Reset()
func (*GetServerProtocolsReply) String ¶
func (x *GetServerProtocolsReply) String() string
func (*GetServerProtocolsReply) Validate ¶
func (m *GetServerProtocolsReply) Validate() error
Validate checks the field values on GetServerProtocolsReply 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 (*GetServerProtocolsReply) ValidateAll ¶
func (m *GetServerProtocolsReply) ValidateAll() error
ValidateAll checks the field values on GetServerProtocolsReply 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 GetServerProtocolsReplyMultiError, or nil if none found.
type GetServerProtocolsReplyMultiError ¶
type GetServerProtocolsReplyMultiError []error
GetServerProtocolsReplyMultiError is an error wrapping multiple validation errors returned by GetServerProtocolsReply.ValidateAll() if the designated constraints aren't met.
func (GetServerProtocolsReplyMultiError) AllErrors ¶
func (m GetServerProtocolsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServerProtocolsReplyMultiError) Error ¶
func (m GetServerProtocolsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServerProtocolsReplyValidationError ¶
type GetServerProtocolsReplyValidationError struct {
// contains filtered or unexported fields
}
GetServerProtocolsReplyValidationError is the validation error returned by GetServerProtocolsReply.Validate if the designated constraints aren't met.
func (GetServerProtocolsReplyValidationError) Cause ¶
func (e GetServerProtocolsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetServerProtocolsReplyValidationError) Error ¶
func (e GetServerProtocolsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerProtocolsReplyValidationError) ErrorName ¶
func (e GetServerProtocolsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerProtocolsReplyValidationError) Field ¶
func (e GetServerProtocolsReplyValidationError) Field() string
Field function returns field value.
func (GetServerProtocolsReplyValidationError) Key ¶
func (e GetServerProtocolsReplyValidationError) Key() bool
Key function returns key value.
func (GetServerProtocolsReplyValidationError) Reason ¶
func (e GetServerProtocolsReplyValidationError) Reason() string
Reason function returns reason value.
type GetServerProtocolsRequest ¶
type GetServerProtocolsRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetServerProtocolsRequest) Descriptor
deprecated
func (*GetServerProtocolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerProtocolsRequest.ProtoReflect.Descriptor instead.
func (*GetServerProtocolsRequest) GetId ¶
func (x *GetServerProtocolsRequest) GetId() int64
func (*GetServerProtocolsRequest) ProtoMessage ¶
func (*GetServerProtocolsRequest) ProtoMessage()
func (*GetServerProtocolsRequest) ProtoReflect ¶
func (x *GetServerProtocolsRequest) ProtoReflect() protoreflect.Message
func (*GetServerProtocolsRequest) Reset ¶
func (x *GetServerProtocolsRequest) Reset()
func (*GetServerProtocolsRequest) String ¶
func (x *GetServerProtocolsRequest) String() string
func (*GetServerProtocolsRequest) Validate ¶
func (m *GetServerProtocolsRequest) Validate() error
Validate checks the field values on GetServerProtocolsRequest 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 (*GetServerProtocolsRequest) ValidateAll ¶
func (m *GetServerProtocolsRequest) ValidateAll() error
ValidateAll checks the field values on GetServerProtocolsRequest 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 GetServerProtocolsRequestMultiError, or nil if none found.
type GetServerProtocolsRequestMultiError ¶
type GetServerProtocolsRequestMultiError []error
GetServerProtocolsRequestMultiError is an error wrapping multiple validation errors returned by GetServerProtocolsRequest.ValidateAll() if the designated constraints aren't met.
func (GetServerProtocolsRequestMultiError) AllErrors ¶
func (m GetServerProtocolsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetServerProtocolsRequestMultiError) Error ¶
func (m GetServerProtocolsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetServerProtocolsRequestValidationError ¶
type GetServerProtocolsRequestValidationError struct {
// contains filtered or unexported fields
}
GetServerProtocolsRequestValidationError is the validation error returned by GetServerProtocolsRequest.Validate if the designated constraints aren't met.
func (GetServerProtocolsRequestValidationError) Cause ¶
func (e GetServerProtocolsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetServerProtocolsRequestValidationError) Error ¶
func (e GetServerProtocolsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetServerProtocolsRequestValidationError) ErrorName ¶
func (e GetServerProtocolsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetServerProtocolsRequestValidationError) Field ¶
func (e GetServerProtocolsRequestValidationError) Field() string
Field function returns field value.
func (GetServerProtocolsRequestValidationError) Key ¶
func (e GetServerProtocolsRequestValidationError) Key() bool
Key function returns key value.
func (GetServerProtocolsRequestValidationError) Reason ¶
func (e GetServerProtocolsRequestValidationError) Reason() string
Reason function returns reason value.
type HasMigrateServerNodeData ¶
type HasMigrateServerNodeData struct {
HasMigrate bool `protobuf:"varint,1,opt,name=has_migrate,json=hasMigrate,proto3" json:"has_migrate,omitempty"`
// contains filtered or unexported fields
}
func (*HasMigrateServerNodeData) Descriptor
deprecated
func (*HasMigrateServerNodeData) Descriptor() ([]byte, []int)
Deprecated: Use HasMigrateServerNodeData.ProtoReflect.Descriptor instead.
func (*HasMigrateServerNodeData) GetHasMigrate ¶
func (x *HasMigrateServerNodeData) GetHasMigrate() bool
func (*HasMigrateServerNodeData) ProtoMessage ¶
func (*HasMigrateServerNodeData) ProtoMessage()
func (*HasMigrateServerNodeData) ProtoReflect ¶
func (x *HasMigrateServerNodeData) ProtoReflect() protoreflect.Message
func (*HasMigrateServerNodeData) Reset ¶
func (x *HasMigrateServerNodeData) Reset()
func (*HasMigrateServerNodeData) String ¶
func (x *HasMigrateServerNodeData) String() string
func (*HasMigrateServerNodeData) Validate ¶
func (m *HasMigrateServerNodeData) Validate() error
Validate checks the field values on HasMigrateServerNodeData 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 (*HasMigrateServerNodeData) ValidateAll ¶
func (m *HasMigrateServerNodeData) ValidateAll() error
ValidateAll checks the field values on HasMigrateServerNodeData 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 HasMigrateServerNodeDataMultiError, or nil if none found.
type HasMigrateServerNodeDataMultiError ¶
type HasMigrateServerNodeDataMultiError []error
HasMigrateServerNodeDataMultiError is an error wrapping multiple validation errors returned by HasMigrateServerNodeData.ValidateAll() if the designated constraints aren't met.
func (HasMigrateServerNodeDataMultiError) AllErrors ¶
func (m HasMigrateServerNodeDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasMigrateServerNodeDataMultiError) Error ¶
func (m HasMigrateServerNodeDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasMigrateServerNodeDataValidationError ¶
type HasMigrateServerNodeDataValidationError struct {
// contains filtered or unexported fields
}
HasMigrateServerNodeDataValidationError is the validation error returned by HasMigrateServerNodeData.Validate if the designated constraints aren't met.
func (HasMigrateServerNodeDataValidationError) Cause ¶
func (e HasMigrateServerNodeDataValidationError) Cause() error
Cause function returns cause value.
func (HasMigrateServerNodeDataValidationError) Error ¶
func (e HasMigrateServerNodeDataValidationError) Error() string
Error satisfies the builtin error interface
func (HasMigrateServerNodeDataValidationError) ErrorName ¶
func (e HasMigrateServerNodeDataValidationError) ErrorName() string
ErrorName returns error name.
func (HasMigrateServerNodeDataValidationError) Field ¶
func (e HasMigrateServerNodeDataValidationError) Field() string
Field function returns field value.
func (HasMigrateServerNodeDataValidationError) Key ¶
func (e HasMigrateServerNodeDataValidationError) Key() bool
Key function returns key value.
func (HasMigrateServerNodeDataValidationError) Reason ¶
func (e HasMigrateServerNodeDataValidationError) Reason() string
Reason function returns reason value.
type HasMigrateServerNodeReply ¶
type HasMigrateServerNodeReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *HasMigrateServerNodeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*HasMigrateServerNodeReply) Descriptor
deprecated
func (*HasMigrateServerNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use HasMigrateServerNodeReply.ProtoReflect.Descriptor instead.
func (*HasMigrateServerNodeReply) GetCode ¶
func (x *HasMigrateServerNodeReply) GetCode() int32
func (*HasMigrateServerNodeReply) GetData ¶
func (x *HasMigrateServerNodeReply) GetData() *HasMigrateServerNodeData
func (*HasMigrateServerNodeReply) GetMessage ¶
func (x *HasMigrateServerNodeReply) GetMessage() string
func (*HasMigrateServerNodeReply) ProtoMessage ¶
func (*HasMigrateServerNodeReply) ProtoMessage()
func (*HasMigrateServerNodeReply) ProtoReflect ¶
func (x *HasMigrateServerNodeReply) ProtoReflect() protoreflect.Message
func (*HasMigrateServerNodeReply) Reset ¶
func (x *HasMigrateServerNodeReply) Reset()
func (*HasMigrateServerNodeReply) String ¶
func (x *HasMigrateServerNodeReply) String() string
func (*HasMigrateServerNodeReply) Validate ¶
func (m *HasMigrateServerNodeReply) Validate() error
Validate checks the field values on HasMigrateServerNodeReply 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 (*HasMigrateServerNodeReply) ValidateAll ¶
func (m *HasMigrateServerNodeReply) ValidateAll() error
ValidateAll checks the field values on HasMigrateServerNodeReply 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 HasMigrateServerNodeReplyMultiError, or nil if none found.
type HasMigrateServerNodeReplyMultiError ¶
type HasMigrateServerNodeReplyMultiError []error
HasMigrateServerNodeReplyMultiError is an error wrapping multiple validation errors returned by HasMigrateServerNodeReply.ValidateAll() if the designated constraints aren't met.
func (HasMigrateServerNodeReplyMultiError) AllErrors ¶
func (m HasMigrateServerNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasMigrateServerNodeReplyMultiError) Error ¶
func (m HasMigrateServerNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasMigrateServerNodeReplyValidationError ¶
type HasMigrateServerNodeReplyValidationError struct {
// contains filtered or unexported fields
}
HasMigrateServerNodeReplyValidationError is the validation error returned by HasMigrateServerNodeReply.Validate if the designated constraints aren't met.
func (HasMigrateServerNodeReplyValidationError) Cause ¶
func (e HasMigrateServerNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (HasMigrateServerNodeReplyValidationError) Error ¶
func (e HasMigrateServerNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HasMigrateServerNodeReplyValidationError) ErrorName ¶
func (e HasMigrateServerNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HasMigrateServerNodeReplyValidationError) Field ¶
func (e HasMigrateServerNodeReplyValidationError) Field() string
Field function returns field value.
func (HasMigrateServerNodeReplyValidationError) Key ¶
func (e HasMigrateServerNodeReplyValidationError) Key() bool
Key function returns key value.
func (HasMigrateServerNodeReplyValidationError) Reason ¶
func (e HasMigrateServerNodeReplyValidationError) Reason() string
Reason function returns reason value.
type HasMigrateServerNodeRequest ¶
type HasMigrateServerNodeRequest struct {
// contains filtered or unexported fields
}
Migration Requests/Replies
func (*HasMigrateServerNodeRequest) Descriptor
deprecated
func (*HasMigrateServerNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use HasMigrateServerNodeRequest.ProtoReflect.Descriptor instead.
func (*HasMigrateServerNodeRequest) ProtoMessage ¶
func (*HasMigrateServerNodeRequest) ProtoMessage()
func (*HasMigrateServerNodeRequest) ProtoReflect ¶
func (x *HasMigrateServerNodeRequest) ProtoReflect() protoreflect.Message
func (*HasMigrateServerNodeRequest) Reset ¶
func (x *HasMigrateServerNodeRequest) Reset()
func (*HasMigrateServerNodeRequest) String ¶
func (x *HasMigrateServerNodeRequest) String() string
func (*HasMigrateServerNodeRequest) Validate ¶
func (m *HasMigrateServerNodeRequest) Validate() error
Validate checks the field values on HasMigrateServerNodeRequest 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 (*HasMigrateServerNodeRequest) ValidateAll ¶
func (m *HasMigrateServerNodeRequest) ValidateAll() error
ValidateAll checks the field values on HasMigrateServerNodeRequest 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 HasMigrateServerNodeRequestMultiError, or nil if none found.
type HasMigrateServerNodeRequestMultiError ¶
type HasMigrateServerNodeRequestMultiError []error
HasMigrateServerNodeRequestMultiError is an error wrapping multiple validation errors returned by HasMigrateServerNodeRequest.ValidateAll() if the designated constraints aren't met.
func (HasMigrateServerNodeRequestMultiError) AllErrors ¶
func (m HasMigrateServerNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasMigrateServerNodeRequestMultiError) Error ¶
func (m HasMigrateServerNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasMigrateServerNodeRequestValidationError ¶
type HasMigrateServerNodeRequestValidationError struct {
// contains filtered or unexported fields
}
HasMigrateServerNodeRequestValidationError is the validation error returned by HasMigrateServerNodeRequest.Validate if the designated constraints aren't met.
func (HasMigrateServerNodeRequestValidationError) Cause ¶
func (e HasMigrateServerNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (HasMigrateServerNodeRequestValidationError) Error ¶
func (e HasMigrateServerNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HasMigrateServerNodeRequestValidationError) ErrorName ¶
func (e HasMigrateServerNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HasMigrateServerNodeRequestValidationError) Field ¶
func (e HasMigrateServerNodeRequestValidationError) Field() string
Field function returns field value.
func (HasMigrateServerNodeRequestValidationError) Key ¶
func (e HasMigrateServerNodeRequestValidationError) Key() bool
Key function returns key value.
func (HasMigrateServerNodeRequestValidationError) Reason ¶
func (e HasMigrateServerNodeRequestValidationError) Reason() string
Reason function returns reason value.
type MigrateServerNodeData ¶
type MigrateServerNodeData struct {
Success uint64 `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Fail uint64 `protobuf:"varint,2,opt,name=fail,proto3" json:"fail,omitempty"`
// contains filtered or unexported fields
}
func (*MigrateServerNodeData) Descriptor
deprecated
func (*MigrateServerNodeData) Descriptor() ([]byte, []int)
Deprecated: Use MigrateServerNodeData.ProtoReflect.Descriptor instead.
func (*MigrateServerNodeData) GetFail ¶
func (x *MigrateServerNodeData) GetFail() uint64
func (*MigrateServerNodeData) GetSuccess ¶
func (x *MigrateServerNodeData) GetSuccess() uint64
func (*MigrateServerNodeData) ProtoMessage ¶
func (*MigrateServerNodeData) ProtoMessage()
func (*MigrateServerNodeData) ProtoReflect ¶
func (x *MigrateServerNodeData) ProtoReflect() protoreflect.Message
func (*MigrateServerNodeData) Reset ¶
func (x *MigrateServerNodeData) Reset()
func (*MigrateServerNodeData) String ¶
func (x *MigrateServerNodeData) String() string
func (*MigrateServerNodeData) Validate ¶
func (m *MigrateServerNodeData) Validate() error
Validate checks the field values on MigrateServerNodeData 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 (*MigrateServerNodeData) ValidateAll ¶
func (m *MigrateServerNodeData) ValidateAll() error
ValidateAll checks the field values on MigrateServerNodeData 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 MigrateServerNodeDataMultiError, or nil if none found.
type MigrateServerNodeDataMultiError ¶
type MigrateServerNodeDataMultiError []error
MigrateServerNodeDataMultiError is an error wrapping multiple validation errors returned by MigrateServerNodeData.ValidateAll() if the designated constraints aren't met.
func (MigrateServerNodeDataMultiError) AllErrors ¶
func (m MigrateServerNodeDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrateServerNodeDataMultiError) Error ¶
func (m MigrateServerNodeDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrateServerNodeDataValidationError ¶
type MigrateServerNodeDataValidationError struct {
// contains filtered or unexported fields
}
MigrateServerNodeDataValidationError is the validation error returned by MigrateServerNodeData.Validate if the designated constraints aren't met.
func (MigrateServerNodeDataValidationError) Cause ¶
func (e MigrateServerNodeDataValidationError) Cause() error
Cause function returns cause value.
func (MigrateServerNodeDataValidationError) Error ¶
func (e MigrateServerNodeDataValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateServerNodeDataValidationError) ErrorName ¶
func (e MigrateServerNodeDataValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateServerNodeDataValidationError) Field ¶
func (e MigrateServerNodeDataValidationError) Field() string
Field function returns field value.
func (MigrateServerNodeDataValidationError) Key ¶
func (e MigrateServerNodeDataValidationError) Key() bool
Key function returns key value.
func (MigrateServerNodeDataValidationError) Reason ¶
func (e MigrateServerNodeDataValidationError) Reason() string
Reason function returns reason value.
type MigrateServerNodeReply ¶
type MigrateServerNodeReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *MigrateServerNodeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*MigrateServerNodeReply) Descriptor
deprecated
func (*MigrateServerNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use MigrateServerNodeReply.ProtoReflect.Descriptor instead.
func (*MigrateServerNodeReply) GetCode ¶
func (x *MigrateServerNodeReply) GetCode() int32
func (*MigrateServerNodeReply) GetData ¶
func (x *MigrateServerNodeReply) GetData() *MigrateServerNodeData
func (*MigrateServerNodeReply) GetMessage ¶
func (x *MigrateServerNodeReply) GetMessage() string
func (*MigrateServerNodeReply) ProtoMessage ¶
func (*MigrateServerNodeReply) ProtoMessage()
func (*MigrateServerNodeReply) ProtoReflect ¶
func (x *MigrateServerNodeReply) ProtoReflect() protoreflect.Message
func (*MigrateServerNodeReply) Reset ¶
func (x *MigrateServerNodeReply) Reset()
func (*MigrateServerNodeReply) String ¶
func (x *MigrateServerNodeReply) String() string
func (*MigrateServerNodeReply) Validate ¶
func (m *MigrateServerNodeReply) Validate() error
Validate checks the field values on MigrateServerNodeReply 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 (*MigrateServerNodeReply) ValidateAll ¶
func (m *MigrateServerNodeReply) ValidateAll() error
ValidateAll checks the field values on MigrateServerNodeReply 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 MigrateServerNodeReplyMultiError, or nil if none found.
type MigrateServerNodeReplyMultiError ¶
type MigrateServerNodeReplyMultiError []error
MigrateServerNodeReplyMultiError is an error wrapping multiple validation errors returned by MigrateServerNodeReply.ValidateAll() if the designated constraints aren't met.
func (MigrateServerNodeReplyMultiError) AllErrors ¶
func (m MigrateServerNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrateServerNodeReplyMultiError) Error ¶
func (m MigrateServerNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrateServerNodeReplyValidationError ¶
type MigrateServerNodeReplyValidationError struct {
// contains filtered or unexported fields
}
MigrateServerNodeReplyValidationError is the validation error returned by MigrateServerNodeReply.Validate if the designated constraints aren't met.
func (MigrateServerNodeReplyValidationError) Cause ¶
func (e MigrateServerNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (MigrateServerNodeReplyValidationError) Error ¶
func (e MigrateServerNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateServerNodeReplyValidationError) ErrorName ¶
func (e MigrateServerNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateServerNodeReplyValidationError) Field ¶
func (e MigrateServerNodeReplyValidationError) Field() string
Field function returns field value.
func (MigrateServerNodeReplyValidationError) Key ¶
func (e MigrateServerNodeReplyValidationError) Key() bool
Key function returns key value.
func (MigrateServerNodeReplyValidationError) Reason ¶
func (e MigrateServerNodeReplyValidationError) Reason() string
Reason function returns reason value.
type MigrateServerNodeRequest ¶
type MigrateServerNodeRequest struct {
// contains filtered or unexported fields
}
func (*MigrateServerNodeRequest) Descriptor
deprecated
func (*MigrateServerNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use MigrateServerNodeRequest.ProtoReflect.Descriptor instead.
func (*MigrateServerNodeRequest) ProtoMessage ¶
func (*MigrateServerNodeRequest) ProtoMessage()
func (*MigrateServerNodeRequest) ProtoReflect ¶
func (x *MigrateServerNodeRequest) ProtoReflect() protoreflect.Message
func (*MigrateServerNodeRequest) Reset ¶
func (x *MigrateServerNodeRequest) Reset()
func (*MigrateServerNodeRequest) String ¶
func (x *MigrateServerNodeRequest) String() string
func (*MigrateServerNodeRequest) Validate ¶
func (m *MigrateServerNodeRequest) Validate() error
Validate checks the field values on MigrateServerNodeRequest 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 (*MigrateServerNodeRequest) ValidateAll ¶
func (m *MigrateServerNodeRequest) ValidateAll() error
ValidateAll checks the field values on MigrateServerNodeRequest 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 MigrateServerNodeRequestMultiError, or nil if none found.
type MigrateServerNodeRequestMultiError ¶
type MigrateServerNodeRequestMultiError []error
MigrateServerNodeRequestMultiError is an error wrapping multiple validation errors returned by MigrateServerNodeRequest.ValidateAll() if the designated constraints aren't met.
func (MigrateServerNodeRequestMultiError) AllErrors ¶
func (m MigrateServerNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrateServerNodeRequestMultiError) Error ¶
func (m MigrateServerNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrateServerNodeRequestValidationError ¶
type MigrateServerNodeRequestValidationError struct {
// contains filtered or unexported fields
}
MigrateServerNodeRequestValidationError is the validation error returned by MigrateServerNodeRequest.Validate if the designated constraints aren't met.
func (MigrateServerNodeRequestValidationError) Cause ¶
func (e MigrateServerNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (MigrateServerNodeRequestValidationError) Error ¶
func (e MigrateServerNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateServerNodeRequestValidationError) ErrorName ¶
func (e MigrateServerNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateServerNodeRequestValidationError) Field ¶
func (e MigrateServerNodeRequestValidationError) Field() string
Field function returns field value.
func (MigrateServerNodeRequestValidationError) Key ¶
func (e MigrateServerNodeRequestValidationError) Key() bool
Key function returns key value.
func (MigrateServerNodeRequestValidationError) Reason ¶
func (e MigrateServerNodeRequestValidationError) Reason() string
Reason function returns reason value.
type Node ¶
type Node struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // Proto3 不支持 uint16,使用 uint32(值范围 0-65535,对应数据库 smallint32unsigned)
Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
ServerId int64 `protobuf:"varint,7,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
Protocol string `protobuf:"bytes,8,opt,name=protocol,proto3" json:"protocol,omitempty"`
Enabled *bool `protobuf:"varint,9,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // 使用 optional 支持 null 和布尔值,与老项目兼容
Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
NodeGroupId int64 `protobuf:"varint,11,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,12,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
NodeType string `protobuf:"bytes,13,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
IsHidden *bool `protobuf:"varint,14,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"`
CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
func (*Node) GetAddress ¶
func (*Node) GetCreatedAt ¶
func (*Node) GetEnabled ¶
func (*Node) GetIsHidden ¶
func (*Node) GetNodeGroupId ¶
func (*Node) GetNodeGroupIds ¶
func (*Node) GetNodeType ¶
func (*Node) GetProtocol ¶
func (*Node) GetServerId ¶
func (*Node) GetUpdatedAt ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) Validate ¶
Validate checks the field values on Node 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 (*Node) ValidateAll ¶
ValidateAll checks the field values on Node 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 NodeMultiError, or nil if none found.
type NodeMultiError ¶
type NodeMultiError []error
NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.
func (NodeMultiError) AllErrors ¶
func (m NodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeMultiError) Error ¶
func (m NodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeValidationError ¶
type NodeValidationError struct {
// contains filtered or unexported fields
}
NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.
func (NodeValidationError) Cause ¶
func (e NodeValidationError) Cause() error
Cause function returns cause value.
func (NodeValidationError) Error ¶
func (e NodeValidationError) Error() string
Error satisfies the builtin error interface
func (NodeValidationError) ErrorName ¶
func (e NodeValidationError) ErrorName() string
ErrorName returns error name.
func (NodeValidationError) Field ¶
func (e NodeValidationError) Field() string
Field function returns field value.
func (NodeValidationError) Key ¶
func (e NodeValidationError) Key() bool
Key function returns key value.
func (NodeValidationError) Reason ¶
func (e NodeValidationError) Reason() string
Reason function returns reason value.
type Protocol ¶
type Protocol struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
Security string `protobuf:"bytes,4,opt,name=security,proto3" json:"security,omitempty"`
Sni string `protobuf:"bytes,5,opt,name=sni,proto3" json:"sni,omitempty"`
AllowInsecure bool `protobuf:"varint,6,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"`
Fingerprint string `protobuf:"bytes,7,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
RealityServerAddr string `protobuf:"bytes,8,opt,name=reality_server_addr,json=realityServerAddr,proto3" json:"reality_server_addr,omitempty"`
RealityServerPort int32 `protobuf:"varint,9,opt,name=reality_server_port,json=realityServerPort,proto3" json:"reality_server_port,omitempty"`
RealityPrivateKey string `protobuf:"bytes,10,opt,name=reality_private_key,json=realityPrivateKey,proto3" json:"reality_private_key,omitempty"`
RealityPublicKey string `protobuf:"bytes,11,opt,name=reality_public_key,json=realityPublicKey,proto3" json:"reality_public_key,omitempty"`
RealityShortId string `protobuf:"bytes,12,opt,name=reality_short_id,json=realityShortId,proto3" json:"reality_short_id,omitempty"`
Transport string `protobuf:"bytes,13,opt,name=transport,proto3" json:"transport,omitempty"`
Host string `protobuf:"bytes,14,opt,name=host,proto3" json:"host,omitempty"`
Path string `protobuf:"bytes,15,opt,name=path,proto3" json:"path,omitempty"`
ServiceName string `protobuf:"bytes,16,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
Cipher string `protobuf:"bytes,17,opt,name=cipher,proto3" json:"cipher,omitempty"`
ServerKey string `protobuf:"bytes,18,opt,name=server_key,json=serverKey,proto3" json:"server_key,omitempty"`
Flow string `protobuf:"bytes,19,opt,name=flow,proto3" json:"flow,omitempty"`
HopPorts string `protobuf:"bytes,20,opt,name=hop_ports,json=hopPorts,proto3" json:"hop_ports,omitempty"`
HopInterval int32 `protobuf:"varint,21,opt,name=hop_interval,json=hopInterval,proto3" json:"hop_interval,omitempty"`
ObfsPassword string `protobuf:"bytes,22,opt,name=obfs_password,json=obfsPassword,proto3" json:"obfs_password,omitempty"`
DisableSni bool `protobuf:"varint,23,opt,name=disable_sni,json=disableSni,proto3" json:"disable_sni,omitempty"`
ReduceRtt bool `protobuf:"varint,24,opt,name=reduce_rtt,json=reduceRtt,proto3" json:"reduce_rtt,omitempty"`
UdpRelayMode string `protobuf:"bytes,25,opt,name=udp_relay_mode,json=udpRelayMode,proto3" json:"udp_relay_mode,omitempty"`
CongestionController string `protobuf:"bytes,26,opt,name=congestion_controller,json=congestionController,proto3" json:"congestion_controller,omitempty"`
Multiplex string `protobuf:"bytes,27,opt,name=multiplex,proto3" json:"multiplex,omitempty"`
PaddingScheme string `protobuf:"bytes,28,opt,name=padding_scheme,json=paddingScheme,proto3" json:"padding_scheme,omitempty"`
UpMbps int32 `protobuf:"varint,29,opt,name=up_mbps,json=upMbps,proto3" json:"up_mbps,omitempty"`
DownMbps int32 `protobuf:"varint,30,opt,name=down_mbps,json=downMbps,proto3" json:"down_mbps,omitempty"`
Obfs string `protobuf:"bytes,31,opt,name=obfs,proto3" json:"obfs,omitempty"`
ObfsHost string `protobuf:"bytes,32,opt,name=obfs_host,json=obfsHost,proto3" json:"obfs_host,omitempty"`
ObfsPath string `protobuf:"bytes,33,opt,name=obfs_path,json=obfsPath,proto3" json:"obfs_path,omitempty"`
XhttpMode string `protobuf:"bytes,34,opt,name=xhttp_mode,json=xhttpMode,proto3" json:"xhttp_mode,omitempty"`
XhttpExtra string `protobuf:"bytes,35,opt,name=xhttp_extra,json=xhttpExtra,proto3" json:"xhttp_extra,omitempty"`
Encryption string `protobuf:"bytes,36,opt,name=encryption,proto3" json:"encryption,omitempty"`
EncryptionMode string `protobuf:"bytes,37,opt,name=encryption_mode,json=encryptionMode,proto3" json:"encryption_mode,omitempty"`
EncryptionRtt string `protobuf:"bytes,38,opt,name=encryption_rtt,json=encryptionRtt,proto3" json:"encryption_rtt,omitempty"`
EncryptionTicket string `protobuf:"bytes,39,opt,name=encryption_ticket,json=encryptionTicket,proto3" json:"encryption_ticket,omitempty"`
EncryptionServerPadding string `` /* 133-byte string literal not displayed */
EncryptionPrivateKey string `protobuf:"bytes,41,opt,name=encryption_private_key,json=encryptionPrivateKey,proto3" json:"encryption_private_key,omitempty"`
EncryptionClientPadding string `` /* 133-byte string literal not displayed */
EncryptionPassword string `protobuf:"bytes,43,opt,name=encryption_password,json=encryptionPassword,proto3" json:"encryption_password,omitempty"`
Ratio float64 `protobuf:"fixed64,44,opt,name=ratio,proto3" json:"ratio,omitempty"`
CertMode string `protobuf:"bytes,45,opt,name=cert_mode,json=certMode,proto3" json:"cert_mode,omitempty"`
CertDnsProvider string `protobuf:"bytes,46,opt,name=cert_dns_provider,json=certDnsProvider,proto3" json:"cert_dns_provider,omitempty"`
CertDnsEnv string `protobuf:"bytes,47,opt,name=cert_dns_env,json=certDnsEnv,proto3" json:"cert_dns_env,omitempty"`
SimnetPsk string `protobuf:"bytes,48,opt,name=simnet_psk,json=simnetPsk,proto3" json:"simnet_psk,omitempty"`
SimnetKeyId int32 `protobuf:"varint,49,opt,name=simnet_key_id,json=simnetKeyId,proto3" json:"simnet_key_id,omitempty"`
SimnetTicketId string `protobuf:"bytes,50,opt,name=simnet_ticket_id,json=simnetTicketId,proto3" json:"simnet_ticket_id,omitempty"`
SimnetPath string `protobuf:"bytes,51,opt,name=simnet_path,json=simnetPath,proto3" json:"simnet_path,omitempty"`
SimnetCarrier string `protobuf:"bytes,52,opt,name=simnet_carrier,json=simnetCarrier,proto3" json:"simnet_carrier,omitempty"`
SimnetAfEnabled bool `protobuf:"varint,53,opt,name=simnet_af_enabled,json=simnetAfEnabled,proto3" json:"simnet_af_enabled,omitempty"`
SimnetAfPathMode string `protobuf:"bytes,54,opt,name=simnet_af_path_mode,json=simnetAfPathMode,proto3" json:"simnet_af_path_mode,omitempty"`
SimnetAfPathPrefix string `protobuf:"bytes,55,opt,name=simnet_af_path_prefix,json=simnetAfPathPrefix,proto3" json:"simnet_af_path_prefix,omitempty"`
SimnetAfPathSuffix string `protobuf:"bytes,56,opt,name=simnet_af_path_suffix,json=simnetAfPathSuffix,proto3" json:"simnet_af_path_suffix,omitempty"`
SimnetAfMagicMode string `protobuf:"bytes,57,opt,name=simnet_af_magic_mode,json=simnetAfMagicMode,proto3" json:"simnet_af_magic_mode,omitempty"`
SimnetAfResponseJitterMs int32 `` /* 141-byte string literal not displayed */
SimnetAfHandshakePolymorphism bool `` /* 154-byte string literal not displayed */
SimnetAfSettingsJitter bool `` /* 133-byte string literal not displayed */
SimnetAfFakeHeaderInjection bool `` /* 150-byte string literal not displayed */
SimnetReverseEnabled bool `protobuf:"varint,62,opt,name=simnet_reverse_enabled,json=simnetReverseEnabled,proto3" json:"simnet_reverse_enabled,omitempty"`
SimnetReverseListenAddr string `` /* 135-byte string literal not displayed */
SimnetReverseListenPort int32 `` /* 136-byte string literal not displayed */
SimnetReverseTargetHost string `` /* 135-byte string literal not displayed */
SimnetReverseTargetPort int32 `` /* 136-byte string literal not displayed */
SimnetFallbackEnabled bool `` /* 128-byte string literal not displayed */
SimnetFallbackTargetScheme string `` /* 144-byte string literal not displayed */
SimnetFallbackTargetHost string `` /* 138-byte string literal not displayed */
SimnetFallbackTargetPort int32 `` /* 139-byte string literal not displayed */
SimnetFallbackHostHeader string `` /* 138-byte string literal not displayed */
SimnetFallbackTlsSni string `` /* 126-byte string literal not displayed */
SimnetInboundMaxStreamsPerSession int32 `` /* 171-byte string literal not displayed */
SimnetInboundMaxHandlerTasksPerSession int32 `` /* 188-byte string literal not displayed */
SimnetStreamEventChannelCapacity int32 `` /* 166-byte string literal not displayed */
SimnetStreamDataChannelCapacity int32 `` /* 163-byte string literal not displayed */
SimnetTargetDialTimeoutMs int32 `` /* 145-byte string literal not displayed */
SimnetTargetMaxConcurrentDials int32 `` /* 160-byte string literal not displayed */
SimnetEgressBlockLoopback bool `` /* 143-byte string literal not displayed */
SimnetEgressBlockPrivate bool `` /* 140-byte string literal not displayed */
SimnetEgressBlockLinkLocal bool `` /* 148-byte string literal not displayed */
SimnetEgressBlockMetadata bool `` /* 143-byte string literal not displayed */
SimnetSendWindow int32 `protobuf:"varint,131,opt,name=simnet_send_window,json=simnetSendWindow,proto3" json:"simnet_send_window,omitempty"`
SimnetRecvWindow int32 `protobuf:"varint,132,opt,name=simnet_recv_window,json=simnetRecvWindow,proto3" json:"simnet_recv_window,omitempty"`
SimnetMaxConcurrentStreams int32 `` /* 146-byte string literal not displayed */
SimnetInitialWindowSize int32 `` /* 137-byte string literal not displayed */
SimnetMaxFrameSize int32 `protobuf:"varint,135,opt,name=simnet_max_frame_size,json=simnetMaxFrameSize,proto3" json:"simnet_max_frame_size,omitempty"`
SimnetClientMaxConcurrentStreams int32 `` /* 166-byte string literal not displayed */
SimnetClientMaxStreamsPerSession int32 `` /* 168-byte string literal not displayed */
SimnetClientSessionIdleTimeoutSecs int32 `` /* 174-byte string literal not displayed */
SimnetInboundMaxUdpStreamsPerSession int32 `` /* 182-byte string literal not displayed */
SimnetClientMaxUdpSessions int32 `` /* 148-byte string literal not displayed */
// OmniFlow 基础配置
OmniflowCarrier string `protobuf:"bytes,73,opt,name=omniflow_carrier,json=omniflowCarrier,proto3" json:"omniflow_carrier,omitempty"` // h2 或 h3
OmniflowPath string `protobuf:"bytes,74,opt,name=omniflow_path,json=omniflowPath,proto3" json:"omniflow_path,omitempty"` // HTTP 路径
OmniflowContentType string `protobuf:"bytes,75,opt,name=omniflow_content_type,json=omniflowContentType,proto3" json:"omniflow_content_type,omitempty"` // Content-Type
OmniflowProfilePath string `protobuf:"bytes,76,opt,name=omniflow_profile_path,json=omniflowProfilePath,proto3" json:"omniflow_profile_path,omitempty"` // Profile 文件路径
OmniflowProfileJson string `protobuf:"bytes,77,opt,name=omniflow_profile_json,json=omniflowProfileJson,proto3" json:"omniflow_profile_json,omitempty"` // Profile JSON
OmniflowServerHost string `protobuf:"bytes,78,opt,name=omniflow_server_host,json=omniflowServerHost,proto3" json:"omniflow_server_host,omitempty"` // 服务器主机
OmniflowServerPort int32 `protobuf:"varint,79,opt,name=omniflow_server_port,json=omniflowServerPort,proto3" json:"omniflow_server_port,omitempty"` // 服务器端口
OmniflowCaCertPath string `protobuf:"bytes,80,opt,name=omniflow_ca_cert_path,json=omniflowCaCertPath,proto3" json:"omniflow_ca_cert_path,omitempty"` // CA 证书路径
OmniflowTargetMeta string `protobuf:"bytes,81,opt,name=omniflow_target_meta,json=omniflowTargetMeta,proto3" json:"omniflow_target_meta,omitempty"` // 加密目标元数据
OmniflowSpkiPin string `protobuf:"bytes,82,opt,name=omniflow_spki_pin,json=omniflowSpkiPin,proto3" json:"omniflow_spki_pin,omitempty"` // SPKI Pin
// OmniFlow H3 Fallback
OmniflowH3FallbackEnabled bool `` /* 142-byte string literal not displayed */
OmniflowH3FallbackPolicy string `` // always/timeout/never
/* 138-byte string literal not displayed */
OmniflowH3FallbackTimeoutMs int32 `` /* 150-byte string literal not displayed */
OmniflowH3FallbackRetryBudget int32 `` /* 156-byte string literal not displayed */
OmniflowH3FallbackSmokeEnabled bool `` /* 159-byte string literal not displayed */
OmniflowH3FallbackSmokeIntervalSec int32 `` /* 173-byte string literal not displayed */
OmniflowH3FallbackSmokeTimeoutMs int32 `` /* 167-byte string literal not displayed */
// OmniFlow 连接管理
OmniflowMaxAgeSec int32 `protobuf:"varint,90,opt,name=omniflow_max_age_sec,json=omniflowMaxAgeSec,proto3" json:"omniflow_max_age_sec,omitempty"`
OmniflowIdleTimeoutSec int32 `` /* 133-byte string literal not displayed */
OmniflowMaxConnections int32 `` /* 131-byte string literal not displayed */
// OmniFlow 抗指纹
OmniflowAdaptiveTlsEnabled bool `` /* 145-byte string literal not displayed */
OmniflowTlsFingerprint string `` // chrome/firefox/safari
/* 130-byte string literal not displayed */
OmniflowSniMode string `protobuf:"bytes,95,opt,name=omniflow_sni_mode,json=omniflowSniMode,proto3" json:"omniflow_sni_mode,omitempty"` // direct/transparent_forward
OmniflowPaddingMode string `protobuf:"bytes,96,opt,name=omniflow_padding_mode,json=omniflowPaddingMode,proto3" json:"omniflow_padding_mode,omitempty"` // random/mtu_align/fixed_overhead
OmniflowTrafficShapingEnabled bool `` /* 154-byte string literal not displayed */
OmniflowAfEnabled bool `protobuf:"varint,101,opt,name=omniflow_af_enabled,json=omniflowAfEnabled,proto3" json:"omniflow_af_enabled,omitempty"` // 启用随机 AF path
OmniflowAfPathMode string `protobuf:"bytes,102,opt,name=omniflow_af_path_mode,json=omniflowAfPathMode,proto3" json:"omniflow_af_path_mode,omitempty"` // api/random
OmniflowAfPathPrefix string `` // 随机 path 前缀
/* 127-byte string literal not displayed */
OmniflowAfPathSuffix string `` // 随机 path 后缀
/* 127-byte string literal not displayed */
OmniflowAfPathRotationSecs int32 `` // path 轮转秒数
/* 148-byte string literal not displayed */
OmniflowAfPathSkewSlots int32 `` // 允许偏移 slot 数
/* 139-byte string literal not displayed */
// OmniFlow 同端口浏览器 Fallback 反向代理
OmniflowFallbackEnabled bool `` /* 135-byte string literal not displayed */
OmniflowFallbackTargetScheme string `` // https/http
/* 151-byte string literal not displayed */
OmniflowFallbackTargetHost string `` // 目标网站 host
/* 145-byte string literal not displayed */
OmniflowFallbackTargetPort int32 `` // 目标网站端口
/* 146-byte string literal not displayed */
OmniflowFallbackHostHeader string `` // 上游 Host header
/* 145-byte string literal not displayed */
OmniflowFallbackTlsSni string `` // 上游 TLS SNI
/* 133-byte string literal not displayed */
// OmniFlow 回退 Carrier
OmniflowFallbackCarrierEnabled bool `` /* 157-byte string literal not displayed */
OmniflowFallbackConnectTunnel bool `` /* 154-byte string literal not displayed */
OmniflowFallbackWssEnabled bool `` /* 146-byte string literal not displayed */
Mc1Mode string `protobuf:"bytes,113,opt,name=mc1_mode,json=mc1Mode,proto3" json:"mc1_mode,omitempty"`
Mc1CidrSegments []string `protobuf:"bytes,114,rep,name=mc1_cidr_segments,json=mc1CidrSegments,proto3" json:"mc1_cidr_segments,omitempty"`
MundoUsername string `protobuf:"bytes,115,opt,name=mundo_username,json=mundoUsername,proto3" json:"mundo_username,omitempty"`
MundoCertificateFingerprint string `` /* 146-byte string literal not displayed */
MundoFakeTitle string `protobuf:"bytes,117,opt,name=mundo_fake_title,json=mundoFakeTitle,proto3" json:"mundo_fake_title,omitempty"`
MundoFakeMessage string `protobuf:"bytes,118,opt,name=mundo_fake_message,json=mundoFakeMessage,proto3" json:"mundo_fake_message,omitempty"`
MundoAcceptProxyProtocol bool `` /* 140-byte string literal not displayed */
MundoUseTlsCertificate bool `` /* 134-byte string literal not displayed */
// contains filtered or unexported fields
}
Protocol represents a server protocol configuration with all fields
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetAllowInsecure ¶
func (*Protocol) GetCertDnsEnv ¶
func (*Protocol) GetCertDnsProvider ¶
func (*Protocol) GetCertMode ¶
func (*Protocol) GetCongestionController ¶
func (*Protocol) GetDisableSni ¶
func (*Protocol) GetDownMbps ¶
func (*Protocol) GetEncryption ¶
func (*Protocol) GetEncryptionClientPadding ¶
func (*Protocol) GetEncryptionMode ¶
func (*Protocol) GetEncryptionPassword ¶
func (*Protocol) GetEncryptionPrivateKey ¶
func (*Protocol) GetEncryptionRtt ¶
func (*Protocol) GetEncryptionServerPadding ¶
func (*Protocol) GetEncryptionTicket ¶
func (*Protocol) GetFingerprint ¶
func (*Protocol) GetHopInterval ¶
func (*Protocol) GetHopPorts ¶
func (*Protocol) GetMc1CidrSegments ¶ added in v1.0.8
func (*Protocol) GetMc1Mode ¶ added in v1.0.8
func (*Protocol) GetMultiplex ¶
func (*Protocol) GetMundoAcceptProxyProtocol ¶ added in v1.0.8
func (*Protocol) GetMundoCertificateFingerprint ¶ added in v1.0.8
func (*Protocol) GetMundoFakeMessage ¶ added in v1.0.8
func (*Protocol) GetMundoFakeTitle ¶ added in v1.0.8
func (*Protocol) GetMundoUseTlsCertificate ¶ added in v1.0.8
func (*Protocol) GetMundoUsername ¶ added in v1.0.8
func (*Protocol) GetObfsHost ¶
func (*Protocol) GetObfsPassword ¶
func (*Protocol) GetObfsPath ¶
func (*Protocol) GetOmniflowAdaptiveTlsEnabled ¶
func (*Protocol) GetOmniflowAfEnabled ¶
func (*Protocol) GetOmniflowAfPathMode ¶
func (*Protocol) GetOmniflowAfPathPrefix ¶
func (*Protocol) GetOmniflowAfPathRotationSecs ¶
func (*Protocol) GetOmniflowAfPathSkewSlots ¶
func (*Protocol) GetOmniflowAfPathSuffix ¶
func (*Protocol) GetOmniflowCaCertPath ¶
func (*Protocol) GetOmniflowCarrier ¶
func (*Protocol) GetOmniflowContentType ¶
func (*Protocol) GetOmniflowFallbackCarrierEnabled ¶
func (*Protocol) GetOmniflowFallbackConnectTunnel ¶
func (*Protocol) GetOmniflowFallbackEnabled ¶
func (*Protocol) GetOmniflowFallbackHostHeader ¶
func (*Protocol) GetOmniflowFallbackTargetHost ¶
func (*Protocol) GetOmniflowFallbackTargetPort ¶
func (*Protocol) GetOmniflowFallbackTargetScheme ¶
func (*Protocol) GetOmniflowFallbackTlsSni ¶
func (*Protocol) GetOmniflowFallbackWssEnabled ¶
func (*Protocol) GetOmniflowH3FallbackEnabled ¶
func (*Protocol) GetOmniflowH3FallbackPolicy ¶
func (*Protocol) GetOmniflowH3FallbackRetryBudget ¶
func (*Protocol) GetOmniflowH3FallbackSmokeEnabled ¶
func (*Protocol) GetOmniflowH3FallbackSmokeIntervalSec ¶
func (*Protocol) GetOmniflowH3FallbackSmokeTimeoutMs ¶
func (*Protocol) GetOmniflowH3FallbackTimeoutMs ¶
func (*Protocol) GetOmniflowIdleTimeoutSec ¶
func (*Protocol) GetOmniflowMaxAgeSec ¶
func (*Protocol) GetOmniflowMaxConnections ¶
func (*Protocol) GetOmniflowPaddingMode ¶
func (*Protocol) GetOmniflowPath ¶
func (*Protocol) GetOmniflowProfileJson ¶
func (*Protocol) GetOmniflowProfilePath ¶
func (*Protocol) GetOmniflowServerHost ¶
func (*Protocol) GetOmniflowServerPort ¶
func (*Protocol) GetOmniflowSniMode ¶
func (*Protocol) GetOmniflowSpkiPin ¶
func (*Protocol) GetOmniflowTargetMeta ¶
func (*Protocol) GetOmniflowTlsFingerprint ¶
func (*Protocol) GetOmniflowTrafficShapingEnabled ¶
func (*Protocol) GetPaddingScheme ¶
func (*Protocol) GetRealityPrivateKey ¶
func (*Protocol) GetRealityPublicKey ¶
func (*Protocol) GetRealityServerAddr ¶
func (*Protocol) GetRealityServerPort ¶
func (*Protocol) GetRealityShortId ¶
func (*Protocol) GetReduceRtt ¶
func (*Protocol) GetSecurity ¶
func (*Protocol) GetServerKey ¶
func (*Protocol) GetServiceName ¶
func (*Protocol) GetSimnetAfEnabled ¶
func (*Protocol) GetSimnetAfFakeHeaderInjection ¶
func (*Protocol) GetSimnetAfHandshakePolymorphism ¶
func (*Protocol) GetSimnetAfMagicMode ¶
func (*Protocol) GetSimnetAfPathMode ¶
func (*Protocol) GetSimnetAfPathPrefix ¶
func (*Protocol) GetSimnetAfPathSuffix ¶
func (*Protocol) GetSimnetAfResponseJitterMs ¶
func (*Protocol) GetSimnetAfSettingsJitter ¶
func (*Protocol) GetSimnetCarrier ¶
func (*Protocol) GetSimnetClientMaxConcurrentStreams ¶ added in v1.0.8
func (*Protocol) GetSimnetClientMaxStreamsPerSession ¶ added in v1.0.8
func (*Protocol) GetSimnetClientMaxUdpSessions ¶ added in v1.0.8
func (*Protocol) GetSimnetClientSessionIdleTimeoutSecs ¶ added in v1.0.8
func (*Protocol) GetSimnetEgressBlockLinkLocal ¶ added in v1.0.8
func (*Protocol) GetSimnetEgressBlockLoopback ¶ added in v1.0.8
func (*Protocol) GetSimnetEgressBlockMetadata ¶ added in v1.0.8
func (*Protocol) GetSimnetEgressBlockPrivate ¶ added in v1.0.8
func (*Protocol) GetSimnetFallbackEnabled ¶
func (*Protocol) GetSimnetFallbackHostHeader ¶
func (*Protocol) GetSimnetFallbackTargetHost ¶
func (*Protocol) GetSimnetFallbackTargetPort ¶
func (*Protocol) GetSimnetFallbackTargetScheme ¶
func (*Protocol) GetSimnetFallbackTlsSni ¶
func (*Protocol) GetSimnetInboundMaxHandlerTasksPerSession ¶ added in v1.0.8
func (*Protocol) GetSimnetInboundMaxStreamsPerSession ¶ added in v1.0.8
func (*Protocol) GetSimnetInboundMaxUdpStreamsPerSession ¶ added in v1.0.8
func (*Protocol) GetSimnetInitialWindowSize ¶ added in v1.0.8
func (*Protocol) GetSimnetKeyId ¶
func (*Protocol) GetSimnetMaxConcurrentStreams ¶ added in v1.0.8
func (*Protocol) GetSimnetMaxFrameSize ¶ added in v1.0.8
func (*Protocol) GetSimnetPath ¶
func (*Protocol) GetSimnetPsk ¶
func (*Protocol) GetSimnetRecvWindow ¶ added in v1.0.8
func (*Protocol) GetSimnetReverseEnabled ¶
func (*Protocol) GetSimnetReverseListenAddr ¶
func (*Protocol) GetSimnetReverseListenPort ¶
func (*Protocol) GetSimnetReverseTargetHost ¶
func (*Protocol) GetSimnetReverseTargetPort ¶
func (*Protocol) GetSimnetSendWindow ¶ added in v1.0.8
func (*Protocol) GetSimnetStreamDataChannelCapacity ¶ added in v1.0.8
func (*Protocol) GetSimnetStreamEventChannelCapacity ¶ added in v1.0.8
func (*Protocol) GetSimnetTargetDialTimeoutMs ¶ added in v1.0.8
func (*Protocol) GetSimnetTargetMaxConcurrentDials ¶ added in v1.0.8
func (*Protocol) GetSimnetTicketId ¶
func (*Protocol) GetTransport ¶
func (*Protocol) GetUdpRelayMode ¶
func (*Protocol) GetXhttpExtra ¶
func (*Protocol) GetXhttpMode ¶
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
func (*Protocol) Validate ¶
Validate checks the field values on Protocol 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 (*Protocol) ValidateAll ¶
ValidateAll checks the field values on Protocol 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 ProtocolMultiError, or nil if none found.
type ProtocolMultiError ¶
type ProtocolMultiError []error
ProtocolMultiError is an error wrapping multiple validation errors returned by Protocol.ValidateAll() if the designated constraints aren't met.
func (ProtocolMultiError) AllErrors ¶
func (m ProtocolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProtocolMultiError) Error ¶
func (m ProtocolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProtocolValidationError ¶
type ProtocolValidationError struct {
// contains filtered or unexported fields
}
ProtocolValidationError is the validation error returned by Protocol.Validate if the designated constraints aren't met.
func (ProtocolValidationError) Cause ¶
func (e ProtocolValidationError) Cause() error
Cause function returns cause value.
func (ProtocolValidationError) Error ¶
func (e ProtocolValidationError) Error() string
Error satisfies the builtin error interface
func (ProtocolValidationError) ErrorName ¶
func (e ProtocolValidationError) ErrorName() string
ErrorName returns error name.
func (ProtocolValidationError) Field ¶
func (e ProtocolValidationError) Field() string
Field function returns field value.
func (ProtocolValidationError) Key ¶
func (e ProtocolValidationError) Key() bool
Key function returns key value.
func (ProtocolValidationError) Reason ¶
func (e ProtocolValidationError) Reason() string
Reason function returns reason value.
type QueryNodeTagData ¶
type QueryNodeTagData struct {
Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
func (*QueryNodeTagData) Descriptor
deprecated
func (*QueryNodeTagData) Descriptor() ([]byte, []int)
Deprecated: Use QueryNodeTagData.ProtoReflect.Descriptor instead.
func (*QueryNodeTagData) GetTags ¶
func (x *QueryNodeTagData) GetTags() []string
func (*QueryNodeTagData) ProtoMessage ¶
func (*QueryNodeTagData) ProtoMessage()
func (*QueryNodeTagData) ProtoReflect ¶
func (x *QueryNodeTagData) ProtoReflect() protoreflect.Message
func (*QueryNodeTagData) Reset ¶
func (x *QueryNodeTagData) Reset()
func (*QueryNodeTagData) String ¶
func (x *QueryNodeTagData) String() string
func (*QueryNodeTagData) Validate ¶
func (m *QueryNodeTagData) Validate() error
Validate checks the field values on QueryNodeTagData 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 (*QueryNodeTagData) ValidateAll ¶
func (m *QueryNodeTagData) ValidateAll() error
ValidateAll checks the field values on QueryNodeTagData 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 QueryNodeTagDataMultiError, or nil if none found.
type QueryNodeTagDataMultiError ¶
type QueryNodeTagDataMultiError []error
QueryNodeTagDataMultiError is an error wrapping multiple validation errors returned by QueryNodeTagData.ValidateAll() if the designated constraints aren't met.
func (QueryNodeTagDataMultiError) AllErrors ¶
func (m QueryNodeTagDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryNodeTagDataMultiError) Error ¶
func (m QueryNodeTagDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryNodeTagDataValidationError ¶
type QueryNodeTagDataValidationError struct {
// contains filtered or unexported fields
}
QueryNodeTagDataValidationError is the validation error returned by QueryNodeTagData.Validate if the designated constraints aren't met.
func (QueryNodeTagDataValidationError) Cause ¶
func (e QueryNodeTagDataValidationError) Cause() error
Cause function returns cause value.
func (QueryNodeTagDataValidationError) Error ¶
func (e QueryNodeTagDataValidationError) Error() string
Error satisfies the builtin error interface
func (QueryNodeTagDataValidationError) ErrorName ¶
func (e QueryNodeTagDataValidationError) ErrorName() string
ErrorName returns error name.
func (QueryNodeTagDataValidationError) Field ¶
func (e QueryNodeTagDataValidationError) Field() string
Field function returns field value.
func (QueryNodeTagDataValidationError) Key ¶
func (e QueryNodeTagDataValidationError) Key() bool
Key function returns key value.
func (QueryNodeTagDataValidationError) Reason ¶
func (e QueryNodeTagDataValidationError) Reason() string
Reason function returns reason value.
type QueryNodeTagReply ¶
type QueryNodeTagReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *QueryNodeTagData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*QueryNodeTagReply) Descriptor
deprecated
func (*QueryNodeTagReply) Descriptor() ([]byte, []int)
Deprecated: Use QueryNodeTagReply.ProtoReflect.Descriptor instead.
func (*QueryNodeTagReply) GetCode ¶
func (x *QueryNodeTagReply) GetCode() int32
func (*QueryNodeTagReply) GetData ¶
func (x *QueryNodeTagReply) GetData() *QueryNodeTagData
func (*QueryNodeTagReply) GetMessage ¶
func (x *QueryNodeTagReply) GetMessage() string
func (*QueryNodeTagReply) ProtoMessage ¶
func (*QueryNodeTagReply) ProtoMessage()
func (*QueryNodeTagReply) ProtoReflect ¶
func (x *QueryNodeTagReply) ProtoReflect() protoreflect.Message
func (*QueryNodeTagReply) Reset ¶
func (x *QueryNodeTagReply) Reset()
func (*QueryNodeTagReply) String ¶
func (x *QueryNodeTagReply) String() string
func (*QueryNodeTagReply) Validate ¶
func (m *QueryNodeTagReply) Validate() error
Validate checks the field values on QueryNodeTagReply 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 (*QueryNodeTagReply) ValidateAll ¶
func (m *QueryNodeTagReply) ValidateAll() error
ValidateAll checks the field values on QueryNodeTagReply 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 QueryNodeTagReplyMultiError, or nil if none found.
type QueryNodeTagReplyMultiError ¶
type QueryNodeTagReplyMultiError []error
QueryNodeTagReplyMultiError is an error wrapping multiple validation errors returned by QueryNodeTagReply.ValidateAll() if the designated constraints aren't met.
func (QueryNodeTagReplyMultiError) AllErrors ¶
func (m QueryNodeTagReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryNodeTagReplyMultiError) Error ¶
func (m QueryNodeTagReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryNodeTagReplyValidationError ¶
type QueryNodeTagReplyValidationError struct {
// contains filtered or unexported fields
}
QueryNodeTagReplyValidationError is the validation error returned by QueryNodeTagReply.Validate if the designated constraints aren't met.
func (QueryNodeTagReplyValidationError) Cause ¶
func (e QueryNodeTagReplyValidationError) Cause() error
Cause function returns cause value.
func (QueryNodeTagReplyValidationError) Error ¶
func (e QueryNodeTagReplyValidationError) Error() string
Error satisfies the builtin error interface
func (QueryNodeTagReplyValidationError) ErrorName ¶
func (e QueryNodeTagReplyValidationError) ErrorName() string
ErrorName returns error name.
func (QueryNodeTagReplyValidationError) Field ¶
func (e QueryNodeTagReplyValidationError) Field() string
Field function returns field value.
func (QueryNodeTagReplyValidationError) Key ¶
func (e QueryNodeTagReplyValidationError) Key() bool
Key function returns key value.
func (QueryNodeTagReplyValidationError) Reason ¶
func (e QueryNodeTagReplyValidationError) Reason() string
Reason function returns reason value.
type QueryNodeTagRequest ¶
type QueryNodeTagRequest struct {
// contains filtered or unexported fields
}
func (*QueryNodeTagRequest) Descriptor
deprecated
func (*QueryNodeTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryNodeTagRequest.ProtoReflect.Descriptor instead.
func (*QueryNodeTagRequest) ProtoMessage ¶
func (*QueryNodeTagRequest) ProtoMessage()
func (*QueryNodeTagRequest) ProtoReflect ¶
func (x *QueryNodeTagRequest) ProtoReflect() protoreflect.Message
func (*QueryNodeTagRequest) Reset ¶
func (x *QueryNodeTagRequest) Reset()
func (*QueryNodeTagRequest) String ¶
func (x *QueryNodeTagRequest) String() string
func (*QueryNodeTagRequest) Validate ¶
func (m *QueryNodeTagRequest) Validate() error
Validate checks the field values on QueryNodeTagRequest 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 (*QueryNodeTagRequest) ValidateAll ¶
func (m *QueryNodeTagRequest) ValidateAll() error
ValidateAll checks the field values on QueryNodeTagRequest 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 QueryNodeTagRequestMultiError, or nil if none found.
type QueryNodeTagRequestMultiError ¶
type QueryNodeTagRequestMultiError []error
QueryNodeTagRequestMultiError is an error wrapping multiple validation errors returned by QueryNodeTagRequest.ValidateAll() if the designated constraints aren't met.
func (QueryNodeTagRequestMultiError) AllErrors ¶
func (m QueryNodeTagRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryNodeTagRequestMultiError) Error ¶
func (m QueryNodeTagRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryNodeTagRequestValidationError ¶
type QueryNodeTagRequestValidationError struct {
// contains filtered or unexported fields
}
QueryNodeTagRequestValidationError is the validation error returned by QueryNodeTagRequest.Validate if the designated constraints aren't met.
func (QueryNodeTagRequestValidationError) Cause ¶
func (e QueryNodeTagRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryNodeTagRequestValidationError) Error ¶
func (e QueryNodeTagRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryNodeTagRequestValidationError) ErrorName ¶
func (e QueryNodeTagRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryNodeTagRequestValidationError) Field ¶
func (e QueryNodeTagRequestValidationError) Field() string
Field function returns field value.
func (QueryNodeTagRequestValidationError) Key ¶
func (e QueryNodeTagRequestValidationError) Key() bool
Key function returns key value.
func (QueryNodeTagRequestValidationError) Reason ¶
func (e QueryNodeTagRequestValidationError) Reason() string
Reason function returns reason value.
type ResetSortData ¶
type ResetSortData struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// contains filtered or unexported fields
}
func (*ResetSortData) Descriptor
deprecated
func (*ResetSortData) Descriptor() ([]byte, []int)
Deprecated: Use ResetSortData.ProtoReflect.Descriptor instead.
func (*ResetSortData) GetSuccess ¶
func (x *ResetSortData) GetSuccess() bool
func (*ResetSortData) ProtoMessage ¶
func (*ResetSortData) ProtoMessage()
func (*ResetSortData) ProtoReflect ¶
func (x *ResetSortData) ProtoReflect() protoreflect.Message
func (*ResetSortData) Reset ¶
func (x *ResetSortData) Reset()
func (*ResetSortData) String ¶
func (x *ResetSortData) String() string
func (*ResetSortData) Validate ¶
func (m *ResetSortData) Validate() error
Validate checks the field values on ResetSortData 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 (*ResetSortData) ValidateAll ¶
func (m *ResetSortData) ValidateAll() error
ValidateAll checks the field values on ResetSortData 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 ResetSortDataMultiError, or nil if none found.
type ResetSortDataMultiError ¶
type ResetSortDataMultiError []error
ResetSortDataMultiError is an error wrapping multiple validation errors returned by ResetSortData.ValidateAll() if the designated constraints aren't met.
func (ResetSortDataMultiError) AllErrors ¶
func (m ResetSortDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetSortDataMultiError) Error ¶
func (m ResetSortDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetSortDataValidationError ¶
type ResetSortDataValidationError struct {
// contains filtered or unexported fields
}
ResetSortDataValidationError is the validation error returned by ResetSortData.Validate if the designated constraints aren't met.
func (ResetSortDataValidationError) Cause ¶
func (e ResetSortDataValidationError) Cause() error
Cause function returns cause value.
func (ResetSortDataValidationError) Error ¶
func (e ResetSortDataValidationError) Error() string
Error satisfies the builtin error interface
func (ResetSortDataValidationError) ErrorName ¶
func (e ResetSortDataValidationError) ErrorName() string
ErrorName returns error name.
func (ResetSortDataValidationError) Field ¶
func (e ResetSortDataValidationError) Field() string
Field function returns field value.
func (ResetSortDataValidationError) Key ¶
func (e ResetSortDataValidationError) Key() bool
Key function returns key value.
func (ResetSortDataValidationError) Reason ¶
func (e ResetSortDataValidationError) Reason() string
Reason function returns reason value.
type ResetSortReply ¶
type ResetSortReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *ResetSortData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*ResetSortReply) Descriptor
deprecated
func (*ResetSortReply) Descriptor() ([]byte, []int)
Deprecated: Use ResetSortReply.ProtoReflect.Descriptor instead.
func (*ResetSortReply) GetCode ¶
func (x *ResetSortReply) GetCode() int32
func (*ResetSortReply) GetData ¶
func (x *ResetSortReply) GetData() *ResetSortData
func (*ResetSortReply) GetMessage ¶
func (x *ResetSortReply) GetMessage() string
func (*ResetSortReply) ProtoMessage ¶
func (*ResetSortReply) ProtoMessage()
func (*ResetSortReply) ProtoReflect ¶
func (x *ResetSortReply) ProtoReflect() protoreflect.Message
func (*ResetSortReply) Reset ¶
func (x *ResetSortReply) Reset()
func (*ResetSortReply) String ¶
func (x *ResetSortReply) String() string
func (*ResetSortReply) Validate ¶
func (m *ResetSortReply) Validate() error
Validate checks the field values on ResetSortReply 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 (*ResetSortReply) ValidateAll ¶
func (m *ResetSortReply) ValidateAll() error
ValidateAll checks the field values on ResetSortReply 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 ResetSortReplyMultiError, or nil if none found.
type ResetSortReplyMultiError ¶
type ResetSortReplyMultiError []error
ResetSortReplyMultiError is an error wrapping multiple validation errors returned by ResetSortReply.ValidateAll() if the designated constraints aren't met.
func (ResetSortReplyMultiError) AllErrors ¶
func (m ResetSortReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetSortReplyMultiError) Error ¶
func (m ResetSortReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetSortReplyValidationError ¶
type ResetSortReplyValidationError struct {
// contains filtered or unexported fields
}
ResetSortReplyValidationError is the validation error returned by ResetSortReply.Validate if the designated constraints aren't met.
func (ResetSortReplyValidationError) Cause ¶
func (e ResetSortReplyValidationError) Cause() error
Cause function returns cause value.
func (ResetSortReplyValidationError) Error ¶
func (e ResetSortReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ResetSortReplyValidationError) ErrorName ¶
func (e ResetSortReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ResetSortReplyValidationError) Field ¶
func (e ResetSortReplyValidationError) Field() string
Field function returns field value.
func (ResetSortReplyValidationError) Key ¶
func (e ResetSortReplyValidationError) Key() bool
Key function returns key value.
func (ResetSortReplyValidationError) Reason ¶
func (e ResetSortReplyValidationError) Reason() string
Reason function returns reason value.
type ResetSortRequest ¶
type ResetSortRequest struct {
Sort []*SortItem `protobuf:"bytes,1,rep,name=sort,proto3" json:"sort,omitempty"`
// contains filtered or unexported fields
}
Sort Requests/Replies
func (*ResetSortRequest) Descriptor
deprecated
func (*ResetSortRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetSortRequest.ProtoReflect.Descriptor instead.
func (*ResetSortRequest) GetSort ¶
func (x *ResetSortRequest) GetSort() []*SortItem
func (*ResetSortRequest) ProtoMessage ¶
func (*ResetSortRequest) ProtoMessage()
func (*ResetSortRequest) ProtoReflect ¶
func (x *ResetSortRequest) ProtoReflect() protoreflect.Message
func (*ResetSortRequest) Reset ¶
func (x *ResetSortRequest) Reset()
func (*ResetSortRequest) String ¶
func (x *ResetSortRequest) String() string
func (*ResetSortRequest) Validate ¶
func (m *ResetSortRequest) Validate() error
Validate checks the field values on ResetSortRequest 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 (*ResetSortRequest) ValidateAll ¶
func (m *ResetSortRequest) ValidateAll() error
ValidateAll checks the field values on ResetSortRequest 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 ResetSortRequestMultiError, or nil if none found.
type ResetSortRequestMultiError ¶
type ResetSortRequestMultiError []error
ResetSortRequestMultiError is an error wrapping multiple validation errors returned by ResetSortRequest.ValidateAll() if the designated constraints aren't met.
func (ResetSortRequestMultiError) AllErrors ¶
func (m ResetSortRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetSortRequestMultiError) Error ¶
func (m ResetSortRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetSortRequestValidationError ¶
type ResetSortRequestValidationError struct {
// contains filtered or unexported fields
}
ResetSortRequestValidationError is the validation error returned by ResetSortRequest.Validate if the designated constraints aren't met.
func (ResetSortRequestValidationError) Cause ¶
func (e ResetSortRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetSortRequestValidationError) Error ¶
func (e ResetSortRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetSortRequestValidationError) ErrorName ¶
func (e ResetSortRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetSortRequestValidationError) Field ¶
func (e ResetSortRequestValidationError) Field() string
Field function returns field value.
func (ResetSortRequestValidationError) Key ¶
func (e ResetSortRequestValidationError) Key() bool
Key function returns key value.
func (ResetSortRequestValidationError) Reason ¶
func (e ResetSortRequestValidationError) Reason() string
Reason function returns reason value.
type Server ¶
type Server struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
Protocols []*Protocol `protobuf:"bytes,8,rep,name=protocols,proto3" json:"protocols,omitempty"`
LastReportedAt int64 `protobuf:"varint,9,opt,name=last_reported_at,json=lastReportedAt,proto3" json:"last_reported_at,omitempty"`
Status *ServerStatus `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*Server) Descriptor
deprecated
func (*Server) GetAddress ¶
func (*Server) GetCountry ¶
func (*Server) GetCreatedAt ¶
func (*Server) GetLastReportedAt ¶
func (*Server) GetProtocols ¶
func (*Server) GetStatus ¶
func (x *Server) GetStatus() *ServerStatus
func (*Server) GetUpdatedAt ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
func (*Server) Validate ¶
Validate checks the field values on Server 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 (*Server) ValidateAll ¶
ValidateAll checks the field values on Server 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 ServerMultiError, or nil if none found.
type ServerMultiError ¶
type ServerMultiError []error
ServerMultiError is an error wrapping multiple validation errors returned by Server.ValidateAll() if the designated constraints aren't met.
func (ServerMultiError) AllErrors ¶
func (m ServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerMultiError) Error ¶
func (m ServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerOnlineIP ¶
type ServerOnlineIP struct {
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
// contains filtered or unexported fields
}
func (*ServerOnlineIP) Descriptor
deprecated
func (*ServerOnlineIP) Descriptor() ([]byte, []int)
Deprecated: Use ServerOnlineIP.ProtoReflect.Descriptor instead.
func (*ServerOnlineIP) GetIp ¶
func (x *ServerOnlineIP) GetIp() string
func (*ServerOnlineIP) GetProtocol ¶
func (x *ServerOnlineIP) GetProtocol() string
func (*ServerOnlineIP) ProtoMessage ¶
func (*ServerOnlineIP) ProtoMessage()
func (*ServerOnlineIP) ProtoReflect ¶
func (x *ServerOnlineIP) ProtoReflect() protoreflect.Message
func (*ServerOnlineIP) Reset ¶
func (x *ServerOnlineIP) Reset()
func (*ServerOnlineIP) String ¶
func (x *ServerOnlineIP) String() string
func (*ServerOnlineIP) Validate ¶
func (m *ServerOnlineIP) Validate() error
Validate checks the field values on ServerOnlineIP 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 (*ServerOnlineIP) ValidateAll ¶
func (m *ServerOnlineIP) ValidateAll() error
ValidateAll checks the field values on ServerOnlineIP 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 ServerOnlineIPMultiError, or nil if none found.
type ServerOnlineIPMultiError ¶
type ServerOnlineIPMultiError []error
ServerOnlineIPMultiError is an error wrapping multiple validation errors returned by ServerOnlineIP.ValidateAll() if the designated constraints aren't met.
func (ServerOnlineIPMultiError) AllErrors ¶
func (m ServerOnlineIPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerOnlineIPMultiError) Error ¶
func (m ServerOnlineIPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerOnlineIPValidationError ¶
type ServerOnlineIPValidationError struct {
// contains filtered or unexported fields
}
ServerOnlineIPValidationError is the validation error returned by ServerOnlineIP.Validate if the designated constraints aren't met.
func (ServerOnlineIPValidationError) Cause ¶
func (e ServerOnlineIPValidationError) Cause() error
Cause function returns cause value.
func (ServerOnlineIPValidationError) Error ¶
func (e ServerOnlineIPValidationError) Error() string
Error satisfies the builtin error interface
func (ServerOnlineIPValidationError) ErrorName ¶
func (e ServerOnlineIPValidationError) ErrorName() string
ErrorName returns error name.
func (ServerOnlineIPValidationError) Field ¶
func (e ServerOnlineIPValidationError) Field() string
Field function returns field value.
func (ServerOnlineIPValidationError) Key ¶
func (e ServerOnlineIPValidationError) Key() bool
Key function returns key value.
func (ServerOnlineIPValidationError) Reason ¶
func (e ServerOnlineIPValidationError) Reason() string
Reason function returns reason value.
type ServerOnlineUser ¶
type ServerOnlineUser struct {
Ip []*ServerOnlineIP `protobuf:"bytes,1,rep,name=ip,proto3" json:"ip,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Subscribe string `protobuf:"bytes,3,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
SubscribeId int64 `protobuf:"varint,4,opt,name=subscribe_id,json=subscribeId,proto3" json:"subscribe_id,omitempty"`
Traffic int64 `protobuf:"varint,5,opt,name=traffic,proto3" json:"traffic,omitempty"`
ExpiredAt int64 `protobuf:"varint,6,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
// contains filtered or unexported fields
}
func (*ServerOnlineUser) Descriptor
deprecated
func (*ServerOnlineUser) Descriptor() ([]byte, []int)
Deprecated: Use ServerOnlineUser.ProtoReflect.Descriptor instead.
func (*ServerOnlineUser) GetExpiredAt ¶
func (x *ServerOnlineUser) GetExpiredAt() int64
func (*ServerOnlineUser) GetIp ¶
func (x *ServerOnlineUser) GetIp() []*ServerOnlineIP
func (*ServerOnlineUser) GetSubscribe ¶
func (x *ServerOnlineUser) GetSubscribe() string
func (*ServerOnlineUser) GetSubscribeId ¶
func (x *ServerOnlineUser) GetSubscribeId() int64
func (*ServerOnlineUser) GetTraffic ¶
func (x *ServerOnlineUser) GetTraffic() int64
func (*ServerOnlineUser) GetUserId ¶
func (x *ServerOnlineUser) GetUserId() int64
func (*ServerOnlineUser) ProtoMessage ¶
func (*ServerOnlineUser) ProtoMessage()
func (*ServerOnlineUser) ProtoReflect ¶
func (x *ServerOnlineUser) ProtoReflect() protoreflect.Message
func (*ServerOnlineUser) Reset ¶
func (x *ServerOnlineUser) Reset()
func (*ServerOnlineUser) String ¶
func (x *ServerOnlineUser) String() string
func (*ServerOnlineUser) Validate ¶
func (m *ServerOnlineUser) Validate() error
Validate checks the field values on ServerOnlineUser 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 (*ServerOnlineUser) ValidateAll ¶
func (m *ServerOnlineUser) ValidateAll() error
ValidateAll checks the field values on ServerOnlineUser 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 ServerOnlineUserMultiError, or nil if none found.
type ServerOnlineUserMultiError ¶
type ServerOnlineUserMultiError []error
ServerOnlineUserMultiError is an error wrapping multiple validation errors returned by ServerOnlineUser.ValidateAll() if the designated constraints aren't met.
func (ServerOnlineUserMultiError) AllErrors ¶
func (m ServerOnlineUserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerOnlineUserMultiError) Error ¶
func (m ServerOnlineUserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerOnlineUserValidationError ¶
type ServerOnlineUserValidationError struct {
// contains filtered or unexported fields
}
ServerOnlineUserValidationError is the validation error returned by ServerOnlineUser.Validate if the designated constraints aren't met.
func (ServerOnlineUserValidationError) Cause ¶
func (e ServerOnlineUserValidationError) Cause() error
Cause function returns cause value.
func (ServerOnlineUserValidationError) Error ¶
func (e ServerOnlineUserValidationError) Error() string
Error satisfies the builtin error interface
func (ServerOnlineUserValidationError) ErrorName ¶
func (e ServerOnlineUserValidationError) ErrorName() string
ErrorName returns error name.
func (ServerOnlineUserValidationError) Field ¶
func (e ServerOnlineUserValidationError) Field() string
Field function returns field value.
func (ServerOnlineUserValidationError) Key ¶
func (e ServerOnlineUserValidationError) Key() bool
Key function returns key value.
func (ServerOnlineUserValidationError) Reason ¶
func (e ServerOnlineUserValidationError) Reason() string
Reason function returns reason value.
type ServerServiceClient ¶
type ServerServiceClient interface {
// Server Management
CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerReply, error)
UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...grpc.CallOption) (*UpdateServerReply, error)
DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...grpc.CallOption) (*DeleteServerReply, error)
FilterServerList(ctx context.Context, in *FilterServerListRequest, opts ...grpc.CallOption) (*FilterServerListReply, error)
GetServerProtocols(ctx context.Context, in *GetServerProtocolsRequest, opts ...grpc.CallOption) (*GetServerProtocolsReply, error)
// Node Management
CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*CreateNodeReply, error)
UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeReply, error)
DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeReply, error)
FilterNodeList(ctx context.Context, in *FilterNodeListRequest, opts ...grpc.CallOption) (*FilterNodeListReply, error)
ToggleNodeStatus(ctx context.Context, in *ToggleNodeStatusRequest, opts ...grpc.CallOption) (*ToggleNodeStatusReply, error)
QueryNodeTag(ctx context.Context, in *QueryNodeTagRequest, opts ...grpc.CallOption) (*QueryNodeTagReply, error)
// Migration
HasMigrateServerNode(ctx context.Context, in *HasMigrateServerNodeRequest, opts ...grpc.CallOption) (*HasMigrateServerNodeReply, error)
MigrateServerNode(ctx context.Context, in *MigrateServerNodeRequest, opts ...grpc.CallOption) (*MigrateServerNodeReply, error)
// Sort
ResetSortWithServer(ctx context.Context, in *ResetSortRequest, opts ...grpc.CallOption) (*ResetSortReply, error)
ResetSortWithNode(ctx context.Context, in *ResetSortRequest, opts ...grpc.CallOption) (*ResetSortReply, error)
}
ServerServiceClient is the client API for ServerService 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 NewServerServiceClient ¶
func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient
type ServerServiceHTTPClient ¶
type ServerServiceHTTPClient interface {
// CreateNode Node Management
CreateNode(ctx context.Context, req *CreateNodeRequest, opts ...http.CallOption) (rsp *CreateNodeReply, err error)
// CreateServer Server Management
CreateServer(ctx context.Context, req *CreateServerRequest, opts ...http.CallOption) (rsp *CreateServerReply, err error)
DeleteNode(ctx context.Context, req *DeleteNodeRequest, opts ...http.CallOption) (rsp *DeleteNodeReply, err error)
DeleteServer(ctx context.Context, req *DeleteServerRequest, opts ...http.CallOption) (rsp *DeleteServerReply, err error)
FilterNodeList(ctx context.Context, req *FilterNodeListRequest, opts ...http.CallOption) (rsp *FilterNodeListReply, err error)
FilterServerList(ctx context.Context, req *FilterServerListRequest, opts ...http.CallOption) (rsp *FilterServerListReply, err error)
GetServerProtocols(ctx context.Context, req *GetServerProtocolsRequest, opts ...http.CallOption) (rsp *GetServerProtocolsReply, err error)
// HasMigrateServerNode Migration
HasMigrateServerNode(ctx context.Context, req *HasMigrateServerNodeRequest, opts ...http.CallOption) (rsp *HasMigrateServerNodeReply, err error)
MigrateServerNode(ctx context.Context, req *MigrateServerNodeRequest, opts ...http.CallOption) (rsp *MigrateServerNodeReply, err error)
QueryNodeTag(ctx context.Context, req *QueryNodeTagRequest, opts ...http.CallOption) (rsp *QueryNodeTagReply, err error)
ResetSortWithNode(ctx context.Context, req *ResetSortRequest, opts ...http.CallOption) (rsp *ResetSortReply, err error)
// ResetSortWithServer Sort
ResetSortWithServer(ctx context.Context, req *ResetSortRequest, opts ...http.CallOption) (rsp *ResetSortReply, err error)
ToggleNodeStatus(ctx context.Context, req *ToggleNodeStatusRequest, opts ...http.CallOption) (rsp *ToggleNodeStatusReply, err error)
UpdateNode(ctx context.Context, req *UpdateNodeRequest, opts ...http.CallOption) (rsp *UpdateNodeReply, err error)
UpdateServer(ctx context.Context, req *UpdateServerRequest, opts ...http.CallOption) (rsp *UpdateServerReply, err error)
}
func NewServerServiceHTTPClient ¶
func NewServerServiceHTTPClient(client *http.Client) ServerServiceHTTPClient
type ServerServiceHTTPClientImpl ¶
type ServerServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServerServiceHTTPClientImpl) CreateNode ¶
func (c *ServerServiceHTTPClientImpl) CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...http.CallOption) (*CreateNodeReply, error)
CreateNode Node Management
func (*ServerServiceHTTPClientImpl) CreateServer ¶
func (c *ServerServiceHTTPClientImpl) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...http.CallOption) (*CreateServerReply, error)
CreateServer Server Management
func (*ServerServiceHTTPClientImpl) DeleteNode ¶
func (c *ServerServiceHTTPClientImpl) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...http.CallOption) (*DeleteNodeReply, error)
func (*ServerServiceHTTPClientImpl) DeleteServer ¶
func (c *ServerServiceHTTPClientImpl) DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...http.CallOption) (*DeleteServerReply, error)
func (*ServerServiceHTTPClientImpl) FilterNodeList ¶
func (c *ServerServiceHTTPClientImpl) FilterNodeList(ctx context.Context, in *FilterNodeListRequest, opts ...http.CallOption) (*FilterNodeListReply, error)
func (*ServerServiceHTTPClientImpl) FilterServerList ¶
func (c *ServerServiceHTTPClientImpl) FilterServerList(ctx context.Context, in *FilterServerListRequest, opts ...http.CallOption) (*FilterServerListReply, error)
func (*ServerServiceHTTPClientImpl) GetServerProtocols ¶
func (c *ServerServiceHTTPClientImpl) GetServerProtocols(ctx context.Context, in *GetServerProtocolsRequest, opts ...http.CallOption) (*GetServerProtocolsReply, error)
func (*ServerServiceHTTPClientImpl) HasMigrateServerNode ¶
func (c *ServerServiceHTTPClientImpl) HasMigrateServerNode(ctx context.Context, in *HasMigrateServerNodeRequest, opts ...http.CallOption) (*HasMigrateServerNodeReply, error)
HasMigrateServerNode Migration
func (*ServerServiceHTTPClientImpl) MigrateServerNode ¶
func (c *ServerServiceHTTPClientImpl) MigrateServerNode(ctx context.Context, in *MigrateServerNodeRequest, opts ...http.CallOption) (*MigrateServerNodeReply, error)
func (*ServerServiceHTTPClientImpl) QueryNodeTag ¶
func (c *ServerServiceHTTPClientImpl) QueryNodeTag(ctx context.Context, in *QueryNodeTagRequest, opts ...http.CallOption) (*QueryNodeTagReply, error)
func (*ServerServiceHTTPClientImpl) ResetSortWithNode ¶
func (c *ServerServiceHTTPClientImpl) ResetSortWithNode(ctx context.Context, in *ResetSortRequest, opts ...http.CallOption) (*ResetSortReply, error)
func (*ServerServiceHTTPClientImpl) ResetSortWithServer ¶
func (c *ServerServiceHTTPClientImpl) ResetSortWithServer(ctx context.Context, in *ResetSortRequest, opts ...http.CallOption) (*ResetSortReply, error)
ResetSortWithServer Sort
func (*ServerServiceHTTPClientImpl) ToggleNodeStatus ¶
func (c *ServerServiceHTTPClientImpl) ToggleNodeStatus(ctx context.Context, in *ToggleNodeStatusRequest, opts ...http.CallOption) (*ToggleNodeStatusReply, error)
func (*ServerServiceHTTPClientImpl) UpdateNode ¶
func (c *ServerServiceHTTPClientImpl) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...http.CallOption) (*UpdateNodeReply, error)
func (*ServerServiceHTTPClientImpl) UpdateServer ¶
func (c *ServerServiceHTTPClientImpl) UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...http.CallOption) (*UpdateServerReply, error)
type ServerServiceHTTPServer ¶
type ServerServiceHTTPServer interface {
// CreateNode Node Management
CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeReply, error)
// CreateServer Server Management
CreateServer(context.Context, *CreateServerRequest) (*CreateServerReply, error)
DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeReply, error)
DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerReply, error)
FilterNodeList(context.Context, *FilterNodeListRequest) (*FilterNodeListReply, error)
FilterServerList(context.Context, *FilterServerListRequest) (*FilterServerListReply, error)
GetServerProtocols(context.Context, *GetServerProtocolsRequest) (*GetServerProtocolsReply, error)
// HasMigrateServerNode Migration
HasMigrateServerNode(context.Context, *HasMigrateServerNodeRequest) (*HasMigrateServerNodeReply, error)
MigrateServerNode(context.Context, *MigrateServerNodeRequest) (*MigrateServerNodeReply, error)
QueryNodeTag(context.Context, *QueryNodeTagRequest) (*QueryNodeTagReply, error)
ResetSortWithNode(context.Context, *ResetSortRequest) (*ResetSortReply, error)
// ResetSortWithServer Sort
ResetSortWithServer(context.Context, *ResetSortRequest) (*ResetSortReply, error)
ToggleNodeStatus(context.Context, *ToggleNodeStatusRequest) (*ToggleNodeStatusReply, error)
UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeReply, error)
UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerReply, error)
}
type ServerServiceServer ¶
type ServerServiceServer interface {
// Server Management
CreateServer(context.Context, *CreateServerRequest) (*CreateServerReply, error)
UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerReply, error)
DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerReply, error)
FilterServerList(context.Context, *FilterServerListRequest) (*FilterServerListReply, error)
GetServerProtocols(context.Context, *GetServerProtocolsRequest) (*GetServerProtocolsReply, error)
// Node Management
CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeReply, error)
UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeReply, error)
DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeReply, error)
FilterNodeList(context.Context, *FilterNodeListRequest) (*FilterNodeListReply, error)
ToggleNodeStatus(context.Context, *ToggleNodeStatusRequest) (*ToggleNodeStatusReply, error)
QueryNodeTag(context.Context, *QueryNodeTagRequest) (*QueryNodeTagReply, error)
// Migration
HasMigrateServerNode(context.Context, *HasMigrateServerNodeRequest) (*HasMigrateServerNodeReply, error)
MigrateServerNode(context.Context, *MigrateServerNodeRequest) (*MigrateServerNodeReply, error)
// Sort
ResetSortWithServer(context.Context, *ResetSortRequest) (*ResetSortReply, error)
ResetSortWithNode(context.Context, *ResetSortRequest) (*ResetSortReply, error)
// contains filtered or unexported methods
}
ServerServiceServer is the server API for ServerService service. All implementations must embed UnimplementedServerServiceServer for forward compatibility.
type ServerStatus ¶
type ServerStatus struct {
Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
Mem float64 `protobuf:"fixed64,2,opt,name=mem,proto3" json:"mem,omitempty"`
Disk float64 `protobuf:"fixed64,3,opt,name=disk,proto3" json:"disk,omitempty"`
Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
Online []*ServerOnlineUser `protobuf:"bytes,5,rep,name=online,proto3" json:"online,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ServerStatus) Descriptor
deprecated
func (*ServerStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatus.ProtoReflect.Descriptor instead.
func (*ServerStatus) GetCpu ¶
func (x *ServerStatus) GetCpu() float64
func (*ServerStatus) GetDisk ¶
func (x *ServerStatus) GetDisk() float64
func (*ServerStatus) GetMem ¶
func (x *ServerStatus) GetMem() float64
func (*ServerStatus) GetOnline ¶
func (x *ServerStatus) GetOnline() []*ServerOnlineUser
func (*ServerStatus) GetProtocol ¶
func (x *ServerStatus) GetProtocol() string
func (*ServerStatus) GetStatus ¶
func (x *ServerStatus) GetStatus() string
func (*ServerStatus) ProtoMessage ¶
func (*ServerStatus) ProtoMessage()
func (*ServerStatus) ProtoReflect ¶
func (x *ServerStatus) ProtoReflect() protoreflect.Message
func (*ServerStatus) Reset ¶
func (x *ServerStatus) Reset()
func (*ServerStatus) String ¶
func (x *ServerStatus) String() string
func (*ServerStatus) Validate ¶
func (m *ServerStatus) Validate() error
Validate checks the field values on ServerStatus 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 (*ServerStatus) ValidateAll ¶
func (m *ServerStatus) ValidateAll() error
ValidateAll checks the field values on ServerStatus 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 ServerStatusMultiError, or nil if none found.
type ServerStatusMultiError ¶
type ServerStatusMultiError []error
ServerStatusMultiError is an error wrapping multiple validation errors returned by ServerStatus.ValidateAll() if the designated constraints aren't met.
func (ServerStatusMultiError) AllErrors ¶
func (m ServerStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServerStatusMultiError) Error ¶
func (m ServerStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServerStatusValidationError ¶
type ServerStatusValidationError struct {
// contains filtered or unexported fields
}
ServerStatusValidationError is the validation error returned by ServerStatus.Validate if the designated constraints aren't met.
func (ServerStatusValidationError) Cause ¶
func (e ServerStatusValidationError) Cause() error
Cause function returns cause value.
func (ServerStatusValidationError) Error ¶
func (e ServerStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ServerStatusValidationError) ErrorName ¶
func (e ServerStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ServerStatusValidationError) Field ¶
func (e ServerStatusValidationError) Field() string
Field function returns field value.
func (ServerStatusValidationError) Key ¶
func (e ServerStatusValidationError) Key() bool
Key function returns key value.
func (ServerStatusValidationError) Reason ¶
func (e ServerStatusValidationError) Reason() string
Reason function returns reason value.
type ServerValidationError ¶
type ServerValidationError struct {
// contains filtered or unexported fields
}
ServerValidationError is the validation error returned by Server.Validate if the designated constraints aren't met.
func (ServerValidationError) Cause ¶
func (e ServerValidationError) Cause() error
Cause function returns cause value.
func (ServerValidationError) Error ¶
func (e ServerValidationError) Error() string
Error satisfies the builtin error interface
func (ServerValidationError) ErrorName ¶
func (e ServerValidationError) ErrorName() string
ErrorName returns error name.
func (ServerValidationError) Field ¶
func (e ServerValidationError) Field() string
Field function returns field value.
func (ServerValidationError) Key ¶
func (e ServerValidationError) Key() bool
Key function returns key value.
func (ServerValidationError) Reason ¶
func (e ServerValidationError) Reason() string
Reason function returns reason value.
type SortItem ¶
type SortItem struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Sort int32 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"`
// contains filtered or unexported fields
}
func (*SortItem) Descriptor
deprecated
func (*SortItem) ProtoMessage ¶
func (*SortItem) ProtoMessage()
func (*SortItem) ProtoReflect ¶
func (x *SortItem) ProtoReflect() protoreflect.Message
func (*SortItem) Validate ¶
Validate checks the field values on SortItem 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 (*SortItem) ValidateAll ¶
ValidateAll checks the field values on SortItem 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 SortItemMultiError, or nil if none found.
type SortItemMultiError ¶
type SortItemMultiError []error
SortItemMultiError is an error wrapping multiple validation errors returned by SortItem.ValidateAll() if the designated constraints aren't met.
func (SortItemMultiError) AllErrors ¶
func (m SortItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SortItemMultiError) Error ¶
func (m SortItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SortItemValidationError ¶
type SortItemValidationError struct {
// contains filtered or unexported fields
}
SortItemValidationError is the validation error returned by SortItem.Validate if the designated constraints aren't met.
func (SortItemValidationError) Cause ¶
func (e SortItemValidationError) Cause() error
Cause function returns cause value.
func (SortItemValidationError) Error ¶
func (e SortItemValidationError) Error() string
Error satisfies the builtin error interface
func (SortItemValidationError) ErrorName ¶
func (e SortItemValidationError) ErrorName() string
ErrorName returns error name.
func (SortItemValidationError) Field ¶
func (e SortItemValidationError) Field() string
Field function returns field value.
func (SortItemValidationError) Key ¶
func (e SortItemValidationError) Key() bool
Key function returns key value.
func (SortItemValidationError) Reason ¶
func (e SortItemValidationError) Reason() string
Reason function returns reason value.
type ToggleNodeStatusData ¶
type ToggleNodeStatusData struct {
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
func (*ToggleNodeStatusData) Descriptor
deprecated
func (*ToggleNodeStatusData) Descriptor() ([]byte, []int)
Deprecated: Use ToggleNodeStatusData.ProtoReflect.Descriptor instead.
func (*ToggleNodeStatusData) GetNode ¶
func (x *ToggleNodeStatusData) GetNode() *Node
func (*ToggleNodeStatusData) ProtoMessage ¶
func (*ToggleNodeStatusData) ProtoMessage()
func (*ToggleNodeStatusData) ProtoReflect ¶
func (x *ToggleNodeStatusData) ProtoReflect() protoreflect.Message
func (*ToggleNodeStatusData) Reset ¶
func (x *ToggleNodeStatusData) Reset()
func (*ToggleNodeStatusData) String ¶
func (x *ToggleNodeStatusData) String() string
func (*ToggleNodeStatusData) Validate ¶
func (m *ToggleNodeStatusData) Validate() error
Validate checks the field values on ToggleNodeStatusData 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 (*ToggleNodeStatusData) ValidateAll ¶
func (m *ToggleNodeStatusData) ValidateAll() error
ValidateAll checks the field values on ToggleNodeStatusData 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 ToggleNodeStatusDataMultiError, or nil if none found.
type ToggleNodeStatusDataMultiError ¶
type ToggleNodeStatusDataMultiError []error
ToggleNodeStatusDataMultiError is an error wrapping multiple validation errors returned by ToggleNodeStatusData.ValidateAll() if the designated constraints aren't met.
func (ToggleNodeStatusDataMultiError) AllErrors ¶
func (m ToggleNodeStatusDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleNodeStatusDataMultiError) Error ¶
func (m ToggleNodeStatusDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleNodeStatusDataValidationError ¶
type ToggleNodeStatusDataValidationError struct {
// contains filtered or unexported fields
}
ToggleNodeStatusDataValidationError is the validation error returned by ToggleNodeStatusData.Validate if the designated constraints aren't met.
func (ToggleNodeStatusDataValidationError) Cause ¶
func (e ToggleNodeStatusDataValidationError) Cause() error
Cause function returns cause value.
func (ToggleNodeStatusDataValidationError) Error ¶
func (e ToggleNodeStatusDataValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleNodeStatusDataValidationError) ErrorName ¶
func (e ToggleNodeStatusDataValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleNodeStatusDataValidationError) Field ¶
func (e ToggleNodeStatusDataValidationError) Field() string
Field function returns field value.
func (ToggleNodeStatusDataValidationError) Key ¶
func (e ToggleNodeStatusDataValidationError) Key() bool
Key function returns key value.
func (ToggleNodeStatusDataValidationError) Reason ¶
func (e ToggleNodeStatusDataValidationError) Reason() string
Reason function returns reason value.
type ToggleNodeStatusReply ¶
type ToggleNodeStatusReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *ToggleNodeStatusData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*ToggleNodeStatusReply) Descriptor
deprecated
func (*ToggleNodeStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use ToggleNodeStatusReply.ProtoReflect.Descriptor instead.
func (*ToggleNodeStatusReply) GetCode ¶
func (x *ToggleNodeStatusReply) GetCode() int32
func (*ToggleNodeStatusReply) GetData ¶
func (x *ToggleNodeStatusReply) GetData() *ToggleNodeStatusData
func (*ToggleNodeStatusReply) GetMessage ¶
func (x *ToggleNodeStatusReply) GetMessage() string
func (*ToggleNodeStatusReply) ProtoMessage ¶
func (*ToggleNodeStatusReply) ProtoMessage()
func (*ToggleNodeStatusReply) ProtoReflect ¶
func (x *ToggleNodeStatusReply) ProtoReflect() protoreflect.Message
func (*ToggleNodeStatusReply) Reset ¶
func (x *ToggleNodeStatusReply) Reset()
func (*ToggleNodeStatusReply) String ¶
func (x *ToggleNodeStatusReply) String() string
func (*ToggleNodeStatusReply) Validate ¶
func (m *ToggleNodeStatusReply) Validate() error
Validate checks the field values on ToggleNodeStatusReply 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 (*ToggleNodeStatusReply) ValidateAll ¶
func (m *ToggleNodeStatusReply) ValidateAll() error
ValidateAll checks the field values on ToggleNodeStatusReply 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 ToggleNodeStatusReplyMultiError, or nil if none found.
type ToggleNodeStatusReplyMultiError ¶
type ToggleNodeStatusReplyMultiError []error
ToggleNodeStatusReplyMultiError is an error wrapping multiple validation errors returned by ToggleNodeStatusReply.ValidateAll() if the designated constraints aren't met.
func (ToggleNodeStatusReplyMultiError) AllErrors ¶
func (m ToggleNodeStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleNodeStatusReplyMultiError) Error ¶
func (m ToggleNodeStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleNodeStatusReplyValidationError ¶
type ToggleNodeStatusReplyValidationError struct {
// contains filtered or unexported fields
}
ToggleNodeStatusReplyValidationError is the validation error returned by ToggleNodeStatusReply.Validate if the designated constraints aren't met.
func (ToggleNodeStatusReplyValidationError) Cause ¶
func (e ToggleNodeStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (ToggleNodeStatusReplyValidationError) Error ¶
func (e ToggleNodeStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleNodeStatusReplyValidationError) ErrorName ¶
func (e ToggleNodeStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleNodeStatusReplyValidationError) Field ¶
func (e ToggleNodeStatusReplyValidationError) Field() string
Field function returns field value.
func (ToggleNodeStatusReplyValidationError) Key ¶
func (e ToggleNodeStatusReplyValidationError) Key() bool
Key function returns key value.
func (ToggleNodeStatusReplyValidationError) Reason ¶
func (e ToggleNodeStatusReplyValidationError) Reason() string
Reason function returns reason value.
type ToggleNodeStatusRequest ¶
type ToggleNodeStatusRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Enable *bool `protobuf:"varint,2,opt,name=enable,proto3,oneof" json:"enable,omitempty"` // 使用 optional 支持 null 和布尔值,与老项目兼容
// contains filtered or unexported fields
}
func (*ToggleNodeStatusRequest) Descriptor
deprecated
func (*ToggleNodeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleNodeStatusRequest.ProtoReflect.Descriptor instead.
func (*ToggleNodeStatusRequest) GetEnable ¶
func (x *ToggleNodeStatusRequest) GetEnable() bool
func (*ToggleNodeStatusRequest) GetId ¶
func (x *ToggleNodeStatusRequest) GetId() int64
func (*ToggleNodeStatusRequest) ProtoMessage ¶
func (*ToggleNodeStatusRequest) ProtoMessage()
func (*ToggleNodeStatusRequest) ProtoReflect ¶
func (x *ToggleNodeStatusRequest) ProtoReflect() protoreflect.Message
func (*ToggleNodeStatusRequest) Reset ¶
func (x *ToggleNodeStatusRequest) Reset()
func (*ToggleNodeStatusRequest) String ¶
func (x *ToggleNodeStatusRequest) String() string
func (*ToggleNodeStatusRequest) Validate ¶
func (m *ToggleNodeStatusRequest) Validate() error
Validate checks the field values on ToggleNodeStatusRequest 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 (*ToggleNodeStatusRequest) ValidateAll ¶
func (m *ToggleNodeStatusRequest) ValidateAll() error
ValidateAll checks the field values on ToggleNodeStatusRequest 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 ToggleNodeStatusRequestMultiError, or nil if none found.
type ToggleNodeStatusRequestMultiError ¶
type ToggleNodeStatusRequestMultiError []error
ToggleNodeStatusRequestMultiError is an error wrapping multiple validation errors returned by ToggleNodeStatusRequest.ValidateAll() if the designated constraints aren't met.
func (ToggleNodeStatusRequestMultiError) AllErrors ¶
func (m ToggleNodeStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ToggleNodeStatusRequestMultiError) Error ¶
func (m ToggleNodeStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ToggleNodeStatusRequestValidationError ¶
type ToggleNodeStatusRequestValidationError struct {
// contains filtered or unexported fields
}
ToggleNodeStatusRequestValidationError is the validation error returned by ToggleNodeStatusRequest.Validate if the designated constraints aren't met.
func (ToggleNodeStatusRequestValidationError) Cause ¶
func (e ToggleNodeStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (ToggleNodeStatusRequestValidationError) Error ¶
func (e ToggleNodeStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ToggleNodeStatusRequestValidationError) ErrorName ¶
func (e ToggleNodeStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ToggleNodeStatusRequestValidationError) Field ¶
func (e ToggleNodeStatusRequestValidationError) Field() string
Field function returns field value.
func (ToggleNodeStatusRequestValidationError) Key ¶
func (e ToggleNodeStatusRequestValidationError) Key() bool
Key function returns key value.
func (ToggleNodeStatusRequestValidationError) Reason ¶
func (e ToggleNodeStatusRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServerServiceServer ¶
type UnimplementedServerServiceServer struct{}
UnimplementedServerServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedServerServiceServer) CreateNode ¶
func (UnimplementedServerServiceServer) CreateNode(context.Context, *CreateNodeRequest) (*CreateNodeReply, error)
func (UnimplementedServerServiceServer) CreateServer ¶
func (UnimplementedServerServiceServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerReply, error)
func (UnimplementedServerServiceServer) DeleteNode ¶
func (UnimplementedServerServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeReply, error)
func (UnimplementedServerServiceServer) DeleteServer ¶
func (UnimplementedServerServiceServer) DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerReply, error)
func (UnimplementedServerServiceServer) FilterNodeList ¶
func (UnimplementedServerServiceServer) FilterNodeList(context.Context, *FilterNodeListRequest) (*FilterNodeListReply, error)
func (UnimplementedServerServiceServer) FilterServerList ¶
func (UnimplementedServerServiceServer) FilterServerList(context.Context, *FilterServerListRequest) (*FilterServerListReply, error)
func (UnimplementedServerServiceServer) GetServerProtocols ¶
func (UnimplementedServerServiceServer) GetServerProtocols(context.Context, *GetServerProtocolsRequest) (*GetServerProtocolsReply, error)
func (UnimplementedServerServiceServer) HasMigrateServerNode ¶
func (UnimplementedServerServiceServer) HasMigrateServerNode(context.Context, *HasMigrateServerNodeRequest) (*HasMigrateServerNodeReply, error)
func (UnimplementedServerServiceServer) MigrateServerNode ¶
func (UnimplementedServerServiceServer) MigrateServerNode(context.Context, *MigrateServerNodeRequest) (*MigrateServerNodeReply, error)
func (UnimplementedServerServiceServer) QueryNodeTag ¶
func (UnimplementedServerServiceServer) QueryNodeTag(context.Context, *QueryNodeTagRequest) (*QueryNodeTagReply, error)
func (UnimplementedServerServiceServer) ResetSortWithNode ¶
func (UnimplementedServerServiceServer) ResetSortWithNode(context.Context, *ResetSortRequest) (*ResetSortReply, error)
func (UnimplementedServerServiceServer) ResetSortWithServer ¶
func (UnimplementedServerServiceServer) ResetSortWithServer(context.Context, *ResetSortRequest) (*ResetSortReply, error)
func (UnimplementedServerServiceServer) ToggleNodeStatus ¶
func (UnimplementedServerServiceServer) ToggleNodeStatus(context.Context, *ToggleNodeStatusRequest) (*ToggleNodeStatusReply, error)
func (UnimplementedServerServiceServer) UpdateNode ¶
func (UnimplementedServerServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeReply, error)
func (UnimplementedServerServiceServer) UpdateServer ¶
func (UnimplementedServerServiceServer) UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerReply, error)
type UnsafeServerServiceServer ¶
type UnsafeServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerServiceServer will result in compilation errors.
type UpdateNodeData ¶
type UpdateNodeData struct {
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNodeData) Descriptor
deprecated
func (*UpdateNodeData) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeData.ProtoReflect.Descriptor instead.
func (*UpdateNodeData) GetNode ¶
func (x *UpdateNodeData) GetNode() *Node
func (*UpdateNodeData) ProtoMessage ¶
func (*UpdateNodeData) ProtoMessage()
func (*UpdateNodeData) ProtoReflect ¶
func (x *UpdateNodeData) ProtoReflect() protoreflect.Message
func (*UpdateNodeData) Reset ¶
func (x *UpdateNodeData) Reset()
func (*UpdateNodeData) String ¶
func (x *UpdateNodeData) String() string
func (*UpdateNodeData) Validate ¶
func (m *UpdateNodeData) Validate() error
Validate checks the field values on UpdateNodeData 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 (*UpdateNodeData) ValidateAll ¶
func (m *UpdateNodeData) ValidateAll() error
ValidateAll checks the field values on UpdateNodeData 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 UpdateNodeDataMultiError, or nil if none found.
type UpdateNodeDataMultiError ¶
type UpdateNodeDataMultiError []error
UpdateNodeDataMultiError is an error wrapping multiple validation errors returned by UpdateNodeData.ValidateAll() if the designated constraints aren't met.
func (UpdateNodeDataMultiError) AllErrors ¶
func (m UpdateNodeDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNodeDataMultiError) Error ¶
func (m UpdateNodeDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNodeDataValidationError ¶
type UpdateNodeDataValidationError struct {
// contains filtered or unexported fields
}
UpdateNodeDataValidationError is the validation error returned by UpdateNodeData.Validate if the designated constraints aren't met.
func (UpdateNodeDataValidationError) Cause ¶
func (e UpdateNodeDataValidationError) Cause() error
Cause function returns cause value.
func (UpdateNodeDataValidationError) Error ¶
func (e UpdateNodeDataValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNodeDataValidationError) ErrorName ¶
func (e UpdateNodeDataValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNodeDataValidationError) Field ¶
func (e UpdateNodeDataValidationError) Field() string
Field function returns field value.
func (UpdateNodeDataValidationError) Key ¶
func (e UpdateNodeDataValidationError) Key() bool
Key function returns key value.
func (UpdateNodeDataValidationError) Reason ¶
func (e UpdateNodeDataValidationError) Reason() string
Reason function returns reason value.
type UpdateNodeReply ¶
type UpdateNodeReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *UpdateNodeData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*UpdateNodeReply) Descriptor
deprecated
func (*UpdateNodeReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeReply.ProtoReflect.Descriptor instead.
func (*UpdateNodeReply) GetCode ¶
func (x *UpdateNodeReply) GetCode() int32
func (*UpdateNodeReply) GetData ¶
func (x *UpdateNodeReply) GetData() *UpdateNodeData
func (*UpdateNodeReply) GetMessage ¶
func (x *UpdateNodeReply) GetMessage() string
func (*UpdateNodeReply) ProtoMessage ¶
func (*UpdateNodeReply) ProtoMessage()
func (*UpdateNodeReply) ProtoReflect ¶
func (x *UpdateNodeReply) ProtoReflect() protoreflect.Message
func (*UpdateNodeReply) Reset ¶
func (x *UpdateNodeReply) Reset()
func (*UpdateNodeReply) String ¶
func (x *UpdateNodeReply) String() string
func (*UpdateNodeReply) Validate ¶
func (m *UpdateNodeReply) Validate() error
Validate checks the field values on UpdateNodeReply 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 (*UpdateNodeReply) ValidateAll ¶
func (m *UpdateNodeReply) ValidateAll() error
ValidateAll checks the field values on UpdateNodeReply 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 UpdateNodeReplyMultiError, or nil if none found.
type UpdateNodeReplyMultiError ¶
type UpdateNodeReplyMultiError []error
UpdateNodeReplyMultiError is an error wrapping multiple validation errors returned by UpdateNodeReply.ValidateAll() if the designated constraints aren't met.
func (UpdateNodeReplyMultiError) AllErrors ¶
func (m UpdateNodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNodeReplyMultiError) Error ¶
func (m UpdateNodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNodeReplyValidationError ¶
type UpdateNodeReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateNodeReplyValidationError is the validation error returned by UpdateNodeReply.Validate if the designated constraints aren't met.
func (UpdateNodeReplyValidationError) Cause ¶
func (e UpdateNodeReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateNodeReplyValidationError) Error ¶
func (e UpdateNodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNodeReplyValidationError) ErrorName ¶
func (e UpdateNodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNodeReplyValidationError) Field ¶
func (e UpdateNodeReplyValidationError) Field() string
Field function returns field value.
func (UpdateNodeReplyValidationError) Key ¶
func (e UpdateNodeReplyValidationError) Key() bool
Key function returns key value.
func (UpdateNodeReplyValidationError) Reason ¶
func (e UpdateNodeReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateNodeRequest ¶
type UpdateNodeRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // Proto3 不支持 uint16,使用 uint32(值范围 0-65535)
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
ServerId int64 `protobuf:"varint,6,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
Protocol string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"`
Enabled *bool `protobuf:"varint,8,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // 使用 optional 支持 null 和布尔值,与老项目兼容
NodeType string `protobuf:"bytes,9,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
IsHidden *bool `protobuf:"varint,10,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"`
NodeGroupIds []int64 `protobuf:"varint,11,rep,packed,name=node_group_ids,json=nodeGroupIds,proto3" json:"node_group_ids,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNodeRequest) Descriptor
deprecated
func (*UpdateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeRequest) GetAddress ¶
func (x *UpdateNodeRequest) GetAddress() string
func (*UpdateNodeRequest) GetEnabled ¶
func (x *UpdateNodeRequest) GetEnabled() bool
func (*UpdateNodeRequest) GetId ¶
func (x *UpdateNodeRequest) GetId() int64
func (*UpdateNodeRequest) GetIsHidden ¶
func (x *UpdateNodeRequest) GetIsHidden() bool
func (*UpdateNodeRequest) GetName ¶
func (x *UpdateNodeRequest) GetName() string
func (*UpdateNodeRequest) GetNodeGroupIds ¶
func (x *UpdateNodeRequest) GetNodeGroupIds() []int64
func (*UpdateNodeRequest) GetNodeType ¶
func (x *UpdateNodeRequest) GetNodeType() string
func (*UpdateNodeRequest) GetPort ¶
func (x *UpdateNodeRequest) GetPort() uint32
func (*UpdateNodeRequest) GetProtocol ¶
func (x *UpdateNodeRequest) GetProtocol() string
func (*UpdateNodeRequest) GetServerId ¶
func (x *UpdateNodeRequest) GetServerId() int64
func (*UpdateNodeRequest) GetTags ¶
func (x *UpdateNodeRequest) GetTags() []string
func (*UpdateNodeRequest) ProtoMessage ¶
func (*UpdateNodeRequest) ProtoMessage()
func (*UpdateNodeRequest) ProtoReflect ¶
func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodeRequest) Reset ¶
func (x *UpdateNodeRequest) Reset()
func (*UpdateNodeRequest) String ¶
func (x *UpdateNodeRequest) String() string
func (*UpdateNodeRequest) Validate ¶
func (m *UpdateNodeRequest) Validate() error
Validate checks the field values on UpdateNodeRequest 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 (*UpdateNodeRequest) ValidateAll ¶
func (m *UpdateNodeRequest) ValidateAll() error
ValidateAll checks the field values on UpdateNodeRequest 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 UpdateNodeRequestMultiError, or nil if none found.
type UpdateNodeRequestMultiError ¶
type UpdateNodeRequestMultiError []error
UpdateNodeRequestMultiError is an error wrapping multiple validation errors returned by UpdateNodeRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateNodeRequestMultiError) AllErrors ¶
func (m UpdateNodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNodeRequestMultiError) Error ¶
func (m UpdateNodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateNodeRequestValidationError ¶
type UpdateNodeRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateNodeRequestValidationError is the validation error returned by UpdateNodeRequest.Validate if the designated constraints aren't met.
func (UpdateNodeRequestValidationError) Cause ¶
func (e UpdateNodeRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateNodeRequestValidationError) Error ¶
func (e UpdateNodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNodeRequestValidationError) ErrorName ¶
func (e UpdateNodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNodeRequestValidationError) Field ¶
func (e UpdateNodeRequestValidationError) Field() string
Field function returns field value.
func (UpdateNodeRequestValidationError) Key ¶
func (e UpdateNodeRequestValidationError) Key() bool
Key function returns key value.
func (UpdateNodeRequestValidationError) Reason ¶
func (e UpdateNodeRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateServerData ¶
type UpdateServerData struct {
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateServerData) Descriptor
deprecated
func (*UpdateServerData) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerData.ProtoReflect.Descriptor instead.
func (*UpdateServerData) GetServer ¶
func (x *UpdateServerData) GetServer() *Server
func (*UpdateServerData) ProtoMessage ¶
func (*UpdateServerData) ProtoMessage()
func (*UpdateServerData) ProtoReflect ¶
func (x *UpdateServerData) ProtoReflect() protoreflect.Message
func (*UpdateServerData) Reset ¶
func (x *UpdateServerData) Reset()
func (*UpdateServerData) String ¶
func (x *UpdateServerData) String() string
func (*UpdateServerData) Validate ¶
func (m *UpdateServerData) Validate() error
Validate checks the field values on UpdateServerData 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 (*UpdateServerData) ValidateAll ¶
func (m *UpdateServerData) ValidateAll() error
ValidateAll checks the field values on UpdateServerData 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 UpdateServerDataMultiError, or nil if none found.
type UpdateServerDataMultiError ¶
type UpdateServerDataMultiError []error
UpdateServerDataMultiError is an error wrapping multiple validation errors returned by UpdateServerData.ValidateAll() if the designated constraints aren't met.
func (UpdateServerDataMultiError) AllErrors ¶
func (m UpdateServerDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateServerDataMultiError) Error ¶
func (m UpdateServerDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateServerDataValidationError ¶
type UpdateServerDataValidationError struct {
// contains filtered or unexported fields
}
UpdateServerDataValidationError is the validation error returned by UpdateServerData.Validate if the designated constraints aren't met.
func (UpdateServerDataValidationError) Cause ¶
func (e UpdateServerDataValidationError) Cause() error
Cause function returns cause value.
func (UpdateServerDataValidationError) Error ¶
func (e UpdateServerDataValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateServerDataValidationError) ErrorName ¶
func (e UpdateServerDataValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateServerDataValidationError) Field ¶
func (e UpdateServerDataValidationError) Field() string
Field function returns field value.
func (UpdateServerDataValidationError) Key ¶
func (e UpdateServerDataValidationError) Key() bool
Key function returns key value.
func (UpdateServerDataValidationError) Reason ¶
func (e UpdateServerDataValidationError) Reason() string
Reason function returns reason value.
type UpdateServerReply ¶
type UpdateServerReply struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
Data *UpdateServerData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // 响应数据
// contains filtered or unexported fields
}
func (*UpdateServerReply) Descriptor
deprecated
func (*UpdateServerReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerReply.ProtoReflect.Descriptor instead.
func (*UpdateServerReply) GetCode ¶
func (x *UpdateServerReply) GetCode() int32
func (*UpdateServerReply) GetData ¶
func (x *UpdateServerReply) GetData() *UpdateServerData
func (*UpdateServerReply) GetMessage ¶
func (x *UpdateServerReply) GetMessage() string
func (*UpdateServerReply) ProtoMessage ¶
func (*UpdateServerReply) ProtoMessage()
func (*UpdateServerReply) ProtoReflect ¶
func (x *UpdateServerReply) ProtoReflect() protoreflect.Message
func (*UpdateServerReply) Reset ¶
func (x *UpdateServerReply) Reset()
func (*UpdateServerReply) String ¶
func (x *UpdateServerReply) String() string
func (*UpdateServerReply) Validate ¶
func (m *UpdateServerReply) Validate() error
Validate checks the field values on UpdateServerReply 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 (*UpdateServerReply) ValidateAll ¶
func (m *UpdateServerReply) ValidateAll() error
ValidateAll checks the field values on UpdateServerReply 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 UpdateServerReplyMultiError, or nil if none found.
type UpdateServerReplyMultiError ¶
type UpdateServerReplyMultiError []error
UpdateServerReplyMultiError is an error wrapping multiple validation errors returned by UpdateServerReply.ValidateAll() if the designated constraints aren't met.
func (UpdateServerReplyMultiError) AllErrors ¶
func (m UpdateServerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateServerReplyMultiError) Error ¶
func (m UpdateServerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateServerReplyValidationError ¶
type UpdateServerReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateServerReplyValidationError is the validation error returned by UpdateServerReply.Validate if the designated constraints aren't met.
func (UpdateServerReplyValidationError) Cause ¶
func (e UpdateServerReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateServerReplyValidationError) Error ¶
func (e UpdateServerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateServerReplyValidationError) ErrorName ¶
func (e UpdateServerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateServerReplyValidationError) Field ¶
func (e UpdateServerReplyValidationError) Field() string
Field function returns field value.
func (UpdateServerReplyValidationError) Key ¶
func (e UpdateServerReplyValidationError) Key() bool
Key function returns key value.
func (UpdateServerReplyValidationError) Reason ¶
func (e UpdateServerReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateServerRequest ¶
type UpdateServerRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
Protocols []*Protocol `protobuf:"bytes,7,rep,name=protocols,proto3" json:"protocols,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateServerRequest) Descriptor
deprecated
func (*UpdateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerRequest) GetAddress ¶
func (x *UpdateServerRequest) GetAddress() string
func (*UpdateServerRequest) GetCity ¶
func (x *UpdateServerRequest) GetCity() string
func (*UpdateServerRequest) GetCountry ¶
func (x *UpdateServerRequest) GetCountry() string
func (*UpdateServerRequest) GetId ¶
func (x *UpdateServerRequest) GetId() int64
func (*UpdateServerRequest) GetName ¶
func (x *UpdateServerRequest) GetName() string
func (*UpdateServerRequest) GetProtocols ¶
func (x *UpdateServerRequest) GetProtocols() []*Protocol
func (*UpdateServerRequest) GetSort ¶
func (x *UpdateServerRequest) GetSort() int32
func (*UpdateServerRequest) ProtoMessage ¶
func (*UpdateServerRequest) ProtoMessage()
func (*UpdateServerRequest) ProtoReflect ¶
func (x *UpdateServerRequest) ProtoReflect() protoreflect.Message
func (*UpdateServerRequest) Reset ¶
func (x *UpdateServerRequest) Reset()
func (*UpdateServerRequest) String ¶
func (x *UpdateServerRequest) String() string
func (*UpdateServerRequest) Validate ¶
func (m *UpdateServerRequest) Validate() error
Validate checks the field values on UpdateServerRequest 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 (*UpdateServerRequest) ValidateAll ¶
func (m *UpdateServerRequest) ValidateAll() error
ValidateAll checks the field values on UpdateServerRequest 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 UpdateServerRequestMultiError, or nil if none found.
type UpdateServerRequestMultiError ¶
type UpdateServerRequestMultiError []error
UpdateServerRequestMultiError is an error wrapping multiple validation errors returned by UpdateServerRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateServerRequestMultiError) AllErrors ¶
func (m UpdateServerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateServerRequestMultiError) Error ¶
func (m UpdateServerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateServerRequestValidationError ¶
type UpdateServerRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateServerRequestValidationError is the validation error returned by UpdateServerRequest.Validate if the designated constraints aren't met.
func (UpdateServerRequestValidationError) Cause ¶
func (e UpdateServerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateServerRequestValidationError) Error ¶
func (e UpdateServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateServerRequestValidationError) ErrorName ¶
func (e UpdateServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateServerRequestValidationError) Field ¶
func (e UpdateServerRequestValidationError) Field() string
Field function returns field value.
func (UpdateServerRequestValidationError) Key ¶
func (e UpdateServerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateServerRequestValidationError) Reason ¶
func (e UpdateServerRequestValidationError) Reason() string
Reason function returns reason value.