pb

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 8 Imported by: 13

Documentation

Index

Constants

View Source
const (
	Master_ServerSend_FullMethodName       = "/master.Master/ServerSend"
	Master_PullClientConfig_FullMethodName = "/master.Master/PullClientConfig"
	Master_PullServerConfig_FullMethodName = "/master.Master/PullServerConfig"
	Master_FRPCAuth_FullMethodName         = "/master.Master/FRPCAuth"
)

Variables

View Source
var (
	ClientStatus_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_ONLINE",
		2: "STATUS_OFFLINE",
		3: "STATUS_ERROR",
	}
	ClientStatus_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_ONLINE":      1,
		"STATUS_OFFLINE":     2,
		"STATUS_ERROR":       3,
	}
)

Enum value maps for ClientStatus_Status.

View Source
var (
	RespCode_name = map[int32]string{
		0: "RESP_CODE_UNSPECIFIED",
		1: "RESP_CODE_SUCCESS",
		2: "RESP_CODE_NOT_FOUND",
		3: "RESP_CODE_ALREADY_EXISTS",
		4: "RESP_CODE_INVALID",
		5: "RESP_CODE_FINISH",
		6: "RESP_CODE_UNAUTHORIZED",
	}
	RespCode_value = map[string]int32{
		"RESP_CODE_UNSPECIFIED":    0,
		"RESP_CODE_SUCCESS":        1,
		"RESP_CODE_NOT_FOUND":      2,
		"RESP_CODE_ALREADY_EXISTS": 3,
		"RESP_CODE_INVALID":        4,
		"RESP_CODE_FINISH":         5,
		"RESP_CODE_UNAUTHORIZED":   6,
	}
)

Enum value maps for RespCode.

View Source
var (
	ClientType_name = map[int32]string{
		0: "CLIENT_TYPE_UNSPECIFIED",
		1: "CLIENT_TYPE_FRPC",
		2: "CLIENT_TYPE_FRPS",
	}
	ClientType_value = map[string]int32{
		"CLIENT_TYPE_UNSPECIFIED": 0,
		"CLIENT_TYPE_FRPC":        1,
		"CLIENT_TYPE_FRPS":        2,
	}
)

Enum value maps for ClientType.

View Source
var (
	Event_name = map[int32]string{
		0:  "EVENT_UNSPECIFIED",
		1:  "EVENT_REGISTER_CLIENT",
		2:  "EVENT_REGISTER_SERVER",
		3:  "EVENT_ERROR",
		4:  "EVENT_DATA",
		5:  "EVENT_UPDATE_FRPC",
		6:  "EVENT_REMOVE_FRPC",
		7:  "EVENT_UPDATE_FRPS",
		8:  "EVENT_REMOVE_FRPS",
		9:  "EVENT_PING",
		10: "EVENT_PONG",
		11: "EVENT_STOP_FRPC",
		12: "EVENT_START_FRPC",
		13: "EVENT_STOP_FRPS",
		14: "EVENT_START_FRPS",
	}
	Event_value = map[string]int32{
		"EVENT_UNSPECIFIED":     0,
		"EVENT_REGISTER_CLIENT": 1,
		"EVENT_REGISTER_SERVER": 2,
		"EVENT_ERROR":           3,
		"EVENT_DATA":            4,
		"EVENT_UPDATE_FRPC":     5,
		"EVENT_REMOVE_FRPC":     6,
		"EVENT_UPDATE_FRPS":     7,
		"EVENT_REMOVE_FRPS":     8,
		"EVENT_PING":            9,
		"EVENT_PONG":            10,
		"EVENT_STOP_FRPC":       11,
		"EVENT_START_FRPC":      12,
		"EVENT_STOP_FRPS":       13,
		"EVENT_START_FRPS":      14,
	}
)

Enum value maps for Event.

View Source
var File_api_auth_proto protoreflect.FileDescriptor
View Source
var File_api_client_proto protoreflect.FileDescriptor
View Source
var File_api_master_proto protoreflect.FileDescriptor
View Source
var File_api_server_proto protoreflect.FileDescriptor
View Source
var File_api_user_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_rpc_master_proto protoreflect.FileDescriptor
View Source
var Master_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "master.Master",
	HandlerType: (*MasterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PullClientConfig",
			Handler:    _Master_PullClientConfig_Handler,
		},
		{
			MethodName: "PullServerConfig",
			Handler:    _Master_PullServerConfig_Handler,
		},
		{
			MethodName: "FRPCAuth",
			Handler:    _Master_FRPCAuth_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ServerSend",
			Handler:       _Master_ServerSend_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "rpc_master.proto",
}

Master_ServiceDesc is the grpc.ServiceDesc for Master service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMasterServer

func RegisterMasterServer(s grpc.ServiceRegistrar, srv MasterServer)

Types

type Client

type Client struct {
	Id       *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Secret   *string `protobuf:"bytes,2,opt,name=secret,proto3,oneof" json:"secret,omitempty"`
	Config   *string `protobuf:"bytes,3,opt,name=config,proto3,oneof" json:"config,omitempty"`
	Comment  *string `protobuf:"bytes,5,opt,name=comment,proto3,oneof" json:"comment,omitempty"` // 用户自定义的备注
	ServerId *string `protobuf:"bytes,6,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	Stopped  *bool   `protobuf:"varint,7,opt,name=stopped,proto3,oneof" json:"stopped,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

func (*Client) Descriptor() ([]byte, []int)

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetComment

func (x *Client) GetComment() string

func (*Client) GetConfig

func (x *Client) GetConfig() string

func (*Client) GetId

func (x *Client) GetId() string

func (*Client) GetSecret

func (x *Client) GetSecret() string

func (*Client) GetServerId

func (x *Client) GetServerId() string

func (*Client) GetStopped

func (x *Client) GetStopped() bool

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

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

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

type ClientBase

type ClientBase struct {
	ClientId     string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientBase) Descriptor deprecated

func (*ClientBase) Descriptor() ([]byte, []int)

Deprecated: Use ClientBase.ProtoReflect.Descriptor instead.

func (*ClientBase) GetClientId

func (x *ClientBase) GetClientId() string

func (*ClientBase) GetClientSecret

func (x *ClientBase) GetClientSecret() string

func (*ClientBase) ProtoMessage

func (*ClientBase) ProtoMessage()

func (*ClientBase) ProtoReflect

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

func (*ClientBase) Reset

func (x *ClientBase) Reset()

func (*ClientBase) String

func (x *ClientBase) String() string

type ClientMessage

type ClientMessage struct {
	Event     Event  `protobuf:"varint,1,opt,name=event,proto3,enum=master.Event" json:"event,omitempty"`
	ClientId  string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Secret    string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Data      []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientMessage) Descriptor deprecated

func (*ClientMessage) Descriptor() ([]byte, []int)

Deprecated: Use ClientMessage.ProtoReflect.Descriptor instead.

func (*ClientMessage) GetClientId

func (x *ClientMessage) GetClientId() string

func (*ClientMessage) GetData

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

func (*ClientMessage) GetEvent

func (x *ClientMessage) GetEvent() Event

func (*ClientMessage) GetSecret

func (x *ClientMessage) GetSecret() string

func (*ClientMessage) GetSessionId

func (x *ClientMessage) GetSessionId() string

func (*ClientMessage) ProtoMessage

func (*ClientMessage) ProtoMessage()

func (*ClientMessage) ProtoReflect

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

func (*ClientMessage) Reset

func (x *ClientMessage) Reset()

func (*ClientMessage) String

func (x *ClientMessage) String() string

type ClientStatus

type ClientStatus struct {
	ClientType ClientType          `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
	ClientId   string              `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Status     ClientStatus_Status `protobuf:"varint,3,opt,name=status,proto3,enum=api_master.ClientStatus_Status" json:"status,omitempty"`
	Ping       int32               `protobuf:"varint,4,opt,name=ping,proto3" json:"ping,omitempty"` // 单位为毫秒
	// contains filtered or unexported fields
}

func (*ClientStatus) Descriptor deprecated

func (*ClientStatus) Descriptor() ([]byte, []int)

Deprecated: Use ClientStatus.ProtoReflect.Descriptor instead.

func (*ClientStatus) GetClientId

func (x *ClientStatus) GetClientId() string

func (*ClientStatus) GetClientType

func (x *ClientStatus) GetClientType() ClientType

func (*ClientStatus) GetPing

func (x *ClientStatus) GetPing() int32

func (*ClientStatus) GetStatus

func (x *ClientStatus) GetStatus() ClientStatus_Status

func (*ClientStatus) ProtoMessage

func (*ClientStatus) ProtoMessage()

func (*ClientStatus) ProtoReflect

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

func (*ClientStatus) Reset

func (x *ClientStatus) Reset()

func (*ClientStatus) String

func (x *ClientStatus) String() string

type ClientStatus_Status

type ClientStatus_Status int32
const (
	ClientStatus_STATUS_UNSPECIFIED ClientStatus_Status = 0
	ClientStatus_STATUS_ONLINE      ClientStatus_Status = 1
	ClientStatus_STATUS_OFFLINE     ClientStatus_Status = 2
	ClientStatus_STATUS_ERROR       ClientStatus_Status = 3
)

func (ClientStatus_Status) Descriptor

func (ClientStatus_Status) Enum

func (ClientStatus_Status) EnumDescriptor deprecated

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

Deprecated: Use ClientStatus_Status.Descriptor instead.

func (ClientStatus_Status) Number

func (ClientStatus_Status) String

func (x ClientStatus_Status) String() string

func (ClientStatus_Status) Type

type ClientType

type ClientType int32
const (
	ClientType_CLIENT_TYPE_UNSPECIFIED ClientType = 0
	ClientType_CLIENT_TYPE_FRPC        ClientType = 1
	ClientType_CLIENT_TYPE_FRPS        ClientType = 2
)

func (ClientType) Descriptor

func (ClientType) Descriptor() protoreflect.EnumDescriptor

func (ClientType) Enum

func (x ClientType) Enum() *ClientType

func (ClientType) EnumDescriptor deprecated

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

Deprecated: Use ClientType.Descriptor instead.

func (ClientType) Number

func (x ClientType) Number() protoreflect.EnumNumber

func (ClientType) String

func (x ClientType) String() string

func (ClientType) Type

type CommonRequest

type CommonRequest struct {
	// contains filtered or unexported fields
}

func (*CommonRequest) Descriptor deprecated

func (*CommonRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommonRequest.ProtoReflect.Descriptor instead.

func (*CommonRequest) ProtoMessage

func (*CommonRequest) ProtoMessage()

func (*CommonRequest) ProtoReflect

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

func (*CommonRequest) Reset

func (x *CommonRequest) Reset()

func (*CommonRequest) String

func (x *CommonRequest) String() string

type CommonResponse

type CommonResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResponse) Descriptor deprecated

func (*CommonResponse) Descriptor() ([]byte, []int)

Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.

func (*CommonResponse) GetStatus

func (x *CommonResponse) GetStatus() *Status

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) ProtoReflect

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

func (*CommonResponse) Reset

func (x *CommonResponse) Reset()

func (*CommonResponse) String

func (x *CommonResponse) String() string

type DeleteClientRequest

type DeleteClientRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClientRequest) Descriptor deprecated

func (*DeleteClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.

func (*DeleteClientRequest) GetClientId

func (x *DeleteClientRequest) GetClientId() string

func (*DeleteClientRequest) ProtoMessage

func (*DeleteClientRequest) ProtoMessage()

func (*DeleteClientRequest) ProtoReflect

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

func (*DeleteClientRequest) Reset

func (x *DeleteClientRequest) Reset()

func (*DeleteClientRequest) String

func (x *DeleteClientRequest) String() string

type DeleteClientResponse

type DeleteClientResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClientResponse) Descriptor deprecated

func (*DeleteClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClientResponse.ProtoReflect.Descriptor instead.

func (*DeleteClientResponse) GetStatus

func (x *DeleteClientResponse) GetStatus() *Status

func (*DeleteClientResponse) ProtoMessage

func (*DeleteClientResponse) ProtoMessage()

func (*DeleteClientResponse) ProtoReflect

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

func (*DeleteClientResponse) Reset

func (x *DeleteClientResponse) Reset()

func (*DeleteClientResponse) String

func (x *DeleteClientResponse) String() string

type DeleteServerRequest

type DeleteServerRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServerRequest) Descriptor deprecated

func (*DeleteServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead.

func (*DeleteServerRequest) GetServerId

func (x *DeleteServerRequest) GetServerId() string

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

type DeleteServerResponse

type DeleteServerResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServerResponse) Descriptor deprecated

func (*DeleteServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServerResponse.ProtoReflect.Descriptor instead.

func (*DeleteServerResponse) GetStatus

func (x *DeleteServerResponse) GetStatus() *Status

func (*DeleteServerResponse) ProtoMessage

func (*DeleteServerResponse) ProtoMessage()

func (*DeleteServerResponse) ProtoReflect

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

func (*DeleteServerResponse) Reset

func (x *DeleteServerResponse) Reset()

func (*DeleteServerResponse) String

func (x *DeleteServerResponse) String() string

type Event

type Event int32
const (
	Event_EVENT_UNSPECIFIED     Event = 0
	Event_EVENT_REGISTER_CLIENT Event = 1
	Event_EVENT_REGISTER_SERVER Event = 2
	Event_EVENT_ERROR           Event = 3
	Event_EVENT_DATA            Event = 4
	Event_EVENT_UPDATE_FRPC     Event = 5
	Event_EVENT_REMOVE_FRPC     Event = 6
	Event_EVENT_UPDATE_FRPS     Event = 7
	Event_EVENT_REMOVE_FRPS     Event = 8
	Event_EVENT_PING            Event = 9
	Event_EVENT_PONG            Event = 10
	Event_EVENT_STOP_FRPC       Event = 11
	Event_EVENT_START_FRPC      Event = 12
	Event_EVENT_STOP_FRPS       Event = 13
	Event_EVENT_START_FRPS      Event = 14
)

func (Event) Descriptor

func (Event) Descriptor() protoreflect.EnumDescriptor

func (Event) Enum

func (x Event) Enum() *Event

func (Event) EnumDescriptor deprecated

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

Deprecated: Use Event.Descriptor instead.

func (Event) Number

func (x Event) Number() protoreflect.EnumNumber

func (Event) String

func (x Event) String() string

func (Event) Type

func (Event) Type() protoreflect.EnumType

type FRPAuthRequest

type FRPAuthRequest struct {
	User  string      `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Token string      `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Base  *ServerBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*FRPAuthRequest) Descriptor deprecated

func (*FRPAuthRequest) Descriptor() ([]byte, []int)

Deprecated: Use FRPAuthRequest.ProtoReflect.Descriptor instead.

func (*FRPAuthRequest) GetBase

func (x *FRPAuthRequest) GetBase() *ServerBase

func (*FRPAuthRequest) GetToken

func (x *FRPAuthRequest) GetToken() string

func (*FRPAuthRequest) GetUser

func (x *FRPAuthRequest) GetUser() string

func (*FRPAuthRequest) ProtoMessage

func (*FRPAuthRequest) ProtoMessage()

func (*FRPAuthRequest) ProtoReflect

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

func (*FRPAuthRequest) Reset

func (x *FRPAuthRequest) Reset()

func (*FRPAuthRequest) String

func (x *FRPAuthRequest) String() string

type FRPAuthResponse

type FRPAuthResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Ok     bool    `protobuf:"varint,2,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*FRPAuthResponse) Descriptor deprecated

func (*FRPAuthResponse) Descriptor() ([]byte, []int)

Deprecated: Use FRPAuthResponse.ProtoReflect.Descriptor instead.

func (*FRPAuthResponse) GetOk

func (x *FRPAuthResponse) GetOk() bool

func (*FRPAuthResponse) GetStatus

func (x *FRPAuthResponse) GetStatus() *Status

func (*FRPAuthResponse) ProtoMessage

func (*FRPAuthResponse) ProtoMessage()

func (*FRPAuthResponse) ProtoReflect

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

func (*FRPAuthResponse) Reset

func (x *FRPAuthResponse) Reset()

func (*FRPAuthResponse) String

func (x *FRPAuthResponse) String() string

type GetClientCertRequest

type GetClientCertRequest struct {
	ClientType   ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
	ClientId     string     `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string     `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientCertRequest) Descriptor deprecated

func (*GetClientCertRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClientCertRequest.ProtoReflect.Descriptor instead.

func (*GetClientCertRequest) GetClientId

func (x *GetClientCertRequest) GetClientId() string

func (*GetClientCertRequest) GetClientSecret

func (x *GetClientCertRequest) GetClientSecret() string

func (*GetClientCertRequest) GetClientType

func (x *GetClientCertRequest) GetClientType() ClientType

func (*GetClientCertRequest) ProtoMessage

func (*GetClientCertRequest) ProtoMessage()

func (*GetClientCertRequest) ProtoReflect

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

func (*GetClientCertRequest) Reset

func (x *GetClientCertRequest) Reset()

func (*GetClientCertRequest) String

func (x *GetClientCertRequest) String() string

type GetClientCertResponse

type GetClientCertResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Cert   []byte  `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientCertResponse) Descriptor deprecated

func (*GetClientCertResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetClientCertResponse.ProtoReflect.Descriptor instead.

func (*GetClientCertResponse) GetCert

func (x *GetClientCertResponse) GetCert() []byte

func (*GetClientCertResponse) GetStatus

func (x *GetClientCertResponse) GetStatus() *Status

func (*GetClientCertResponse) ProtoMessage

func (*GetClientCertResponse) ProtoMessage()

func (*GetClientCertResponse) ProtoReflect

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

func (*GetClientCertResponse) Reset

func (x *GetClientCertResponse) Reset()

func (*GetClientCertResponse) String

func (x *GetClientCertResponse) String() string

type GetClientRequest

type GetClientRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientRequest) Descriptor deprecated

func (*GetClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClientRequest.ProtoReflect.Descriptor instead.

func (*GetClientRequest) GetClientId

func (x *GetClientRequest) GetClientId() string

func (*GetClientRequest) ProtoMessage

func (*GetClientRequest) ProtoMessage()

func (*GetClientRequest) ProtoReflect

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

func (*GetClientRequest) Reset

func (x *GetClientRequest) Reset()

func (*GetClientRequest) String

func (x *GetClientRequest) String() string

type GetClientResponse

type GetClientResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Client *Client `protobuf:"bytes,2,opt,name=client,proto3,oneof" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientResponse) Descriptor deprecated

func (*GetClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetClientResponse.ProtoReflect.Descriptor instead.

func (*GetClientResponse) GetClient

func (x *GetClientResponse) GetClient() *Client

func (*GetClientResponse) GetStatus

func (x *GetClientResponse) GetStatus() *Status

func (*GetClientResponse) ProtoMessage

func (*GetClientResponse) ProtoMessage()

func (*GetClientResponse) ProtoReflect

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

func (*GetClientResponse) Reset

func (x *GetClientResponse) Reset()

func (*GetClientResponse) String

func (x *GetClientResponse) String() string

type GetClientsStatusRequest

type GetClientsStatusRequest struct {
	ClientType ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=common.ClientType" json:"client_type,omitempty"`
	ClientIds  []string   `protobuf:"bytes,2,rep,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientsStatusRequest) Descriptor deprecated

func (*GetClientsStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClientsStatusRequest.ProtoReflect.Descriptor instead.

func (*GetClientsStatusRequest) GetClientIds

func (x *GetClientsStatusRequest) GetClientIds() []string

func (*GetClientsStatusRequest) GetClientType

func (x *GetClientsStatusRequest) GetClientType() ClientType

func (*GetClientsStatusRequest) ProtoMessage

func (*GetClientsStatusRequest) ProtoMessage()

func (*GetClientsStatusRequest) ProtoReflect

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

func (*GetClientsStatusRequest) Reset

func (x *GetClientsStatusRequest) Reset()

func (*GetClientsStatusRequest) String

func (x *GetClientsStatusRequest) String() string

type GetClientsStatusResponse

type GetClientsStatusResponse struct {
	Status  *Status                  `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Clients map[string]*ClientStatus `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetClientsStatusResponse) Descriptor deprecated

func (*GetClientsStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetClientsStatusResponse.ProtoReflect.Descriptor instead.

func (*GetClientsStatusResponse) GetClients

func (x *GetClientsStatusResponse) GetClients() map[string]*ClientStatus

func (*GetClientsStatusResponse) GetStatus

func (x *GetClientsStatusResponse) GetStatus() *Status

func (*GetClientsStatusResponse) ProtoMessage

func (*GetClientsStatusResponse) ProtoMessage()

func (*GetClientsStatusResponse) ProtoReflect

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

func (*GetClientsStatusResponse) Reset

func (x *GetClientsStatusResponse) Reset()

func (*GetClientsStatusResponse) String

func (x *GetClientsStatusResponse) String() string

type GetPlatformInfoRequest

type GetPlatformInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetPlatformInfoRequest) Descriptor deprecated

func (*GetPlatformInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPlatformInfoRequest.ProtoReflect.Descriptor instead.

func (*GetPlatformInfoRequest) ProtoMessage

func (*GetPlatformInfoRequest) ProtoMessage()

func (*GetPlatformInfoRequest) ProtoReflect

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

func (*GetPlatformInfoRequest) Reset

func (x *GetPlatformInfoRequest) Reset()

func (*GetPlatformInfoRequest) String

func (x *GetPlatformInfoRequest) String() string

type GetPlatformInfoResponse

type GetPlatformInfoResponse struct {
	Status                  *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	TotalClientCount        int32   `protobuf:"varint,2,opt,name=total_client_count,json=totalClientCount,proto3" json:"total_client_count,omitempty"`
	TotalServerCount        int32   `protobuf:"varint,3,opt,name=total_server_count,json=totalServerCount,proto3" json:"total_server_count,omitempty"`
	UnconfiguredClientCount int32   `` /* 133-byte string literal not displayed */
	UnconfiguredServerCount int32   `` /* 133-byte string literal not displayed */
	ConfiguredClientCount   int32   `` /* 127-byte string literal not displayed */
	ConfiguredServerCount   int32   `` /* 127-byte string literal not displayed */
	GlobalSecret            string  `protobuf:"bytes,8,opt,name=global_secret,json=globalSecret,proto3" json:"global_secret,omitempty"`
	MasterRpcHost           string  `protobuf:"bytes,9,opt,name=master_rpc_host,json=masterRpcHost,proto3" json:"master_rpc_host,omitempty"`
	MasterRpcPort           int32   `protobuf:"varint,10,opt,name=master_rpc_port,json=masterRpcPort,proto3" json:"master_rpc_port,omitempty"`
	MasterApiPort           int32   `protobuf:"varint,11,opt,name=master_api_port,json=masterApiPort,proto3" json:"master_api_port,omitempty"`
	MasterApiScheme         string  `protobuf:"bytes,12,opt,name=master_api_scheme,json=masterApiScheme,proto3" json:"master_api_scheme,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPlatformInfoResponse) Descriptor deprecated

func (*GetPlatformInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPlatformInfoResponse.ProtoReflect.Descriptor instead.

func (*GetPlatformInfoResponse) GetConfiguredClientCount

func (x *GetPlatformInfoResponse) GetConfiguredClientCount() int32

func (*GetPlatformInfoResponse) GetConfiguredServerCount

func (x *GetPlatformInfoResponse) GetConfiguredServerCount() int32

func (*GetPlatformInfoResponse) GetGlobalSecret

func (x *GetPlatformInfoResponse) GetGlobalSecret() string

func (*GetPlatformInfoResponse) GetMasterApiPort

func (x *GetPlatformInfoResponse) GetMasterApiPort() int32

func (*GetPlatformInfoResponse) GetMasterApiScheme

func (x *GetPlatformInfoResponse) GetMasterApiScheme() string

func (*GetPlatformInfoResponse) GetMasterRpcHost

func (x *GetPlatformInfoResponse) GetMasterRpcHost() string

func (*GetPlatformInfoResponse) GetMasterRpcPort

func (x *GetPlatformInfoResponse) GetMasterRpcPort() int32

func (*GetPlatformInfoResponse) GetStatus

func (x *GetPlatformInfoResponse) GetStatus() *Status

func (*GetPlatformInfoResponse) GetTotalClientCount

func (x *GetPlatformInfoResponse) GetTotalClientCount() int32

func (*GetPlatformInfoResponse) GetTotalServerCount

func (x *GetPlatformInfoResponse) GetTotalServerCount() int32

func (*GetPlatformInfoResponse) GetUnconfiguredClientCount

func (x *GetPlatformInfoResponse) GetUnconfiguredClientCount() int32

func (*GetPlatformInfoResponse) GetUnconfiguredServerCount

func (x *GetPlatformInfoResponse) GetUnconfiguredServerCount() int32

func (*GetPlatformInfoResponse) ProtoMessage

func (*GetPlatformInfoResponse) ProtoMessage()

func (*GetPlatformInfoResponse) ProtoReflect

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

func (*GetPlatformInfoResponse) Reset

func (x *GetPlatformInfoResponse) Reset()

func (*GetPlatformInfoResponse) String

func (x *GetPlatformInfoResponse) String() string

type GetServerRequest

type GetServerRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerRequest) Descriptor deprecated

func (*GetServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerRequest.ProtoReflect.Descriptor instead.

func (*GetServerRequest) GetServerId

func (x *GetServerRequest) GetServerId() string

func (*GetServerRequest) ProtoMessage

func (*GetServerRequest) ProtoMessage()

func (*GetServerRequest) ProtoReflect

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

func (*GetServerRequest) Reset

func (x *GetServerRequest) Reset()

func (*GetServerRequest) String

func (x *GetServerRequest) String() string

type GetServerResponse

type GetServerResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Server *Server `protobuf:"bytes,2,opt,name=server,proto3,oneof" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerResponse) Descriptor deprecated

func (*GetServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServerResponse.ProtoReflect.Descriptor instead.

func (*GetServerResponse) GetServer

func (x *GetServerResponse) GetServer() *Server

func (*GetServerResponse) GetStatus

func (x *GetServerResponse) GetStatus() *Status

func (*GetServerResponse) ProtoMessage

func (*GetServerResponse) ProtoMessage()

func (*GetServerResponse) ProtoReflect

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

func (*GetServerResponse) Reset

func (x *GetServerResponse) Reset()

func (*GetServerResponse) String

func (x *GetServerResponse) String() string

type GetUserInfoRequest

type GetUserInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetUserInfoRequest) Descriptor deprecated

func (*GetUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoRequest) ProtoMessage

func (*GetUserInfoRequest) ProtoMessage()

func (*GetUserInfoRequest) ProtoReflect

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

func (*GetUserInfoRequest) Reset

func (x *GetUserInfoRequest) Reset()

func (*GetUserInfoRequest) String

func (x *GetUserInfoRequest) String() string

type GetUserInfoResponse

type GetUserInfoResponse struct {
	Status   *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	UserInfo *User   `protobuf:"bytes,2,opt,name=user_info,json=userInfo,proto3,oneof" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoResponse) Descriptor deprecated

func (*GetUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.

func (*GetUserInfoResponse) GetStatus

func (x *GetUserInfoResponse) GetStatus() *Status

func (*GetUserInfoResponse) GetUserInfo

func (x *GetUserInfoResponse) GetUserInfo() *User

func (*GetUserInfoResponse) ProtoMessage

func (*GetUserInfoResponse) ProtoMessage()

func (*GetUserInfoResponse) ProtoReflect

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

func (*GetUserInfoResponse) Reset

func (x *GetUserInfoResponse) Reset()

func (*GetUserInfoResponse) String

func (x *GetUserInfoResponse) String() string

type InitClientRequest

type InitClientRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitClientRequest) Descriptor deprecated

func (*InitClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitClientRequest.ProtoReflect.Descriptor instead.

func (*InitClientRequest) GetClientId

func (x *InitClientRequest) GetClientId() string

func (*InitClientRequest) ProtoMessage

func (*InitClientRequest) ProtoMessage()

func (*InitClientRequest) ProtoReflect

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

func (*InitClientRequest) Reset

func (x *InitClientRequest) Reset()

func (*InitClientRequest) String

func (x *InitClientRequest) String() string

type InitClientResponse

type InitClientResponse struct {
	Status   *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	ClientId *string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitClientResponse) Descriptor deprecated

func (*InitClientResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitClientResponse.ProtoReflect.Descriptor instead.

func (*InitClientResponse) GetClientId

func (x *InitClientResponse) GetClientId() string

func (*InitClientResponse) GetStatus

func (x *InitClientResponse) GetStatus() *Status

func (*InitClientResponse) ProtoMessage

func (*InitClientResponse) ProtoMessage()

func (*InitClientResponse) ProtoReflect

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

func (*InitClientResponse) Reset

func (x *InitClientResponse) Reset()

func (*InitClientResponse) String

func (x *InitClientResponse) String() string

type InitServerRequest

type InitServerRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	ServerIp *string `protobuf:"bytes,2,opt,name=server_ip,json=serverIp,proto3,oneof" json:"server_ip,omitempty"`
	Comment  *string `protobuf:"bytes,3,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*InitServerRequest) Descriptor deprecated

func (*InitServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitServerRequest.ProtoReflect.Descriptor instead.

func (*InitServerRequest) GetComment

func (x *InitServerRequest) GetComment() string

func (*InitServerRequest) GetServerId

func (x *InitServerRequest) GetServerId() string

func (*InitServerRequest) GetServerIp

func (x *InitServerRequest) GetServerIp() string

func (*InitServerRequest) ProtoMessage

func (*InitServerRequest) ProtoMessage()

func (*InitServerRequest) ProtoReflect

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

func (*InitServerRequest) Reset

func (x *InitServerRequest) Reset()

func (*InitServerRequest) String

func (x *InitServerRequest) String() string

type InitServerResponse

type InitServerResponse struct {
	Status   *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitServerResponse) Descriptor deprecated

func (*InitServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitServerResponse.ProtoReflect.Descriptor instead.

func (*InitServerResponse) GetServerId

func (x *InitServerResponse) GetServerId() string

func (*InitServerResponse) GetStatus

func (x *InitServerResponse) GetStatus() *Status

func (*InitServerResponse) ProtoMessage

func (*InitServerResponse) ProtoMessage()

func (*InitServerResponse) ProtoReflect

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

func (*InitServerResponse) Reset

func (x *InitServerResponse) Reset()

func (*InitServerResponse) String

func (x *InitServerResponse) String() string

type ListClientsRequest

type ListClientsRequest struct {
	Page     *int32  `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"`
	PageSize *int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
	Keyword  *string `protobuf:"bytes,3,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClientsRequest) Descriptor deprecated

func (*ListClientsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClientsRequest.ProtoReflect.Descriptor instead.

func (*ListClientsRequest) GetKeyword added in v0.0.24

func (x *ListClientsRequest) GetKeyword() string

func (*ListClientsRequest) GetPage

func (x *ListClientsRequest) GetPage() int32

func (*ListClientsRequest) GetPageSize

func (x *ListClientsRequest) GetPageSize() int32

func (*ListClientsRequest) ProtoMessage

func (*ListClientsRequest) ProtoMessage()

func (*ListClientsRequest) ProtoReflect

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

func (*ListClientsRequest) Reset

func (x *ListClientsRequest) Reset()

func (*ListClientsRequest) String

func (x *ListClientsRequest) String() string

type ListClientsResponse

type ListClientsResponse struct {
	Status  *Status   `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Total   *int32    `protobuf:"varint,2,opt,name=total,proto3,oneof" json:"total,omitempty"`
	Clients []*Client `protobuf:"bytes,3,rep,name=clients,proto3" json:"clients,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClientsResponse) Descriptor deprecated

func (*ListClientsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClientsResponse.ProtoReflect.Descriptor instead.

func (*ListClientsResponse) GetClients

func (x *ListClientsResponse) GetClients() []*Client

func (*ListClientsResponse) GetStatus

func (x *ListClientsResponse) GetStatus() *Status

func (*ListClientsResponse) GetTotal

func (x *ListClientsResponse) GetTotal() int32

func (*ListClientsResponse) ProtoMessage

func (*ListClientsResponse) ProtoMessage()

func (*ListClientsResponse) ProtoReflect

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

func (*ListClientsResponse) Reset

func (x *ListClientsResponse) Reset()

func (*ListClientsResponse) String

func (x *ListClientsResponse) String() string

type ListServersRequest

type ListServersRequest struct {
	Page     *int32  `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"`
	PageSize *int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
	Keyword  *string `protobuf:"bytes,3,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServersRequest) Descriptor deprecated

func (*ListServersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServersRequest.ProtoReflect.Descriptor instead.

func (*ListServersRequest) GetKeyword added in v0.0.24

func (x *ListServersRequest) GetKeyword() string

func (*ListServersRequest) GetPage

func (x *ListServersRequest) GetPage() int32

func (*ListServersRequest) GetPageSize

func (x *ListServersRequest) GetPageSize() int32

func (*ListServersRequest) ProtoMessage

func (*ListServersRequest) ProtoMessage()

func (*ListServersRequest) ProtoReflect

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

func (*ListServersRequest) Reset

func (x *ListServersRequest) Reset()

func (*ListServersRequest) String

func (x *ListServersRequest) String() string

type ListServersResponse

type ListServersResponse struct {
	Status  *Status   `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Total   *int32    `protobuf:"varint,2,opt,name=total,proto3,oneof" json:"total,omitempty"`
	Servers []*Server `protobuf:"bytes,3,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServersResponse) Descriptor deprecated

func (*ListServersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServersResponse.ProtoReflect.Descriptor instead.

func (*ListServersResponse) GetServers

func (x *ListServersResponse) GetServers() []*Server

func (*ListServersResponse) GetStatus

func (x *ListServersResponse) GetStatus() *Status

func (*ListServersResponse) GetTotal

func (x *ListServersResponse) GetTotal() int32

func (*ListServersResponse) ProtoMessage

func (*ListServersResponse) ProtoMessage()

func (*ListServersResponse) ProtoReflect

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

func (*ListServersResponse) Reset

func (x *ListServersResponse) Reset()

func (*ListServersResponse) String

func (x *ListServersResponse) String() string

type LoginRequest

type LoginRequest struct {
	Username *string `protobuf:"bytes,1,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password *string `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Token  *string `protobuf:"bytes,2,opt,name=token,proto3,oneof" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetStatus

func (x *LoginResponse) GetStatus() *Status

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type MasterClient

type MasterClient interface {
	ServerSend(ctx context.Context, opts ...grpc.CallOption) (Master_ServerSendClient, error)
	PullClientConfig(ctx context.Context, in *PullClientConfigReq, opts ...grpc.CallOption) (*PullClientConfigResp, error)
	PullServerConfig(ctx context.Context, in *PullServerConfigReq, opts ...grpc.CallOption) (*PullServerConfigResp, error)
	FRPCAuth(ctx context.Context, in *FRPAuthRequest, opts ...grpc.CallOption) (*FRPAuthResponse, error)
}

MasterClient is the client API for Master service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterClient

func NewMasterClient(cc grpc.ClientConnInterface) MasterClient

type MasterServer

type MasterServer interface {
	ServerSend(Master_ServerSendServer) error
	PullClientConfig(context.Context, *PullClientConfigReq) (*PullClientConfigResp, error)
	PullServerConfig(context.Context, *PullServerConfigReq) (*PullServerConfigResp, error)
	FRPCAuth(context.Context, *FRPAuthRequest) (*FRPAuthResponse, error)
	// contains filtered or unexported methods
}

MasterServer is the server API for Master service. All implementations must embed UnimplementedMasterServer for forward compatibility

type Master_ServerSendClient

type Master_ServerSendClient interface {
	Send(*ClientMessage) error
	Recv() (*ServerMessage, error)
	grpc.ClientStream
}

type Master_ServerSendServer

type Master_ServerSendServer interface {
	Send(*ServerMessage) error
	Recv() (*ClientMessage, error)
	grpc.ServerStream
}

type PullClientConfigReq

type PullClientConfigReq struct {
	Base *ClientBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*PullClientConfigReq) Descriptor deprecated

func (*PullClientConfigReq) Descriptor() ([]byte, []int)

Deprecated: Use PullClientConfigReq.ProtoReflect.Descriptor instead.

func (*PullClientConfigReq) GetBase

func (x *PullClientConfigReq) GetBase() *ClientBase

func (*PullClientConfigReq) ProtoMessage

func (*PullClientConfigReq) ProtoMessage()

func (*PullClientConfigReq) ProtoReflect

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

func (*PullClientConfigReq) Reset

func (x *PullClientConfigReq) Reset()

func (*PullClientConfigReq) String

func (x *PullClientConfigReq) String() string

type PullClientConfigResp

type PullClientConfigResp struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Client *Client `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*PullClientConfigResp) Descriptor deprecated

func (*PullClientConfigResp) Descriptor() ([]byte, []int)

Deprecated: Use PullClientConfigResp.ProtoReflect.Descriptor instead.

func (*PullClientConfigResp) GetClient

func (x *PullClientConfigResp) GetClient() *Client

func (*PullClientConfigResp) GetStatus

func (x *PullClientConfigResp) GetStatus() *Status

func (*PullClientConfigResp) ProtoMessage

func (*PullClientConfigResp) ProtoMessage()

func (*PullClientConfigResp) ProtoReflect

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

func (*PullClientConfigResp) Reset

func (x *PullClientConfigResp) Reset()

func (*PullClientConfigResp) String

func (x *PullClientConfigResp) String() string

type PullServerConfigReq

type PullServerConfigReq struct {
	Base *ServerBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServerConfigReq) Descriptor deprecated

func (*PullServerConfigReq) Descriptor() ([]byte, []int)

Deprecated: Use PullServerConfigReq.ProtoReflect.Descriptor instead.

func (*PullServerConfigReq) GetBase

func (x *PullServerConfigReq) GetBase() *ServerBase

func (*PullServerConfigReq) ProtoMessage

func (*PullServerConfigReq) ProtoMessage()

func (*PullServerConfigReq) ProtoReflect

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

func (*PullServerConfigReq) Reset

func (x *PullServerConfigReq) Reset()

func (*PullServerConfigReq) String

func (x *PullServerConfigReq) String() string

type PullServerConfigResp

type PullServerConfigResp struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Server *Server `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServerConfigResp) Descriptor deprecated

func (*PullServerConfigResp) Descriptor() ([]byte, []int)

Deprecated: Use PullServerConfigResp.ProtoReflect.Descriptor instead.

func (*PullServerConfigResp) GetServer

func (x *PullServerConfigResp) GetServer() *Server

func (*PullServerConfigResp) GetStatus

func (x *PullServerConfigResp) GetStatus() *Status

func (*PullServerConfigResp) ProtoMessage

func (*PullServerConfigResp) ProtoMessage()

func (*PullServerConfigResp) ProtoReflect

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

func (*PullServerConfigResp) Reset

func (x *PullServerConfigResp) Reset()

func (*PullServerConfigResp) String

func (x *PullServerConfigResp) String() string

type RegisterRequest

type RegisterRequest struct {
	Username *string `protobuf:"bytes,1,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password *string `protobuf:"bytes,2,opt,name=password,proto3,oneof" json:"password,omitempty"`
	Email    *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

func (*RegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetStatus

func (x *RegisterResponse) GetStatus() *Status

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type RemoveFRPCRequest

type RemoveFRPCRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFRPCRequest) Descriptor deprecated

func (*RemoveFRPCRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFRPCRequest.ProtoReflect.Descriptor instead.

func (*RemoveFRPCRequest) GetClientId

func (x *RemoveFRPCRequest) GetClientId() string

func (*RemoveFRPCRequest) ProtoMessage

func (*RemoveFRPCRequest) ProtoMessage()

func (*RemoveFRPCRequest) ProtoReflect

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

func (*RemoveFRPCRequest) Reset

func (x *RemoveFRPCRequest) Reset()

func (*RemoveFRPCRequest) String

func (x *RemoveFRPCRequest) String() string

type RemoveFRPCResponse

type RemoveFRPCResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFRPCResponse) Descriptor deprecated

func (*RemoveFRPCResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFRPCResponse.ProtoReflect.Descriptor instead.

func (*RemoveFRPCResponse) GetStatus

func (x *RemoveFRPCResponse) GetStatus() *Status

func (*RemoveFRPCResponse) ProtoMessage

func (*RemoveFRPCResponse) ProtoMessage()

func (*RemoveFRPCResponse) ProtoReflect

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

func (*RemoveFRPCResponse) Reset

func (x *RemoveFRPCResponse) Reset()

func (*RemoveFRPCResponse) String

func (x *RemoveFRPCResponse) String() string

type RemoveFRPSRequest

type RemoveFRPSRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFRPSRequest) Descriptor deprecated

func (*RemoveFRPSRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFRPSRequest.ProtoReflect.Descriptor instead.

func (*RemoveFRPSRequest) GetServerId

func (x *RemoveFRPSRequest) GetServerId() string

func (*RemoveFRPSRequest) ProtoMessage

func (*RemoveFRPSRequest) ProtoMessage()

func (*RemoveFRPSRequest) ProtoReflect

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

func (*RemoveFRPSRequest) Reset

func (x *RemoveFRPSRequest) Reset()

func (*RemoveFRPSRequest) String

func (x *RemoveFRPSRequest) String() string

type RemoveFRPSResponse

type RemoveFRPSResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFRPSResponse) Descriptor deprecated

func (*RemoveFRPSResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveFRPSResponse.ProtoReflect.Descriptor instead.

func (*RemoveFRPSResponse) GetStatus

func (x *RemoveFRPSResponse) GetStatus() *Status

func (*RemoveFRPSResponse) ProtoMessage

func (*RemoveFRPSResponse) ProtoMessage()

func (*RemoveFRPSResponse) ProtoReflect

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

func (*RemoveFRPSResponse) Reset

func (x *RemoveFRPSResponse) Reset()

func (*RemoveFRPSResponse) String

func (x *RemoveFRPSResponse) String() string

type RespCode

type RespCode int32
const (
	RespCode_RESP_CODE_UNSPECIFIED    RespCode = 0
	RespCode_RESP_CODE_SUCCESS        RespCode = 1
	RespCode_RESP_CODE_NOT_FOUND      RespCode = 2
	RespCode_RESP_CODE_ALREADY_EXISTS RespCode = 3
	RespCode_RESP_CODE_INVALID        RespCode = 4
	RespCode_RESP_CODE_FINISH         RespCode = 5
	RespCode_RESP_CODE_UNAUTHORIZED   RespCode = 6
)

func (RespCode) Descriptor

func (RespCode) Descriptor() protoreflect.EnumDescriptor

func (RespCode) Enum

func (x RespCode) Enum() *RespCode

func (RespCode) EnumDescriptor deprecated

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

Deprecated: Use RespCode.Descriptor instead.

func (RespCode) Number

func (x RespCode) Number() protoreflect.EnumNumber

func (RespCode) String

func (x RespCode) String() string

func (RespCode) Type

type Server

type Server struct {
	Id      *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Secret  *string `protobuf:"bytes,2,opt,name=secret,proto3,oneof" json:"secret,omitempty"`
	Ip      *string `protobuf:"bytes,3,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	Config  *string `protobuf:"bytes,4,opt,name=config,proto3,oneof" json:"config,omitempty"`   // 在定义上,ip和port只是为了方便使用
	Comment *string `protobuf:"bytes,5,opt,name=comment,proto3,oneof" json:"comment,omitempty"` // 用户自定义的备注
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

func (*Server) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetComment

func (x *Server) GetComment() string

func (*Server) GetConfig

func (x *Server) GetConfig() string

func (*Server) GetId

func (x *Server) GetId() string

func (*Server) GetIp

func (x *Server) GetIp() string

func (*Server) GetSecret

func (x *Server) GetSecret() string

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

type ServerBase

type ServerBase struct {
	ServerId     string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	ServerSecret string `protobuf:"bytes,2,opt,name=server_secret,json=serverSecret,proto3" json:"server_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerBase) Descriptor deprecated

func (*ServerBase) Descriptor() ([]byte, []int)

Deprecated: Use ServerBase.ProtoReflect.Descriptor instead.

func (*ServerBase) GetServerId

func (x *ServerBase) GetServerId() string

func (*ServerBase) GetServerSecret

func (x *ServerBase) GetServerSecret() string

func (*ServerBase) ProtoMessage

func (*ServerBase) ProtoMessage()

func (*ServerBase) ProtoReflect

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

func (*ServerBase) Reset

func (x *ServerBase) Reset()

func (*ServerBase) String

func (x *ServerBase) String() string

type ServerMessage

type ServerMessage struct {
	Event     Event  `protobuf:"varint,1,opt,name=event,proto3,enum=master.Event" json:"event,omitempty"`
	ClientId  string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Data      []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerMessage) Descriptor deprecated

func (*ServerMessage) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.

func (*ServerMessage) GetClientId

func (x *ServerMessage) GetClientId() string

func (*ServerMessage) GetData

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

func (*ServerMessage) GetEvent

func (x *ServerMessage) GetEvent() Event

func (*ServerMessage) GetSessionId

func (x *ServerMessage) GetSessionId() string

func (*ServerMessage) ProtoMessage

func (*ServerMessage) ProtoMessage()

func (*ServerMessage) ProtoReflect

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

func (*ServerMessage) Reset

func (x *ServerMessage) Reset()

func (*ServerMessage) String

func (x *ServerMessage) String() string

type StartFRPCRequest

type StartFRPCRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFRPCRequest) Descriptor deprecated

func (*StartFRPCRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartFRPCRequest.ProtoReflect.Descriptor instead.

func (*StartFRPCRequest) GetClientId

func (x *StartFRPCRequest) GetClientId() string

func (*StartFRPCRequest) ProtoMessage

func (*StartFRPCRequest) ProtoMessage()

func (*StartFRPCRequest) ProtoReflect

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

func (*StartFRPCRequest) Reset

func (x *StartFRPCRequest) Reset()

func (*StartFRPCRequest) String

func (x *StartFRPCRequest) String() string

type StartFRPCResponse

type StartFRPCResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFRPCResponse) Descriptor deprecated

func (*StartFRPCResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartFRPCResponse.ProtoReflect.Descriptor instead.

func (*StartFRPCResponse) GetStatus

func (x *StartFRPCResponse) GetStatus() *Status

func (*StartFRPCResponse) ProtoMessage

func (*StartFRPCResponse) ProtoMessage()

func (*StartFRPCResponse) ProtoReflect

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

func (*StartFRPCResponse) Reset

func (x *StartFRPCResponse) Reset()

func (*StartFRPCResponse) String

func (x *StartFRPCResponse) String() string

type StartFRPSRequest

type StartFRPSRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFRPSRequest) Descriptor deprecated

func (*StartFRPSRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartFRPSRequest.ProtoReflect.Descriptor instead.

func (*StartFRPSRequest) GetServerId

func (x *StartFRPSRequest) GetServerId() string

func (*StartFRPSRequest) ProtoMessage

func (*StartFRPSRequest) ProtoMessage()

func (*StartFRPSRequest) ProtoReflect

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

func (*StartFRPSRequest) Reset

func (x *StartFRPSRequest) Reset()

func (*StartFRPSRequest) String

func (x *StartFRPSRequest) String() string

type StartFRPSResponse

type StartFRPSResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StartFRPSResponse) Descriptor deprecated

func (*StartFRPSResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartFRPSResponse.ProtoReflect.Descriptor instead.

func (*StartFRPSResponse) GetStatus

func (x *StartFRPSResponse) GetStatus() *Status

func (*StartFRPSResponse) ProtoMessage

func (*StartFRPSResponse) ProtoMessage()

func (*StartFRPSResponse) ProtoReflect

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

func (*StartFRPSResponse) Reset

func (x *StartFRPSResponse) Reset()

func (*StartFRPSResponse) String

func (x *StartFRPSResponse) String() string

type Status

type Status struct {
	Code    RespCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.RespCode" json:"code,omitempty"`
	Message string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() RespCode

func (*Status) GetMessage

func (x *Status) GetMessage() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StopFRPCRequest

type StopFRPCRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopFRPCRequest) Descriptor deprecated

func (*StopFRPCRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopFRPCRequest.ProtoReflect.Descriptor instead.

func (*StopFRPCRequest) GetClientId

func (x *StopFRPCRequest) GetClientId() string

func (*StopFRPCRequest) ProtoMessage

func (*StopFRPCRequest) ProtoMessage()

func (*StopFRPCRequest) ProtoReflect

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

func (*StopFRPCRequest) Reset

func (x *StopFRPCRequest) Reset()

func (*StopFRPCRequest) String

func (x *StopFRPCRequest) String() string

type StopFRPCResponse

type StopFRPCResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StopFRPCResponse) Descriptor deprecated

func (*StopFRPCResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopFRPCResponse.ProtoReflect.Descriptor instead.

func (*StopFRPCResponse) GetStatus

func (x *StopFRPCResponse) GetStatus() *Status

func (*StopFRPCResponse) ProtoMessage

func (*StopFRPCResponse) ProtoMessage()

func (*StopFRPCResponse) ProtoReflect

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

func (*StopFRPCResponse) Reset

func (x *StopFRPCResponse) Reset()

func (*StopFRPCResponse) String

func (x *StopFRPCResponse) String() string

type StopFRPSRequest

type StopFRPSRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopFRPSRequest) Descriptor deprecated

func (*StopFRPSRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopFRPSRequest.ProtoReflect.Descriptor instead.

func (*StopFRPSRequest) GetServerId

func (x *StopFRPSRequest) GetServerId() string

func (*StopFRPSRequest) ProtoMessage

func (*StopFRPSRequest) ProtoMessage()

func (*StopFRPSRequest) ProtoReflect

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

func (*StopFRPSRequest) Reset

func (x *StopFRPSRequest) Reset()

func (*StopFRPSRequest) String

func (x *StopFRPSRequest) String() string

type StopFRPSResponse

type StopFRPSResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*StopFRPSResponse) Descriptor deprecated

func (*StopFRPSResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopFRPSResponse.ProtoReflect.Descriptor instead.

func (*StopFRPSResponse) GetStatus

func (x *StopFRPSResponse) GetStatus() *Status

func (*StopFRPSResponse) ProtoMessage

func (*StopFRPSResponse) ProtoMessage()

func (*StopFRPSResponse) ProtoReflect

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

func (*StopFRPSResponse) Reset

func (x *StopFRPSResponse) Reset()

func (*StopFRPSResponse) String

func (x *StopFRPSResponse) String() string

type UnimplementedMasterServer

type UnimplementedMasterServer struct {
}

UnimplementedMasterServer must be embedded to have forward compatible implementations.

func (UnimplementedMasterServer) FRPCAuth

func (UnimplementedMasterServer) PullClientConfig

func (UnimplementedMasterServer) PullServerConfig

func (UnimplementedMasterServer) ServerSend

type UnsafeMasterServer

type UnsafeMasterServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterServer will result in compilation errors.

type UpdateFRPCRequest

type UpdateFRPCRequest struct {
	ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	Config   []byte  `protobuf:"bytes,3,opt,name=config,proto3,oneof" json:"config,omitempty"`
	Comment  *string `protobuf:"bytes,4,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFRPCRequest) Descriptor deprecated

func (*UpdateFRPCRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFRPCRequest.ProtoReflect.Descriptor instead.

func (*UpdateFRPCRequest) GetClientId

func (x *UpdateFRPCRequest) GetClientId() string

func (*UpdateFRPCRequest) GetComment

func (x *UpdateFRPCRequest) GetComment() string

func (*UpdateFRPCRequest) GetConfig

func (x *UpdateFRPCRequest) GetConfig() []byte

func (*UpdateFRPCRequest) GetServerId

func (x *UpdateFRPCRequest) GetServerId() string

func (*UpdateFRPCRequest) ProtoMessage

func (*UpdateFRPCRequest) ProtoMessage()

func (*UpdateFRPCRequest) ProtoReflect

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

func (*UpdateFRPCRequest) Reset

func (x *UpdateFRPCRequest) Reset()

func (*UpdateFRPCRequest) String

func (x *UpdateFRPCRequest) String() string

type UpdateFRPCResponse

type UpdateFRPCResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFRPCResponse) Descriptor deprecated

func (*UpdateFRPCResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFRPCResponse.ProtoReflect.Descriptor instead.

func (*UpdateFRPCResponse) GetStatus

func (x *UpdateFRPCResponse) GetStatus() *Status

func (*UpdateFRPCResponse) ProtoMessage

func (*UpdateFRPCResponse) ProtoMessage()

func (*UpdateFRPCResponse) ProtoReflect

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

func (*UpdateFRPCResponse) Reset

func (x *UpdateFRPCResponse) Reset()

func (*UpdateFRPCResponse) String

func (x *UpdateFRPCResponse) String() string

type UpdateFRPSRequest

type UpdateFRPSRequest struct {
	ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	Config   []byte  `protobuf:"bytes,2,opt,name=config,proto3,oneof" json:"config,omitempty"`
	Comment  *string `protobuf:"bytes,3,opt,name=comment,proto3,oneof" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFRPSRequest) Descriptor deprecated

func (*UpdateFRPSRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFRPSRequest.ProtoReflect.Descriptor instead.

func (*UpdateFRPSRequest) GetComment

func (x *UpdateFRPSRequest) GetComment() string

func (*UpdateFRPSRequest) GetConfig

func (x *UpdateFRPSRequest) GetConfig() []byte

func (*UpdateFRPSRequest) GetServerId

func (x *UpdateFRPSRequest) GetServerId() string

func (*UpdateFRPSRequest) ProtoMessage

func (*UpdateFRPSRequest) ProtoMessage()

func (*UpdateFRPSRequest) ProtoReflect

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

func (*UpdateFRPSRequest) Reset

func (x *UpdateFRPSRequest) Reset()

func (*UpdateFRPSRequest) String

func (x *UpdateFRPSRequest) String() string

type UpdateFRPSResponse

type UpdateFRPSResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFRPSResponse) Descriptor deprecated

func (*UpdateFRPSResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFRPSResponse.ProtoReflect.Descriptor instead.

func (*UpdateFRPSResponse) GetStatus

func (x *UpdateFRPSResponse) GetStatus() *Status

func (*UpdateFRPSResponse) ProtoMessage

func (*UpdateFRPSResponse) ProtoMessage()

func (*UpdateFRPSResponse) ProtoReflect

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

func (*UpdateFRPSResponse) Reset

func (x *UpdateFRPSResponse) Reset()

func (*UpdateFRPSResponse) String

func (x *UpdateFRPSResponse) String() string

type UpdateUserInfoRequest

type UpdateUserInfoRequest struct {
	UserInfo *User `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3,oneof" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoRequest) Descriptor deprecated

func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoRequest) GetUserInfo

func (x *UpdateUserInfoRequest) GetUserInfo() *User

func (*UpdateUserInfoRequest) ProtoMessage

func (*UpdateUserInfoRequest) ProtoMessage()

func (*UpdateUserInfoRequest) ProtoReflect

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

func (*UpdateUserInfoRequest) Reset

func (x *UpdateUserInfoRequest) Reset()

func (*UpdateUserInfoRequest) String

func (x *UpdateUserInfoRequest) String() string

type UpdateUserInfoResponse

type UpdateUserInfoResponse struct {
	Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoResponse) Descriptor deprecated

func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoResponse) GetStatus

func (x *UpdateUserInfoResponse) GetStatus() *Status

func (*UpdateUserInfoResponse) ProtoMessage

func (*UpdateUserInfoResponse) ProtoMessage()

func (*UpdateUserInfoResponse) ProtoReflect

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

func (*UpdateUserInfoResponse) Reset

func (x *UpdateUserInfoResponse) Reset()

func (*UpdateUserInfoResponse) String

func (x *UpdateUserInfoResponse) String() string

type User

type User struct {
	UserID      *int64  `protobuf:"varint,1,opt,name=UserID,proto3,oneof" json:"UserID,omitempty"`
	TenantID    *int64  `protobuf:"varint,2,opt,name=TenantID,proto3,oneof" json:"TenantID,omitempty"`
	UserName    *string `protobuf:"bytes,3,opt,name=UserName,proto3,oneof" json:"UserName,omitempty"`
	Email       *string `protobuf:"bytes,4,opt,name=Email,proto3,oneof" json:"Email,omitempty"`
	Status      *string `protobuf:"bytes,5,opt,name=Status,proto3,oneof" json:"Status,omitempty"`
	Role        *string `protobuf:"bytes,6,opt,name=Role,proto3,oneof" json:"Role,omitempty"`
	Token       *string `protobuf:"bytes,7,opt,name=Token,proto3,oneof" json:"Token,omitempty"`
	RawPassword *string `protobuf:"bytes,8,opt,name=RawPassword,proto3,oneof" json:"RawPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetRawPassword

func (x *User) GetRawPassword() string

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetStatus

func (x *User) GetStatus() string

func (*User) GetTenantID

func (x *User) GetTenantID() int64

func (*User) GetToken

func (x *User) GetToken() string

func (*User) GetUserID

func (x *User) GetUserID() int64

func (*User) GetUserName

func (x *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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