v1

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationServerServiceCreateNode = "/api.admin.server.v1.ServerService/CreateNode"
View Source
const OperationServerServiceCreateServer = "/api.admin.server.v1.ServerService/CreateServer"
View Source
const OperationServerServiceDeleteNode = "/api.admin.server.v1.ServerService/DeleteNode"
View Source
const OperationServerServiceDeleteServer = "/api.admin.server.v1.ServerService/DeleteServer"
View Source
const OperationServerServiceFilterNodeList = "/api.admin.server.v1.ServerService/FilterNodeList"
View Source
const OperationServerServiceFilterServerList = "/api.admin.server.v1.ServerService/FilterServerList"
View Source
const OperationServerServiceGetServerProtocols = "/api.admin.server.v1.ServerService/GetServerProtocols"
View Source
const OperationServerServiceHasMigrateServerNode = "/api.admin.server.v1.ServerService/HasMigrateServerNode"
View Source
const OperationServerServiceMigrateServerNode = "/api.admin.server.v1.ServerService/MigrateServerNode"
View Source
const OperationServerServiceQueryNodeTag = "/api.admin.server.v1.ServerService/QueryNodeTag"
View Source
const OperationServerServiceResetSortWithNode = "/api.admin.server.v1.ServerService/ResetSortWithNode"
View Source
const OperationServerServiceResetSortWithServer = "/api.admin.server.v1.ServerService/ResetSortWithServer"
View Source
const OperationServerServiceToggleNodeStatus = "/api.admin.server.v1.ServerService/ToggleNodeStatus"
View Source
const OperationServerServiceUpdateNode = "/api.admin.server.v1.ServerService/UpdateNode"
View Source
const OperationServerServiceUpdateServer = "/api.admin.server.v1.ServerService/UpdateServer"

Variables

View Source
var File_admin_server_v1_server_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (CreateNodeDataValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeDataValidationError) ErrorName

func (e CreateNodeDataValidationError) ErrorName() string

ErrorName returns error name.

func (CreateNodeDataValidationError) Field

Field function returns field value.

func (CreateNodeDataValidationError) Key

Key function returns key value.

func (CreateNodeDataValidationError) Reason

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

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

Cause function returns cause value.

func (CreateNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeReplyValidationError) ErrorName

func (e CreateNodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateNodeReplyValidationError) Field

Field function returns field value.

func (CreateNodeReplyValidationError) Key

Key function returns key value.

func (CreateNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNodeRequestValidationError) Field

Field function returns field value.

func (CreateNodeRequestValidationError) Key

Key function returns key value.

func (CreateNodeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateServerDataValidationError) Error

Error satisfies the builtin error interface

func (CreateServerDataValidationError) ErrorName

ErrorName returns error name.

func (CreateServerDataValidationError) Field

Field function returns field value.

func (CreateServerDataValidationError) Key

Key function returns key value.

func (CreateServerDataValidationError) Reason

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

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

Cause function returns cause value.

func (CreateServerReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateServerReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateServerReplyValidationError) Field

Field function returns field value.

func (CreateServerReplyValidationError) Key

Key function returns key value.

func (CreateServerReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateServerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateServerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateServerRequestValidationError) Field

Field function returns field value.

func (CreateServerRequestValidationError) Key

Key function returns key value.

func (CreateServerRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteNodeDataValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeDataValidationError) ErrorName

func (e DeleteNodeDataValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteNodeDataValidationError) Field

Field function returns field value.

func (DeleteNodeDataValidationError) Key

Key function returns key value.

func (DeleteNodeDataValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeReplyValidationError) ErrorName

func (e DeleteNodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteNodeReplyValidationError) Field

Field function returns field value.

func (DeleteNodeReplyValidationError) Key

Key function returns key value.

func (DeleteNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNodeRequestValidationError) Field

Field function returns field value.

func (DeleteNodeRequestValidationError) Key

Key function returns key value.

func (DeleteNodeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteServerDataValidationError) Error

Error satisfies the builtin error interface

func (DeleteServerDataValidationError) ErrorName

ErrorName returns error name.

func (DeleteServerDataValidationError) Field

Field function returns field value.

func (DeleteServerDataValidationError) Key

Key function returns key value.

func (DeleteServerDataValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteServerReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteServerReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteServerReplyValidationError) Field

Field function returns field value.

func (DeleteServerReplyValidationError) Key

Key function returns key value.

func (DeleteServerReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteServerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteServerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteServerRequestValidationError) Field

Field function returns field value.

func (DeleteServerRequestValidationError) Key

Key function returns key value.

func (DeleteServerRequestValidationError) Reason

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

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

Cause function returns cause value.

func (FilterNodeListDataValidationError) Error

Error satisfies the builtin error interface

func (FilterNodeListDataValidationError) ErrorName

ErrorName returns error name.

func (FilterNodeListDataValidationError) Field

Field function returns field value.

func (FilterNodeListDataValidationError) Key

Key function returns key value.

func (FilterNodeListDataValidationError) Reason

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

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

Cause function returns cause value.

func (FilterNodeListReplyValidationError) Error

Error satisfies the builtin error interface

func (FilterNodeListReplyValidationError) ErrorName

ErrorName returns error name.

func (FilterNodeListReplyValidationError) Field

Field function returns field value.

func (FilterNodeListReplyValidationError) Key

Key function returns key value.

func (FilterNodeListReplyValidationError) Reason

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

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

Cause function returns cause value.

func (FilterNodeListRequestValidationError) Error

Error satisfies the builtin error interface

func (FilterNodeListRequestValidationError) ErrorName

ErrorName returns error name.

func (FilterNodeListRequestValidationError) Field

Field function returns field value.

func (FilterNodeListRequestValidationError) Key

Key function returns key value.

func (FilterNodeListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (FilterServerListDataValidationError) Error

Error satisfies the builtin error interface

func (FilterServerListDataValidationError) ErrorName

ErrorName returns error name.

func (FilterServerListDataValidationError) Field

Field function returns field value.

func (FilterServerListDataValidationError) Key

Key function returns key value.

func (FilterServerListDataValidationError) Reason

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

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

Cause function returns cause value.

func (FilterServerListReplyValidationError) Error

Error satisfies the builtin error interface

func (FilterServerListReplyValidationError) ErrorName

ErrorName returns error name.

func (FilterServerListReplyValidationError) Field

Field function returns field value.

func (FilterServerListReplyValidationError) Key

Key function returns key value.

func (FilterServerListReplyValidationError) Reason

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

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

Cause function returns cause value.

func (FilterServerListRequestValidationError) Error

Error satisfies the builtin error interface

func (FilterServerListRequestValidationError) ErrorName

ErrorName returns error name.

func (FilterServerListRequestValidationError) Field

Field function returns field value.

func (FilterServerListRequestValidationError) Key

Key function returns key value.

func (FilterServerListRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetServerProtocolsDataValidationError) Error

Error satisfies the builtin error interface

func (GetServerProtocolsDataValidationError) ErrorName

ErrorName returns error name.

func (GetServerProtocolsDataValidationError) Field

Field function returns field value.

func (GetServerProtocolsDataValidationError) Key

Key function returns key value.

func (GetServerProtocolsDataValidationError) Reason

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

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

Cause function returns cause value.

func (GetServerProtocolsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetServerProtocolsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetServerProtocolsReplyValidationError) Field

Field function returns field value.

func (GetServerProtocolsReplyValidationError) Key

Key function returns key value.

func (GetServerProtocolsReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (GetServerProtocolsRequestMultiError) Error

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

Cause function returns cause value.

func (GetServerProtocolsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetServerProtocolsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetServerProtocolsRequestValidationError) Field

Field function returns field value.

func (GetServerProtocolsRequestValidationError) Key

Key function returns key value.

func (GetServerProtocolsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (HasMigrateServerNodeDataValidationError) Error

Error satisfies the builtin error interface

func (HasMigrateServerNodeDataValidationError) ErrorName

ErrorName returns error name.

func (HasMigrateServerNodeDataValidationError) Field

Field function returns field value.

func (HasMigrateServerNodeDataValidationError) Key

Key function returns key value.

func (HasMigrateServerNodeDataValidationError) Reason

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 (*HasMigrateServerNodeReply) GetMessage

func (x *HasMigrateServerNodeReply) GetMessage() string

func (*HasMigrateServerNodeReply) ProtoMessage

func (*HasMigrateServerNodeReply) ProtoMessage()

func (*HasMigrateServerNodeReply) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (HasMigrateServerNodeReplyMultiError) Error

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

Cause function returns cause value.

func (HasMigrateServerNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (HasMigrateServerNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (HasMigrateServerNodeReplyValidationError) Field

Field function returns field value.

func (HasMigrateServerNodeReplyValidationError) Key

Key function returns key value.

func (HasMigrateServerNodeReplyValidationError) Reason

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

AllErrors returns a list of validation violation errors.

func (HasMigrateServerNodeRequestMultiError) Error

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

Cause function returns cause value.

func (HasMigrateServerNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (HasMigrateServerNodeRequestValidationError) ErrorName

ErrorName returns error name.

func (HasMigrateServerNodeRequestValidationError) Field

Field function returns field value.

func (HasMigrateServerNodeRequestValidationError) Key

Key function returns key value.

func (HasMigrateServerNodeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (MigrateServerNodeDataValidationError) Error

Error satisfies the builtin error interface

func (MigrateServerNodeDataValidationError) ErrorName

ErrorName returns error name.

func (MigrateServerNodeDataValidationError) Field

Field function returns field value.

func (MigrateServerNodeDataValidationError) Key

Key function returns key value.

func (MigrateServerNodeDataValidationError) Reason

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

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

Cause function returns cause value.

func (MigrateServerNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (MigrateServerNodeReplyValidationError) ErrorName

ErrorName returns error name.

func (MigrateServerNodeReplyValidationError) Field

Field function returns field value.

func (MigrateServerNodeReplyValidationError) Key

Key function returns key value.

func (MigrateServerNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (MigrateServerNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (MigrateServerNodeRequestValidationError) ErrorName

ErrorName returns error name.

func (MigrateServerNodeRequestValidationError) Field

Field function returns field value.

func (MigrateServerNodeRequestValidationError) Key

Key function returns key value.

func (MigrateServerNodeRequestValidationError) Reason

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() string

func (*Node) GetCreatedAt

func (x *Node) GetCreatedAt() int64

func (*Node) GetEnabled

func (x *Node) GetEnabled() bool

func (*Node) GetId

func (x *Node) GetId() int64

func (*Node) GetIsHidden

func (x *Node) GetIsHidden() bool

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNodeGroupId

func (x *Node) GetNodeGroupId() int64

func (*Node) GetNodeGroupIds

func (x *Node) GetNodeGroupIds() []int64

func (*Node) GetNodeType

func (x *Node) GetNodeType() string

func (*Node) GetPort

func (x *Node) GetPort() uint32

func (*Node) GetProtocol

func (x *Node) GetProtocol() string

func (*Node) GetServerId

func (x *Node) GetServerId() int64

func (*Node) GetSort

func (x *Node) GetSort() int32

func (*Node) GetTags

func (x *Node) GetTags() []string

func (*Node) GetUpdatedAt

func (x *Node) GetUpdatedAt() int64

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

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

func (m *Node) ValidateAll() error

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

Deprecated: Use Protocol.ProtoReflect.Descriptor instead.

func (*Protocol) GetAllowInsecure

func (x *Protocol) GetAllowInsecure() bool

func (*Protocol) GetCertDnsEnv

func (x *Protocol) GetCertDnsEnv() string

func (*Protocol) GetCertDnsProvider

func (x *Protocol) GetCertDnsProvider() string

func (*Protocol) GetCertMode

func (x *Protocol) GetCertMode() string

func (*Protocol) GetCipher

func (x *Protocol) GetCipher() string

func (*Protocol) GetCongestionController

func (x *Protocol) GetCongestionController() string

func (*Protocol) GetDisableSni

func (x *Protocol) GetDisableSni() bool

func (*Protocol) GetDownMbps

func (x *Protocol) GetDownMbps() int32

func (*Protocol) GetEnable

func (x *Protocol) GetEnable() bool

func (*Protocol) GetEncryption

func (x *Protocol) GetEncryption() string

func (*Protocol) GetEncryptionClientPadding

func (x *Protocol) GetEncryptionClientPadding() string

func (*Protocol) GetEncryptionMode

func (x *Protocol) GetEncryptionMode() string

func (*Protocol) GetEncryptionPassword

func (x *Protocol) GetEncryptionPassword() string

func (*Protocol) GetEncryptionPrivateKey

func (x *Protocol) GetEncryptionPrivateKey() string

func (*Protocol) GetEncryptionRtt

func (x *Protocol) GetEncryptionRtt() string

func (*Protocol) GetEncryptionServerPadding

func (x *Protocol) GetEncryptionServerPadding() string

func (*Protocol) GetEncryptionTicket

func (x *Protocol) GetEncryptionTicket() string

func (*Protocol) GetFingerprint

func (x *Protocol) GetFingerprint() string

func (*Protocol) GetFlow

func (x *Protocol) GetFlow() string

func (*Protocol) GetHopInterval

func (x *Protocol) GetHopInterval() int32

func (*Protocol) GetHopPorts

func (x *Protocol) GetHopPorts() string

func (*Protocol) GetHost

func (x *Protocol) GetHost() string

func (*Protocol) GetMc1CidrSegments added in v1.0.8

func (x *Protocol) GetMc1CidrSegments() []string

func (*Protocol) GetMc1Mode added in v1.0.8

func (x *Protocol) GetMc1Mode() string

func (*Protocol) GetMultiplex

func (x *Protocol) GetMultiplex() string

func (*Protocol) GetMundoAcceptProxyProtocol added in v1.0.8

func (x *Protocol) GetMundoAcceptProxyProtocol() bool

func (*Protocol) GetMundoCertificateFingerprint added in v1.0.8

func (x *Protocol) GetMundoCertificateFingerprint() string

func (*Protocol) GetMundoFakeMessage added in v1.0.8

func (x *Protocol) GetMundoFakeMessage() string

func (*Protocol) GetMundoFakeTitle added in v1.0.8

func (x *Protocol) GetMundoFakeTitle() string

func (*Protocol) GetMundoUseTlsCertificate added in v1.0.8

func (x *Protocol) GetMundoUseTlsCertificate() bool

func (*Protocol) GetMundoUsername added in v1.0.8

func (x *Protocol) GetMundoUsername() string

func (*Protocol) GetObfs

func (x *Protocol) GetObfs() string

func (*Protocol) GetObfsHost

func (x *Protocol) GetObfsHost() string

func (*Protocol) GetObfsPassword

func (x *Protocol) GetObfsPassword() string

func (*Protocol) GetObfsPath

func (x *Protocol) GetObfsPath() string

func (*Protocol) GetOmniflowAdaptiveTlsEnabled

func (x *Protocol) GetOmniflowAdaptiveTlsEnabled() bool

func (*Protocol) GetOmniflowAfEnabled

func (x *Protocol) GetOmniflowAfEnabled() bool

func (*Protocol) GetOmniflowAfPathMode

func (x *Protocol) GetOmniflowAfPathMode() string

func (*Protocol) GetOmniflowAfPathPrefix

func (x *Protocol) GetOmniflowAfPathPrefix() string

func (*Protocol) GetOmniflowAfPathRotationSecs

func (x *Protocol) GetOmniflowAfPathRotationSecs() int32

func (*Protocol) GetOmniflowAfPathSkewSlots

func (x *Protocol) GetOmniflowAfPathSkewSlots() int32

func (*Protocol) GetOmniflowAfPathSuffix

func (x *Protocol) GetOmniflowAfPathSuffix() string

func (*Protocol) GetOmniflowCaCertPath

func (x *Protocol) GetOmniflowCaCertPath() string

func (*Protocol) GetOmniflowCarrier

func (x *Protocol) GetOmniflowCarrier() string

func (*Protocol) GetOmniflowContentType

func (x *Protocol) GetOmniflowContentType() string

func (*Protocol) GetOmniflowFallbackCarrierEnabled

func (x *Protocol) GetOmniflowFallbackCarrierEnabled() bool

func (*Protocol) GetOmniflowFallbackConnectTunnel

func (x *Protocol) GetOmniflowFallbackConnectTunnel() bool

func (*Protocol) GetOmniflowFallbackEnabled

func (x *Protocol) GetOmniflowFallbackEnabled() bool

func (*Protocol) GetOmniflowFallbackHostHeader

func (x *Protocol) GetOmniflowFallbackHostHeader() string

func (*Protocol) GetOmniflowFallbackTargetHost

func (x *Protocol) GetOmniflowFallbackTargetHost() string

func (*Protocol) GetOmniflowFallbackTargetPort

func (x *Protocol) GetOmniflowFallbackTargetPort() int32

func (*Protocol) GetOmniflowFallbackTargetScheme

func (x *Protocol) GetOmniflowFallbackTargetScheme() string

func (*Protocol) GetOmniflowFallbackTlsSni

func (x *Protocol) GetOmniflowFallbackTlsSni() string

func (*Protocol) GetOmniflowFallbackWssEnabled

func (x *Protocol) GetOmniflowFallbackWssEnabled() bool

func (*Protocol) GetOmniflowH3FallbackEnabled

func (x *Protocol) GetOmniflowH3FallbackEnabled() bool

func (*Protocol) GetOmniflowH3FallbackPolicy

func (x *Protocol) GetOmniflowH3FallbackPolicy() string

func (*Protocol) GetOmniflowH3FallbackRetryBudget

func (x *Protocol) GetOmniflowH3FallbackRetryBudget() int32

func (*Protocol) GetOmniflowH3FallbackSmokeEnabled

func (x *Protocol) GetOmniflowH3FallbackSmokeEnabled() bool

func (*Protocol) GetOmniflowH3FallbackSmokeIntervalSec

func (x *Protocol) GetOmniflowH3FallbackSmokeIntervalSec() int32

func (*Protocol) GetOmniflowH3FallbackSmokeTimeoutMs

func (x *Protocol) GetOmniflowH3FallbackSmokeTimeoutMs() int32

func (*Protocol) GetOmniflowH3FallbackTimeoutMs

func (x *Protocol) GetOmniflowH3FallbackTimeoutMs() int32

func (*Protocol) GetOmniflowIdleTimeoutSec

func (x *Protocol) GetOmniflowIdleTimeoutSec() int32

func (*Protocol) GetOmniflowMaxAgeSec

func (x *Protocol) GetOmniflowMaxAgeSec() int32

func (*Protocol) GetOmniflowMaxConnections

func (x *Protocol) GetOmniflowMaxConnections() int32

func (*Protocol) GetOmniflowPaddingMode

func (x *Protocol) GetOmniflowPaddingMode() string

func (*Protocol) GetOmniflowPath

func (x *Protocol) GetOmniflowPath() string

func (*Protocol) GetOmniflowProfileJson

func (x *Protocol) GetOmniflowProfileJson() string

func (*Protocol) GetOmniflowProfilePath

func (x *Protocol) GetOmniflowProfilePath() string

func (*Protocol) GetOmniflowServerHost

func (x *Protocol) GetOmniflowServerHost() string

func (*Protocol) GetOmniflowServerPort

func (x *Protocol) GetOmniflowServerPort() int32

func (*Protocol) GetOmniflowSniMode

func (x *Protocol) GetOmniflowSniMode() string

func (*Protocol) GetOmniflowSpkiPin

func (x *Protocol) GetOmniflowSpkiPin() string

func (*Protocol) GetOmniflowTargetMeta

func (x *Protocol) GetOmniflowTargetMeta() string

func (*Protocol) GetOmniflowTlsFingerprint

func (x *Protocol) GetOmniflowTlsFingerprint() string

func (*Protocol) GetOmniflowTrafficShapingEnabled

func (x *Protocol) GetOmniflowTrafficShapingEnabled() bool

func (*Protocol) GetPaddingScheme

func (x *Protocol) GetPaddingScheme() string

func (*Protocol) GetPath

func (x *Protocol) GetPath() string

func (*Protocol) GetPort

func (x *Protocol) GetPort() int32

func (*Protocol) GetRatio

func (x *Protocol) GetRatio() float64

func (*Protocol) GetRealityPrivateKey

func (x *Protocol) GetRealityPrivateKey() string

func (*Protocol) GetRealityPublicKey

func (x *Protocol) GetRealityPublicKey() string

func (*Protocol) GetRealityServerAddr

func (x *Protocol) GetRealityServerAddr() string

func (*Protocol) GetRealityServerPort

func (x *Protocol) GetRealityServerPort() int32

func (*Protocol) GetRealityShortId

func (x *Protocol) GetRealityShortId() string

func (*Protocol) GetReduceRtt

func (x *Protocol) GetReduceRtt() bool

func (*Protocol) GetSecurity

func (x *Protocol) GetSecurity() string

func (*Protocol) GetServerKey

func (x *Protocol) GetServerKey() string

func (*Protocol) GetServiceName

func (x *Protocol) GetServiceName() string

func (*Protocol) GetSimnetAfEnabled

func (x *Protocol) GetSimnetAfEnabled() bool

func (*Protocol) GetSimnetAfFakeHeaderInjection

func (x *Protocol) GetSimnetAfFakeHeaderInjection() bool

func (*Protocol) GetSimnetAfHandshakePolymorphism

func (x *Protocol) GetSimnetAfHandshakePolymorphism() bool

func (*Protocol) GetSimnetAfMagicMode

func (x *Protocol) GetSimnetAfMagicMode() string

func (*Protocol) GetSimnetAfPathMode

func (x *Protocol) GetSimnetAfPathMode() string

func (*Protocol) GetSimnetAfPathPrefix

func (x *Protocol) GetSimnetAfPathPrefix() string

func (*Protocol) GetSimnetAfPathSuffix

func (x *Protocol) GetSimnetAfPathSuffix() string

func (*Protocol) GetSimnetAfResponseJitterMs

func (x *Protocol) GetSimnetAfResponseJitterMs() int32

func (*Protocol) GetSimnetAfSettingsJitter

func (x *Protocol) GetSimnetAfSettingsJitter() bool

func (*Protocol) GetSimnetCarrier

func (x *Protocol) GetSimnetCarrier() string

func (*Protocol) GetSimnetClientMaxConcurrentStreams added in v1.0.8

func (x *Protocol) GetSimnetClientMaxConcurrentStreams() int32

func (*Protocol) GetSimnetClientMaxStreamsPerSession added in v1.0.8

func (x *Protocol) GetSimnetClientMaxStreamsPerSession() int32

func (*Protocol) GetSimnetClientMaxUdpSessions added in v1.0.8

func (x *Protocol) GetSimnetClientMaxUdpSessions() int32

func (*Protocol) GetSimnetClientSessionIdleTimeoutSecs added in v1.0.8

func (x *Protocol) GetSimnetClientSessionIdleTimeoutSecs() int32

func (*Protocol) GetSimnetEgressBlockLinkLocal added in v1.0.8

func (x *Protocol) GetSimnetEgressBlockLinkLocal() bool

func (*Protocol) GetSimnetEgressBlockLoopback added in v1.0.8

func (x *Protocol) GetSimnetEgressBlockLoopback() bool

func (*Protocol) GetSimnetEgressBlockMetadata added in v1.0.8

func (x *Protocol) GetSimnetEgressBlockMetadata() bool

func (*Protocol) GetSimnetEgressBlockPrivate added in v1.0.8

func (x *Protocol) GetSimnetEgressBlockPrivate() bool

func (*Protocol) GetSimnetFallbackEnabled

func (x *Protocol) GetSimnetFallbackEnabled() bool

func (*Protocol) GetSimnetFallbackHostHeader

func (x *Protocol) GetSimnetFallbackHostHeader() string

func (*Protocol) GetSimnetFallbackTargetHost

func (x *Protocol) GetSimnetFallbackTargetHost() string

func (*Protocol) GetSimnetFallbackTargetPort

func (x *Protocol) GetSimnetFallbackTargetPort() int32

func (*Protocol) GetSimnetFallbackTargetScheme

func (x *Protocol) GetSimnetFallbackTargetScheme() string

func (*Protocol) GetSimnetFallbackTlsSni

func (x *Protocol) GetSimnetFallbackTlsSni() string

func (*Protocol) GetSimnetInboundMaxHandlerTasksPerSession added in v1.0.8

func (x *Protocol) GetSimnetInboundMaxHandlerTasksPerSession() int32

func (*Protocol) GetSimnetInboundMaxStreamsPerSession added in v1.0.8

func (x *Protocol) GetSimnetInboundMaxStreamsPerSession() int32

func (*Protocol) GetSimnetInboundMaxUdpStreamsPerSession added in v1.0.8

func (x *Protocol) GetSimnetInboundMaxUdpStreamsPerSession() int32

func (*Protocol) GetSimnetInitialWindowSize added in v1.0.8

func (x *Protocol) GetSimnetInitialWindowSize() int32

func (*Protocol) GetSimnetKeyId

func (x *Protocol) GetSimnetKeyId() int32

func (*Protocol) GetSimnetMaxConcurrentStreams added in v1.0.8

func (x *Protocol) GetSimnetMaxConcurrentStreams() int32

func (*Protocol) GetSimnetMaxFrameSize added in v1.0.8

func (x *Protocol) GetSimnetMaxFrameSize() int32

func (*Protocol) GetSimnetPath

func (x *Protocol) GetSimnetPath() string

func (*Protocol) GetSimnetPsk

func (x *Protocol) GetSimnetPsk() string

func (*Protocol) GetSimnetRecvWindow added in v1.0.8

func (x *Protocol) GetSimnetRecvWindow() int32

func (*Protocol) GetSimnetReverseEnabled

func (x *Protocol) GetSimnetReverseEnabled() bool

func (*Protocol) GetSimnetReverseListenAddr

func (x *Protocol) GetSimnetReverseListenAddr() string

func (*Protocol) GetSimnetReverseListenPort

func (x *Protocol) GetSimnetReverseListenPort() int32

func (*Protocol) GetSimnetReverseTargetHost

func (x *Protocol) GetSimnetReverseTargetHost() string

func (*Protocol) GetSimnetReverseTargetPort

func (x *Protocol) GetSimnetReverseTargetPort() int32

func (*Protocol) GetSimnetSendWindow added in v1.0.8

func (x *Protocol) GetSimnetSendWindow() int32

func (*Protocol) GetSimnetStreamDataChannelCapacity added in v1.0.8

func (x *Protocol) GetSimnetStreamDataChannelCapacity() int32

func (*Protocol) GetSimnetStreamEventChannelCapacity added in v1.0.8

func (x *Protocol) GetSimnetStreamEventChannelCapacity() int32

func (*Protocol) GetSimnetTargetDialTimeoutMs added in v1.0.8

func (x *Protocol) GetSimnetTargetDialTimeoutMs() int32

func (*Protocol) GetSimnetTargetMaxConcurrentDials added in v1.0.8

func (x *Protocol) GetSimnetTargetMaxConcurrentDials() int32

func (*Protocol) GetSimnetTicketId

func (x *Protocol) GetSimnetTicketId() string

func (*Protocol) GetSni

func (x *Protocol) GetSni() string

func (*Protocol) GetTransport

func (x *Protocol) GetTransport() string

func (*Protocol) GetType

func (x *Protocol) GetType() string

func (*Protocol) GetUdpRelayMode

func (x *Protocol) GetUdpRelayMode() string

func (*Protocol) GetUpMbps

func (x *Protocol) GetUpMbps() int32

func (*Protocol) GetXhttpExtra

func (x *Protocol) GetXhttpExtra() string

func (*Protocol) GetXhttpMode

func (x *Protocol) GetXhttpMode() string

func (*Protocol) ProtoMessage

func (*Protocol) ProtoMessage()

func (*Protocol) ProtoReflect

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

func (*Protocol) Reset

func (x *Protocol) Reset()

func (*Protocol) String

func (x *Protocol) String() string

func (*Protocol) Validate

func (m *Protocol) Validate() error

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

func (m *Protocol) ValidateAll() error

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

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

Cause function returns cause value.

func (QueryNodeTagDataValidationError) Error

Error satisfies the builtin error interface

func (QueryNodeTagDataValidationError) ErrorName

ErrorName returns error name.

func (QueryNodeTagDataValidationError) Field

Field function returns field value.

func (QueryNodeTagDataValidationError) Key

Key function returns key value.

func (QueryNodeTagDataValidationError) Reason

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

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

Cause function returns cause value.

func (QueryNodeTagReplyValidationError) Error

Error satisfies the builtin error interface

func (QueryNodeTagReplyValidationError) ErrorName

ErrorName returns error name.

func (QueryNodeTagReplyValidationError) Field

Field function returns field value.

func (QueryNodeTagReplyValidationError) Key

Key function returns key value.

func (QueryNodeTagReplyValidationError) Reason

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

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

Cause function returns cause value.

func (QueryNodeTagRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryNodeTagRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryNodeTagRequestValidationError) Field

Field function returns field value.

func (QueryNodeTagRequestValidationError) Key

Key function returns key value.

func (QueryNodeTagRequestValidationError) Reason

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

Cause function returns cause value.

func (ResetSortDataValidationError) Error

Error satisfies the builtin error interface

func (ResetSortDataValidationError) ErrorName

func (e ResetSortDataValidationError) ErrorName() string

ErrorName returns error name.

func (ResetSortDataValidationError) Field

Field function returns field value.

func (ResetSortDataValidationError) Key

Key function returns key value.

func (ResetSortDataValidationError) Reason

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

Cause function returns cause value.

func (ResetSortReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetSortReplyValidationError) ErrorName

func (e ResetSortReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ResetSortReplyValidationError) Field

Field function returns field value.

func (ResetSortReplyValidationError) Key

Key function returns key value.

func (ResetSortReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ResetSortRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetSortRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetSortRequestValidationError) Field

Field function returns field value.

func (ResetSortRequestValidationError) Key

Key function returns key value.

func (ResetSortRequestValidationError) Reason

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetAddress

func (x *Server) GetAddress() string

func (*Server) GetCity

func (x *Server) GetCity() string

func (*Server) GetCountry

func (x *Server) GetCountry() string

func (*Server) GetCreatedAt

func (x *Server) GetCreatedAt() int64

func (*Server) GetId

func (x *Server) GetId() int64

func (*Server) GetLastReportedAt

func (x *Server) GetLastReportedAt() int64

func (*Server) GetName

func (x *Server) GetName() string

func (*Server) GetProtocols

func (x *Server) GetProtocols() []*Protocol

func (*Server) GetSort

func (x *Server) GetSort() int32

func (*Server) GetStatus

func (x *Server) GetStatus() *ServerStatus

func (*Server) GetUpdatedAt

func (x *Server) GetUpdatedAt() int64

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

func (*Server) Validate

func (m *Server) Validate() error

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

func (m *Server) ValidateAll() error

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

Cause function returns cause value.

func (ServerOnlineIPValidationError) Error

Error satisfies the builtin error interface

func (ServerOnlineIPValidationError) ErrorName

func (e ServerOnlineIPValidationError) ErrorName() string

ErrorName returns error name.

func (ServerOnlineIPValidationError) Field

Field function returns field value.

func (ServerOnlineIPValidationError) Key

Key function returns key value.

func (ServerOnlineIPValidationError) Reason

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

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

Cause function returns cause value.

func (ServerOnlineUserValidationError) Error

Error satisfies the builtin error interface

func (ServerOnlineUserValidationError) ErrorName

ErrorName returns error name.

func (ServerOnlineUserValidationError) Field

Field function returns field value.

func (ServerOnlineUserValidationError) Key

Key function returns key value.

func (ServerOnlineUserValidationError) Reason

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.

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

CreateNode Node Management

func (*ServerServiceHTTPClientImpl) CreateServer

CreateServer Server Management

func (*ServerServiceHTTPClientImpl) DeleteNode

func (*ServerServiceHTTPClientImpl) DeleteServer

func (*ServerServiceHTTPClientImpl) FilterNodeList

func (*ServerServiceHTTPClientImpl) FilterServerList

func (*ServerServiceHTTPClientImpl) GetServerProtocols

func (*ServerServiceHTTPClientImpl) HasMigrateServerNode

HasMigrateServerNode Migration

func (*ServerServiceHTTPClientImpl) MigrateServerNode

func (*ServerServiceHTTPClientImpl) QueryNodeTag

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 (*ServerServiceHTTPClientImpl) UpdateNode

func (*ServerServiceHTTPClientImpl) UpdateServer

type ServerServiceServer

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

Cause function returns cause value.

func (ServerStatusValidationError) Error

Error satisfies the builtin error interface

func (ServerStatusValidationError) ErrorName

func (e ServerStatusValidationError) ErrorName() string

ErrorName returns error name.

func (ServerStatusValidationError) Field

Field function returns field value.

func (ServerStatusValidationError) Key

Key function returns key value.

func (ServerStatusValidationError) Reason

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

Deprecated: Use SortItem.ProtoReflect.Descriptor instead.

func (*SortItem) GetId

func (x *SortItem) GetId() int64

func (*SortItem) GetSort

func (x *SortItem) GetSort() int32

func (*SortItem) ProtoMessage

func (*SortItem) ProtoMessage()

func (*SortItem) ProtoReflect

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

func (*SortItem) Reset

func (x *SortItem) Reset()

func (*SortItem) String

func (x *SortItem) String() string

func (*SortItem) Validate

func (m *SortItem) Validate() error

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

func (m *SortItem) ValidateAll() error

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

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

Cause function returns cause value.

func (ToggleNodeStatusDataValidationError) Error

Error satisfies the builtin error interface

func (ToggleNodeStatusDataValidationError) ErrorName

ErrorName returns error name.

func (ToggleNodeStatusDataValidationError) Field

Field function returns field value.

func (ToggleNodeStatusDataValidationError) Key

Key function returns key value.

func (ToggleNodeStatusDataValidationError) Reason

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

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

Cause function returns cause value.

func (ToggleNodeStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (ToggleNodeStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (ToggleNodeStatusReplyValidationError) Field

Field function returns field value.

func (ToggleNodeStatusReplyValidationError) Key

Key function returns key value.

func (ToggleNodeStatusReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ToggleNodeStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (ToggleNodeStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (ToggleNodeStatusRequestValidationError) Field

Field function returns field value.

func (ToggleNodeStatusRequestValidationError) Key

Key function returns key value.

func (ToggleNodeStatusRequestValidationError) Reason

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

func (UnimplementedServerServiceServer) DeleteNode

func (UnimplementedServerServiceServer) DeleteServer

func (UnimplementedServerServiceServer) FilterNodeList

func (UnimplementedServerServiceServer) FilterServerList

func (UnimplementedServerServiceServer) GetServerProtocols

func (UnimplementedServerServiceServer) HasMigrateServerNode

func (UnimplementedServerServiceServer) MigrateServerNode

func (UnimplementedServerServiceServer) QueryNodeTag

func (UnimplementedServerServiceServer) ResetSortWithNode

func (UnimplementedServerServiceServer) ResetSortWithServer

func (UnimplementedServerServiceServer) ToggleNodeStatus

func (UnimplementedServerServiceServer) UpdateNode

func (UnimplementedServerServiceServer) UpdateServer

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

Cause function returns cause value.

func (UpdateNodeDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeDataValidationError) ErrorName

func (e UpdateNodeDataValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateNodeDataValidationError) Field

Field function returns field value.

func (UpdateNodeDataValidationError) Key

Key function returns key value.

func (UpdateNodeDataValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateNodeReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeReplyValidationError) ErrorName

func (e UpdateNodeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateNodeReplyValidationError) Field

Field function returns field value.

func (UpdateNodeReplyValidationError) Key

Key function returns key value.

func (UpdateNodeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateNodeRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNodeRequestValidationError) Field

Field function returns field value.

func (UpdateNodeRequestValidationError) Key

Key function returns key value.

func (UpdateNodeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateServerDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateServerDataValidationError) ErrorName

ErrorName returns error name.

func (UpdateServerDataValidationError) Field

Field function returns field value.

func (UpdateServerDataValidationError) Key

Key function returns key value.

func (UpdateServerDataValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateServerReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateServerReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateServerReplyValidationError) Field

Field function returns field value.

func (UpdateServerReplyValidationError) Key

Key function returns key value.

func (UpdateServerReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateServerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateServerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateServerRequestValidationError) Field

Field function returns field value.

func (UpdateServerRequestValidationError) Key

Key function returns key value.

func (UpdateServerRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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