Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMasterServer(s grpc.ServiceRegistrar, srv MasterServer)
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetComment() string
- func (x *Client) GetConfig() string
- func (x *Client) GetId() string
- func (x *Client) GetSecret() string
- func (x *Client) GetServerId() string
- func (x *Client) GetStopped() bool
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type ClientBase
- func (*ClientBase) Descriptor() ([]byte, []int)deprecated
- func (x *ClientBase) GetClientId() string
- func (x *ClientBase) GetClientSecret() string
- func (*ClientBase) ProtoMessage()
- func (x *ClientBase) ProtoReflect() protoreflect.Message
- func (x *ClientBase) Reset()
- func (x *ClientBase) String() string
- type ClientMessage
- func (*ClientMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ClientMessage) GetClientId() string
- func (x *ClientMessage) GetData() []byte
- func (x *ClientMessage) GetEvent() Event
- func (x *ClientMessage) GetSecret() string
- func (x *ClientMessage) GetSessionId() string
- func (*ClientMessage) ProtoMessage()
- func (x *ClientMessage) ProtoReflect() protoreflect.Message
- func (x *ClientMessage) Reset()
- func (x *ClientMessage) String() string
- type ClientStatus
- func (*ClientStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ClientStatus) GetAddr() string
- func (x *ClientStatus) GetClientId() string
- func (x *ClientStatus) GetClientType() ClientType
- func (x *ClientStatus) GetConnectTime() int32
- func (x *ClientStatus) GetPing() int32
- func (x *ClientStatus) GetStatus() ClientStatus_Status
- func (x *ClientStatus) GetVersion() *ClientVersion
- func (*ClientStatus) ProtoMessage()
- func (x *ClientStatus) ProtoReflect() protoreflect.Message
- func (x *ClientStatus) Reset()
- func (x *ClientStatus) String() string
- type ClientStatus_Status
- func (ClientStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ClientStatus_Status) Enum() *ClientStatus_Status
- func (ClientStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientStatus_Status) Number() protoreflect.EnumNumber
- func (x ClientStatus_Status) String() string
- func (ClientStatus_Status) Type() protoreflect.EnumType
- type ClientType
- type ClientVersion
- func (*ClientVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ClientVersion) GetBuildDate() string
- func (x *ClientVersion) GetCompiler() string
- func (x *ClientVersion) GetGitCommit() string
- func (x *ClientVersion) GetGitVersion() string
- func (x *ClientVersion) GetGoVersion() string
- func (x *ClientVersion) GetPlatform() string
- func (*ClientVersion) ProtoMessage()
- func (x *ClientVersion) ProtoReflect() protoreflect.Message
- func (x *ClientVersion) Reset()
- func (x *ClientVersion) String() string
- type CommonRequest
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResponse) GetData() string
- func (x *CommonResponse) GetStatus() *Status
- func (*CommonResponse) ProtoMessage()
- func (x *CommonResponse) ProtoReflect() protoreflect.Message
- func (x *CommonResponse) Reset()
- func (x *CommonResponse) String() string
- type DeleteClientRequest
- func (*DeleteClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientRequest) GetClientId() string
- func (*DeleteClientRequest) ProtoMessage()
- func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClientRequest) Reset()
- func (x *DeleteClientRequest) String() string
- type DeleteClientResponse
- func (*DeleteClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientResponse) GetStatus() *Status
- func (*DeleteClientResponse) ProtoMessage()
- func (x *DeleteClientResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteClientResponse) Reset()
- func (x *DeleteClientResponse) String() string
- type DeleteServerRequest
- func (*DeleteServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerRequest) GetServerId() string
- func (*DeleteServerRequest) ProtoMessage()
- func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServerRequest) Reset()
- func (x *DeleteServerRequest) String() string
- type DeleteServerResponse
- func (*DeleteServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerResponse) GetStatus() *Status
- func (*DeleteServerResponse) ProtoMessage()
- func (x *DeleteServerResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteServerResponse) Reset()
- func (x *DeleteServerResponse) String() string
- type Event
- type FRPAuthRequest
- func (*FRPAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FRPAuthRequest) GetBase() *ServerBase
- func (x *FRPAuthRequest) GetToken() string
- func (x *FRPAuthRequest) GetUser() string
- func (*FRPAuthRequest) ProtoMessage()
- func (x *FRPAuthRequest) ProtoReflect() protoreflect.Message
- func (x *FRPAuthRequest) Reset()
- func (x *FRPAuthRequest) String() string
- type FRPAuthResponse
- func (*FRPAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FRPAuthResponse) GetOk() bool
- func (x *FRPAuthResponse) GetStatus() *Status
- func (*FRPAuthResponse) ProtoMessage()
- func (x *FRPAuthResponse) ProtoReflect() protoreflect.Message
- func (x *FRPAuthResponse) Reset()
- func (x *FRPAuthResponse) String() string
- type GetClientCertRequest
- func (*GetClientCertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientCertRequest) GetClientId() string
- func (x *GetClientCertRequest) GetClientSecret() string
- func (x *GetClientCertRequest) GetClientType() ClientType
- func (*GetClientCertRequest) ProtoMessage()
- func (x *GetClientCertRequest) ProtoReflect() protoreflect.Message
- func (x *GetClientCertRequest) Reset()
- func (x *GetClientCertRequest) String() string
- type GetClientCertResponse
- func (*GetClientCertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientCertResponse) GetCert() []byte
- func (x *GetClientCertResponse) GetStatus() *Status
- func (*GetClientCertResponse) ProtoMessage()
- func (x *GetClientCertResponse) ProtoReflect() protoreflect.Message
- func (x *GetClientCertResponse) Reset()
- func (x *GetClientCertResponse) String() string
- type GetClientRequest
- type GetClientResponse
- func (*GetClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientResponse) GetClient() *Client
- func (x *GetClientResponse) GetStatus() *Status
- func (*GetClientResponse) ProtoMessage()
- func (x *GetClientResponse) ProtoReflect() protoreflect.Message
- func (x *GetClientResponse) Reset()
- func (x *GetClientResponse) String() string
- type GetClientsStatusRequest
- func (*GetClientsStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientsStatusRequest) GetClientIds() []string
- func (x *GetClientsStatusRequest) GetClientType() ClientType
- func (*GetClientsStatusRequest) ProtoMessage()
- func (x *GetClientsStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetClientsStatusRequest) Reset()
- func (x *GetClientsStatusRequest) String() string
- type GetClientsStatusResponse
- func (*GetClientsStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientsStatusResponse) GetClients() map[string]*ClientStatus
- func (x *GetClientsStatusResponse) GetStatus() *Status
- func (*GetClientsStatusResponse) ProtoMessage()
- func (x *GetClientsStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetClientsStatusResponse) Reset()
- func (x *GetClientsStatusResponse) String() string
- type GetPlatformInfoRequest
- type GetPlatformInfoResponse
- func (*GetPlatformInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlatformInfoResponse) GetConfiguredClientCount() int32
- func (x *GetPlatformInfoResponse) GetConfiguredServerCount() int32
- func (x *GetPlatformInfoResponse) GetGlobalSecret() string
- func (x *GetPlatformInfoResponse) GetMasterApiPort() int32
- func (x *GetPlatformInfoResponse) GetMasterApiScheme() string
- func (x *GetPlatformInfoResponse) GetMasterRpcHost() string
- func (x *GetPlatformInfoResponse) GetMasterRpcPort() int32
- func (x *GetPlatformInfoResponse) GetStatus() *Status
- func (x *GetPlatformInfoResponse) GetTotalClientCount() int32
- func (x *GetPlatformInfoResponse) GetTotalServerCount() int32
- func (x *GetPlatformInfoResponse) GetUnconfiguredClientCount() int32
- func (x *GetPlatformInfoResponse) GetUnconfiguredServerCount() int32
- func (*GetPlatformInfoResponse) ProtoMessage()
- func (x *GetPlatformInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetPlatformInfoResponse) Reset()
- func (x *GetPlatformInfoResponse) String() string
- type GetProxyByCIDRequest
- func (*GetProxyByCIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProxyByCIDRequest) GetClientId() string
- func (*GetProxyByCIDRequest) ProtoMessage()
- func (x *GetProxyByCIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetProxyByCIDRequest) Reset()
- func (x *GetProxyByCIDRequest) String() string
- type GetProxyByCIDResponse
- func (*GetProxyByCIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProxyByCIDResponse) GetProxyInfos() []*ProxyInfo
- func (x *GetProxyByCIDResponse) GetStatus() *Status
- func (*GetProxyByCIDResponse) ProtoMessage()
- func (x *GetProxyByCIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetProxyByCIDResponse) Reset()
- func (x *GetProxyByCIDResponse) String() string
- type GetProxyBySIDRequest
- func (*GetProxyBySIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProxyBySIDRequest) GetServerId() string
- func (*GetProxyBySIDRequest) ProtoMessage()
- func (x *GetProxyBySIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetProxyBySIDRequest) Reset()
- func (x *GetProxyBySIDRequest) String() string
- type GetProxyBySIDResponse
- func (*GetProxyBySIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProxyBySIDResponse) GetProxyInfos() []*ProxyInfo
- func (x *GetProxyBySIDResponse) GetStatus() *Status
- func (*GetProxyBySIDResponse) ProtoMessage()
- func (x *GetProxyBySIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetProxyBySIDResponse) Reset()
- func (x *GetProxyBySIDResponse) String() string
- type GetServerRequest
- type GetServerResponse
- func (*GetServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerResponse) GetServer() *Server
- func (x *GetServerResponse) GetStatus() *Status
- func (*GetServerResponse) ProtoMessage()
- func (x *GetServerResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerResponse) Reset()
- func (x *GetServerResponse) String() string
- type GetUserInfoRequest
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResponse) GetStatus() *Status
- func (x *GetUserInfoResponse) GetUserInfo() *User
- func (*GetUserInfoResponse) ProtoMessage()
- func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResponse) Reset()
- func (x *GetUserInfoResponse) String() string
- type InitClientRequest
- type InitClientResponse
- func (*InitClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitClientResponse) GetClientId() string
- func (x *InitClientResponse) GetStatus() *Status
- func (*InitClientResponse) ProtoMessage()
- func (x *InitClientResponse) ProtoReflect() protoreflect.Message
- func (x *InitClientResponse) Reset()
- func (x *InitClientResponse) String() string
- type InitServerRequest
- func (*InitServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitServerRequest) GetComment() string
- func (x *InitServerRequest) GetServerId() string
- func (x *InitServerRequest) GetServerIp() string
- func (*InitServerRequest) ProtoMessage()
- func (x *InitServerRequest) ProtoReflect() protoreflect.Message
- func (x *InitServerRequest) Reset()
- func (x *InitServerRequest) String() string
- type InitServerResponse
- func (*InitServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitServerResponse) GetServerId() string
- func (x *InitServerResponse) GetStatus() *Status
- func (*InitServerResponse) ProtoMessage()
- func (x *InitServerResponse) ProtoReflect() protoreflect.Message
- func (x *InitServerResponse) Reset()
- func (x *InitServerResponse) String() string
- type ListClientsRequest
- func (*ListClientsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientsRequest) GetKeyword() string
- func (x *ListClientsRequest) GetPage() int32
- func (x *ListClientsRequest) GetPageSize() int32
- func (*ListClientsRequest) ProtoMessage()
- func (x *ListClientsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClientsRequest) Reset()
- func (x *ListClientsRequest) String() string
- type ListClientsResponse
- func (*ListClientsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClientsResponse) GetClients() []*Client
- func (x *ListClientsResponse) GetStatus() *Status
- func (x *ListClientsResponse) GetTotal() int32
- func (*ListClientsResponse) ProtoMessage()
- func (x *ListClientsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClientsResponse) Reset()
- func (x *ListClientsResponse) String() string
- type ListServersRequest
- func (*ListServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServersRequest) GetKeyword() string
- func (x *ListServersRequest) GetPage() int32
- func (x *ListServersRequest) GetPageSize() int32
- func (*ListServersRequest) ProtoMessage()
- func (x *ListServersRequest) ProtoReflect() protoreflect.Message
- func (x *ListServersRequest) Reset()
- func (x *ListServersRequest) String() string
- type ListServersResponse
- func (*ListServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServersResponse) GetServers() []*Server
- func (x *ListServersResponse) GetStatus() *Status
- func (x *ListServersResponse) GetTotal() int32
- func (*ListServersResponse) ProtoMessage()
- func (x *ListServersResponse) ProtoReflect() protoreflect.Message
- func (x *ListServersResponse) Reset()
- func (x *ListServersResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetStatus() *Status
- func (x *LoginResponse) GetToken() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type MasterClient
- type MasterServer
- type Master_PTYConnectClient
- type Master_PTYConnectServer
- type Master_PushClientStreamLogClient
- type Master_PushClientStreamLogServer
- type Master_PushServerStreamLogClient
- type Master_PushServerStreamLogServer
- type Master_ServerSendClient
- type Master_ServerSendServer
- type PTYClientMessage
- func (*PTYClientMessage) Descriptor() ([]byte, []int)deprecated
- func (m *PTYClientMessage) GetBase() isPTYClientMessage_Base
- func (x *PTYClientMessage) GetClientBase() *ClientBase
- func (x *PTYClientMessage) GetData() []byte
- func (x *PTYClientMessage) GetDone() bool
- func (x *PTYClientMessage) GetServerBase() *ServerBase
- func (x *PTYClientMessage) GetSessionId() string
- func (*PTYClientMessage) ProtoMessage()
- func (x *PTYClientMessage) ProtoReflect() protoreflect.Message
- func (x *PTYClientMessage) Reset()
- func (x *PTYClientMessage) String() string
- type PTYClientMessage_ClientBase
- type PTYClientMessage_ServerBase
- type PTYServerMessage
- func (*PTYServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PTYServerMessage) GetData() []byte
- func (x *PTYServerMessage) GetDone() bool
- func (x *PTYServerMessage) GetHeight() int32
- func (x *PTYServerMessage) GetWidth() int32
- func (*PTYServerMessage) ProtoMessage()
- func (x *PTYServerMessage) ProtoReflect() protoreflect.Message
- func (x *PTYServerMessage) Reset()
- func (x *PTYServerMessage) String() string
- type ProxyInfo
- func (*ProxyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyInfo) GetClientId() string
- func (x *ProxyInfo) GetFirstSync() bool
- func (x *ProxyInfo) GetHistoryTrafficIn() int64
- func (x *ProxyInfo) GetHistoryTrafficOut() int64
- func (x *ProxyInfo) GetName() string
- func (x *ProxyInfo) GetServerId() string
- func (x *ProxyInfo) GetTodayTrafficIn() int64
- func (x *ProxyInfo) GetTodayTrafficOut() int64
- func (x *ProxyInfo) GetType() string
- func (*ProxyInfo) ProtoMessage()
- func (x *ProxyInfo) ProtoReflect() protoreflect.Message
- func (x *ProxyInfo) Reset()
- func (x *ProxyInfo) String() string
- type PullClientConfigReq
- func (*PullClientConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *PullClientConfigReq) GetBase() *ClientBase
- func (*PullClientConfigReq) ProtoMessage()
- func (x *PullClientConfigReq) ProtoReflect() protoreflect.Message
- func (x *PullClientConfigReq) Reset()
- func (x *PullClientConfigReq) String() string
- type PullClientConfigResp
- func (*PullClientConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *PullClientConfigResp) GetClient() *Client
- func (x *PullClientConfigResp) GetStatus() *Status
- func (*PullClientConfigResp) ProtoMessage()
- func (x *PullClientConfigResp) ProtoReflect() protoreflect.Message
- func (x *PullClientConfigResp) Reset()
- func (x *PullClientConfigResp) String() string
- type PullServerConfigReq
- func (*PullServerConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *PullServerConfigReq) GetBase() *ServerBase
- func (*PullServerConfigReq) ProtoMessage()
- func (x *PullServerConfigReq) ProtoReflect() protoreflect.Message
- func (x *PullServerConfigReq) Reset()
- func (x *PullServerConfigReq) String() string
- type PullServerConfigResp
- func (*PullServerConfigResp) Descriptor() ([]byte, []int)deprecated
- func (x *PullServerConfigResp) GetServer() *Server
- func (x *PullServerConfigResp) GetStatus() *Status
- func (*PullServerConfigResp) ProtoMessage()
- func (x *PullServerConfigResp) ProtoReflect() protoreflect.Message
- func (x *PullServerConfigResp) Reset()
- func (x *PullServerConfigResp) String() string
- type PushClientStreamLogReq
- func (*PushClientStreamLogReq) Descriptor() ([]byte, []int)deprecated
- func (x *PushClientStreamLogReq) GetBase() *ClientBase
- func (x *PushClientStreamLogReq) GetLog() []byte
- func (*PushClientStreamLogReq) ProtoMessage()
- func (x *PushClientStreamLogReq) ProtoReflect() protoreflect.Message
- func (x *PushClientStreamLogReq) Reset()
- func (x *PushClientStreamLogReq) String() string
- type PushProxyInfoReq
- func (*PushProxyInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PushProxyInfoReq) GetBase() *ServerBase
- func (x *PushProxyInfoReq) GetProxyInfos() []*ProxyInfo
- func (*PushProxyInfoReq) ProtoMessage()
- func (x *PushProxyInfoReq) ProtoReflect() protoreflect.Message
- func (x *PushProxyInfoReq) Reset()
- func (x *PushProxyInfoReq) String() string
- type PushProxyInfoResp
- type PushServerStreamLogReq
- func (*PushServerStreamLogReq) Descriptor() ([]byte, []int)deprecated
- func (x *PushServerStreamLogReq) GetBase() *ServerBase
- func (x *PushServerStreamLogReq) GetLog() []byte
- func (*PushServerStreamLogReq) ProtoMessage()
- func (x *PushServerStreamLogReq) ProtoReflect() protoreflect.Message
- func (x *PushServerStreamLogReq) Reset()
- func (x *PushServerStreamLogReq) String() string
- type PushStreamLogResp
- func (*PushStreamLogResp) Descriptor() ([]byte, []int)deprecated
- func (x *PushStreamLogResp) GetOk() bool
- func (x *PushStreamLogResp) GetStatus() *Status
- func (*PushStreamLogResp) ProtoMessage()
- func (x *PushStreamLogResp) ProtoReflect() protoreflect.Message
- func (x *PushStreamLogResp) Reset()
- func (x *PushStreamLogResp) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type RemoveFRPCRequest
- type RemoveFRPCResponse
- func (*RemoveFRPCResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFRPCResponse) GetStatus() *Status
- func (*RemoveFRPCResponse) ProtoMessage()
- func (x *RemoveFRPCResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFRPCResponse) Reset()
- func (x *RemoveFRPCResponse) String() string
- type RemoveFRPSRequest
- type RemoveFRPSResponse
- func (*RemoveFRPSResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFRPSResponse) GetStatus() *Status
- func (*RemoveFRPSResponse) ProtoMessage()
- func (x *RemoveFRPSResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFRPSResponse) Reset()
- func (x *RemoveFRPSResponse) String() string
- type RespCode
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetComment() string
- func (x *Server) GetConfig() string
- func (x *Server) GetId() string
- func (x *Server) GetIp() string
- func (x *Server) GetSecret() string
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type ServerBase
- func (*ServerBase) Descriptor() ([]byte, []int)deprecated
- func (x *ServerBase) GetServerId() string
- func (x *ServerBase) GetServerSecret() string
- func (*ServerBase) ProtoMessage()
- func (x *ServerBase) ProtoReflect() protoreflect.Message
- func (x *ServerBase) Reset()
- func (x *ServerBase) String() string
- type ServerMessage
- func (*ServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ServerMessage) GetClientId() string
- func (x *ServerMessage) GetData() []byte
- func (x *ServerMessage) GetEvent() Event
- func (x *ServerMessage) GetSessionId() string
- func (*ServerMessage) ProtoMessage()
- func (x *ServerMessage) ProtoReflect() protoreflect.Message
- func (x *ServerMessage) Reset()
- func (x *ServerMessage) String() string
- type StartFRPCRequest
- type StartFRPCResponse
- type StartFRPSRequest
- type StartFRPSResponse
- type Status
- type StopFRPCRequest
- type StopFRPCResponse
- type StopFRPSRequest
- type StopFRPSResponse
- type UnimplementedMasterServer
- func (UnimplementedMasterServer) FRPCAuth(context.Context, *FRPAuthRequest) (*FRPAuthResponse, error)
- func (UnimplementedMasterServer) PTYConnect(grpc.BidiStreamingServer[PTYClientMessage, PTYServerMessage]) error
- func (UnimplementedMasterServer) PullClientConfig(context.Context, *PullClientConfigReq) (*PullClientConfigResp, error)
- func (UnimplementedMasterServer) PullServerConfig(context.Context, *PullServerConfigReq) (*PullServerConfigResp, error)
- func (UnimplementedMasterServer) PushClientStreamLog(grpc.ClientStreamingServer[PushClientStreamLogReq, PushStreamLogResp]) error
- func (UnimplementedMasterServer) PushProxyInfo(context.Context, *PushProxyInfoReq) (*PushProxyInfoResp, error)
- func (UnimplementedMasterServer) PushServerStreamLog(grpc.ClientStreamingServer[PushServerStreamLogReq, PushStreamLogResp]) error
- func (UnimplementedMasterServer) ServerSend(grpc.BidiStreamingServer[ClientMessage, ServerMessage]) error
- type UnsafeMasterServer
- type UpdateFRPCRequest
- func (*UpdateFRPCRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFRPCRequest) GetClientId() string
- func (x *UpdateFRPCRequest) GetComment() string
- func (x *UpdateFRPCRequest) GetConfig() []byte
- func (x *UpdateFRPCRequest) GetServerId() string
- func (*UpdateFRPCRequest) ProtoMessage()
- func (x *UpdateFRPCRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFRPCRequest) Reset()
- func (x *UpdateFRPCRequest) String() string
- type UpdateFRPCResponse
- func (*UpdateFRPCResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFRPCResponse) GetStatus() *Status
- func (*UpdateFRPCResponse) ProtoMessage()
- func (x *UpdateFRPCResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFRPCResponse) Reset()
- func (x *UpdateFRPCResponse) String() string
- type UpdateFRPSRequest
- func (*UpdateFRPSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFRPSRequest) GetComment() string
- func (x *UpdateFRPSRequest) GetConfig() []byte
- func (x *UpdateFRPSRequest) GetServerId() string
- func (x *UpdateFRPSRequest) GetServerIp() string
- func (*UpdateFRPSRequest) ProtoMessage()
- func (x *UpdateFRPSRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFRPSRequest) Reset()
- func (x *UpdateFRPSRequest) String() string
- type UpdateFRPSResponse
- func (*UpdateFRPSResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFRPSResponse) GetStatus() *Status
- func (*UpdateFRPSResponse) ProtoMessage()
- func (x *UpdateFRPSResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFRPSResponse) Reset()
- func (x *UpdateFRPSResponse) String() string
- type UpdateUserInfoRequest
- func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoRequest) GetUserInfo() *User
- func (*UpdateUserInfoRequest) ProtoMessage()
- func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoRequest) Reset()
- func (x *UpdateUserInfoRequest) String() string
- type UpdateUserInfoResponse
- func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoResponse) GetStatus() *Status
- func (*UpdateUserInfoResponse) ProtoMessage()
- func (x *UpdateUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoResponse) Reset()
- func (x *UpdateUserInfoResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetRawPassword() string
- func (x *User) GetRole() string
- func (x *User) GetStatus() string
- func (x *User) GetTenantID() int64
- func (x *User) GetToken() string
- func (x *User) GetUserID() int64
- func (x *User) GetUserName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
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" Master_PushProxyInfo_FullMethodName = "/master.Master/PushProxyInfo" Master_PushClientStreamLog_FullMethodName = "/master.Master/PushClientStreamLog" Master_PushServerStreamLog_FullMethodName = "/master.Master/PushServerStreamLog" Master_PTYConnect_FullMethodName = "/master.Master/PTYConnect" )
Variables ¶
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.
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.
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.
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", 15: "EVENT_START_STREAM_LOG", 16: "EVENT_STOP_STREAM_LOG", 17: "EVENT_START_PTY_CONNECT", } 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, "EVENT_START_STREAM_LOG": 15, "EVENT_STOP_STREAM_LOG": 16, "EVENT_START_PTY_CONNECT": 17, } )
Enum value maps for Event.
var File_api_auth_proto protoreflect.FileDescriptor
var File_api_client_proto protoreflect.FileDescriptor
var File_api_master_proto protoreflect.FileDescriptor
var File_api_server_proto protoreflect.FileDescriptor
var File_api_user_proto protoreflect.FileDescriptor
var File_common_proto protoreflect.FileDescriptor
var File_rpc_master_proto protoreflect.FileDescriptor
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, }, { MethodName: "PushProxyInfo", Handler: _Master_PushProxyInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ServerSend", Handler: _Master_ServerSend_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "PushClientStreamLog", Handler: _Master_PushClientStreamLog_Handler, ClientStreams: true, }, { StreamName: "PushServerStreamLog", Handler: _Master_PushServerStreamLog_Handler, ClientStreams: true, }, { StreamName: "PTYConnect", Handler: _Master_PTYConnect_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) GetComment ¶
func (*Client) GetServerId ¶
func (*Client) GetStopped ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
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"` // 单位为毫秒 Version *ClientVersion `protobuf:"bytes,5,opt,name=version,proto3,oneof" json:"version,omitempty"` Addr *string `protobuf:"bytes,6,opt,name=addr,proto3,oneof" json:"addr,omitempty"` ConnectTime *int32 `protobuf:"varint,7,opt,name=connect_time,json=connectTime,proto3,oneof" json:"connect_time,omitempty"` // 连接建立的时间 // contains filtered or unexported fields }
func (*ClientStatus) Descriptor
deprecated
func (*ClientStatus) Descriptor() ([]byte, []int)
Deprecated: Use ClientStatus.ProtoReflect.Descriptor instead.
func (*ClientStatus) GetAddr ¶ added in v0.0.32
func (x *ClientStatus) GetAddr() string
func (*ClientStatus) GetClientId ¶
func (x *ClientStatus) GetClientId() string
func (*ClientStatus) GetClientType ¶
func (x *ClientStatus) GetClientType() ClientType
func (*ClientStatus) GetConnectTime ¶ added in v0.0.32
func (x *ClientStatus) GetConnectTime() int32
func (*ClientStatus) GetPing ¶
func (x *ClientStatus) GetPing() int32
func (*ClientStatus) GetStatus ¶
func (x *ClientStatus) GetStatus() ClientStatus_Status
func (*ClientStatus) GetVersion ¶ added in v0.0.32
func (x *ClientStatus) GetVersion() *ClientVersion
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) Descriptor() protoreflect.EnumDescriptor
func (ClientStatus_Status) Enum ¶
func (x ClientStatus_Status) Enum() *ClientStatus_Status
func (ClientStatus_Status) EnumDescriptor
deprecated
func (ClientStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientStatus_Status.Descriptor instead.
func (ClientStatus_Status) Number ¶
func (x ClientStatus_Status) Number() protoreflect.EnumNumber
func (ClientStatus_Status) String ¶
func (x ClientStatus_Status) String() string
func (ClientStatus_Status) Type ¶
func (ClientStatus_Status) Type() protoreflect.EnumType
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 ¶
func (ClientType) Type() protoreflect.EnumType
type ClientVersion ¶ added in v0.0.32
type ClientVersion struct { GitVersion string `protobuf:"bytes,1,opt,name=GitVersion,proto3" json:"GitVersion,omitempty"` GitCommit string `protobuf:"bytes,2,opt,name=GitCommit,proto3" json:"GitCommit,omitempty"` BuildDate string `protobuf:"bytes,3,opt,name=BuildDate,proto3" json:"BuildDate,omitempty"` GoVersion string `protobuf:"bytes,4,opt,name=GoVersion,proto3" json:"GoVersion,omitempty"` Compiler string `protobuf:"bytes,5,opt,name=Compiler,proto3" json:"Compiler,omitempty"` Platform string `protobuf:"bytes,6,opt,name=Platform,proto3" json:"Platform,omitempty"` // contains filtered or unexported fields }
func (*ClientVersion) Descriptor
deprecated
added in
v0.0.32
func (*ClientVersion) Descriptor() ([]byte, []int)
Deprecated: Use ClientVersion.ProtoReflect.Descriptor instead.
func (*ClientVersion) GetBuildDate ¶ added in v0.0.32
func (x *ClientVersion) GetBuildDate() string
func (*ClientVersion) GetCompiler ¶ added in v0.0.32
func (x *ClientVersion) GetCompiler() string
func (*ClientVersion) GetGitCommit ¶ added in v0.0.32
func (x *ClientVersion) GetGitCommit() string
func (*ClientVersion) GetGitVersion ¶ added in v0.0.32
func (x *ClientVersion) GetGitVersion() string
func (*ClientVersion) GetGoVersion ¶ added in v0.0.32
func (x *ClientVersion) GetGoVersion() string
func (*ClientVersion) GetPlatform ¶ added in v0.0.32
func (x *ClientVersion) GetPlatform() string
func (*ClientVersion) ProtoMessage ¶ added in v0.0.32
func (*ClientVersion) ProtoMessage()
func (*ClientVersion) ProtoReflect ¶ added in v0.0.32
func (x *ClientVersion) ProtoReflect() protoreflect.Message
func (*ClientVersion) Reset ¶ added in v0.0.32
func (x *ClientVersion) Reset()
func (*ClientVersion) String ¶ added in v0.0.32
func (x *ClientVersion) String() string
type CommonRequest ¶
type CommonRequest struct { Data *string `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CommonRequest) Descriptor
deprecated
func (*CommonRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommonRequest.ProtoReflect.Descriptor instead.
func (*CommonRequest) GetData ¶ added in v0.0.32
func (x *CommonRequest) GetData() string
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"` Data *string `protobuf:"bytes,2,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CommonResponse) Descriptor
deprecated
func (*CommonResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.
func (*CommonResponse) GetData ¶ added in v0.0.32
func (x *CommonResponse) GetData() string
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 Event_EVENT_START_STREAM_LOG Event = 15 Event_EVENT_STOP_STREAM_LOG Event = 16 Event_EVENT_START_PTY_CONNECT Event = 17 )
func (Event) Descriptor ¶
func (Event) Descriptor() protoreflect.EnumDescriptor
func (Event) EnumDescriptor
deprecated
func (Event) Number ¶
func (x Event) Number() protoreflect.EnumNumber
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 GetProxyByCIDRequest ¶ added in v0.0.31
type GetProxyByCIDRequest struct { ClientId *string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*GetProxyByCIDRequest) Descriptor
deprecated
added in
v0.0.31
func (*GetProxyByCIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProxyByCIDRequest.ProtoReflect.Descriptor instead.
func (*GetProxyByCIDRequest) GetClientId ¶ added in v0.0.31
func (x *GetProxyByCIDRequest) GetClientId() string
func (*GetProxyByCIDRequest) ProtoMessage ¶ added in v0.0.31
func (*GetProxyByCIDRequest) ProtoMessage()
func (*GetProxyByCIDRequest) ProtoReflect ¶ added in v0.0.31
func (x *GetProxyByCIDRequest) ProtoReflect() protoreflect.Message
func (*GetProxyByCIDRequest) Reset ¶ added in v0.0.31
func (x *GetProxyByCIDRequest) Reset()
func (*GetProxyByCIDRequest) String ¶ added in v0.0.31
func (x *GetProxyByCIDRequest) String() string
type GetProxyByCIDResponse ¶ added in v0.0.31
type GetProxyByCIDResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"` ProxyInfos []*ProxyInfo `protobuf:"bytes,2,rep,name=proxy_infos,json=proxyInfos,proto3" json:"proxy_infos,omitempty"` // contains filtered or unexported fields }
func (*GetProxyByCIDResponse) Descriptor
deprecated
added in
v0.0.31
func (*GetProxyByCIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProxyByCIDResponse.ProtoReflect.Descriptor instead.
func (*GetProxyByCIDResponse) GetProxyInfos ¶ added in v0.0.31
func (x *GetProxyByCIDResponse) GetProxyInfos() []*ProxyInfo
func (*GetProxyByCIDResponse) GetStatus ¶ added in v0.0.31
func (x *GetProxyByCIDResponse) GetStatus() *Status
func (*GetProxyByCIDResponse) ProtoMessage ¶ added in v0.0.31
func (*GetProxyByCIDResponse) ProtoMessage()
func (*GetProxyByCIDResponse) ProtoReflect ¶ added in v0.0.31
func (x *GetProxyByCIDResponse) ProtoReflect() protoreflect.Message
func (*GetProxyByCIDResponse) Reset ¶ added in v0.0.31
func (x *GetProxyByCIDResponse) Reset()
func (*GetProxyByCIDResponse) String ¶ added in v0.0.31
func (x *GetProxyByCIDResponse) String() string
type GetProxyBySIDRequest ¶ added in v0.0.31
type GetProxyBySIDRequest struct { ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"` // contains filtered or unexported fields }
func (*GetProxyBySIDRequest) Descriptor
deprecated
added in
v0.0.31
func (*GetProxyBySIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProxyBySIDRequest.ProtoReflect.Descriptor instead.
func (*GetProxyBySIDRequest) GetServerId ¶ added in v0.0.31
func (x *GetProxyBySIDRequest) GetServerId() string
func (*GetProxyBySIDRequest) ProtoMessage ¶ added in v0.0.31
func (*GetProxyBySIDRequest) ProtoMessage()
func (*GetProxyBySIDRequest) ProtoReflect ¶ added in v0.0.31
func (x *GetProxyBySIDRequest) ProtoReflect() protoreflect.Message
func (*GetProxyBySIDRequest) Reset ¶ added in v0.0.31
func (x *GetProxyBySIDRequest) Reset()
func (*GetProxyBySIDRequest) String ¶ added in v0.0.31
func (x *GetProxyBySIDRequest) String() string
type GetProxyBySIDResponse ¶ added in v0.0.31
type GetProxyBySIDResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"` ProxyInfos []*ProxyInfo `protobuf:"bytes,2,rep,name=proxy_infos,json=proxyInfos,proto3" json:"proxy_infos,omitempty"` // contains filtered or unexported fields }
func (*GetProxyBySIDResponse) Descriptor
deprecated
added in
v0.0.31
func (*GetProxyBySIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProxyBySIDResponse.ProtoReflect.Descriptor instead.
func (*GetProxyBySIDResponse) GetProxyInfos ¶ added in v0.0.31
func (x *GetProxyBySIDResponse) GetProxyInfos() []*ProxyInfo
func (*GetProxyBySIDResponse) GetStatus ¶ added in v0.0.31
func (x *GetProxyBySIDResponse) GetStatus() *Status
func (*GetProxyBySIDResponse) ProtoMessage ¶ added in v0.0.31
func (*GetProxyBySIDResponse) ProtoMessage()
func (*GetProxyBySIDResponse) ProtoReflect ¶ added in v0.0.31
func (x *GetProxyBySIDResponse) ProtoReflect() protoreflect.Message
func (*GetProxyBySIDResponse) Reset ¶ added in v0.0.31
func (x *GetProxyBySIDResponse) Reset()
func (*GetProxyBySIDResponse) String ¶ added in v0.0.31
func (x *GetProxyBySIDResponse) 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) (grpc.BidiStreamingClient[ClientMessage, ServerMessage], 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) PushProxyInfo(ctx context.Context, in *PushProxyInfoReq, opts ...grpc.CallOption) (*PushProxyInfoResp, error) PushClientStreamLog(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[PushClientStreamLogReq, PushStreamLogResp], error) PushServerStreamLog(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[PushServerStreamLogReq, PushStreamLogResp], error) PTYConnect(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[PTYClientMessage, PTYServerMessage], 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(grpc.BidiStreamingServer[ClientMessage, ServerMessage]) error PullClientConfig(context.Context, *PullClientConfigReq) (*PullClientConfigResp, error) PullServerConfig(context.Context, *PullServerConfigReq) (*PullServerConfigResp, error) FRPCAuth(context.Context, *FRPAuthRequest) (*FRPAuthResponse, error) PushProxyInfo(context.Context, *PushProxyInfoReq) (*PushProxyInfoResp, error) PushClientStreamLog(grpc.ClientStreamingServer[PushClientStreamLogReq, PushStreamLogResp]) error PushServerStreamLog(grpc.ClientStreamingServer[PushServerStreamLogReq, PushStreamLogResp]) error PTYConnect(grpc.BidiStreamingServer[PTYClientMessage, PTYServerMessage]) error // contains filtered or unexported methods }
MasterServer is the server API for Master service. All implementations must embed UnimplementedMasterServer for forward compatibility.
type Master_PTYConnectClient ¶ added in v0.0.32
type Master_PTYConnectClient = grpc.BidiStreamingClient[PTYClientMessage, PTYServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_PTYConnectServer ¶ added in v0.0.32
type Master_PTYConnectServer = grpc.BidiStreamingServer[PTYClientMessage, PTYServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_PushClientStreamLogClient ¶ added in v0.0.32
type Master_PushClientStreamLogClient = grpc.ClientStreamingClient[PushClientStreamLogReq, PushStreamLogResp]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_PushClientStreamLogServer ¶ added in v0.0.32
type Master_PushClientStreamLogServer = grpc.ClientStreamingServer[PushClientStreamLogReq, PushStreamLogResp]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_PushServerStreamLogClient ¶ added in v0.0.32
type Master_PushServerStreamLogClient = grpc.ClientStreamingClient[PushServerStreamLogReq, PushStreamLogResp]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_PushServerStreamLogServer ¶ added in v0.0.32
type Master_PushServerStreamLogServer = grpc.ClientStreamingServer[PushServerStreamLogReq, PushStreamLogResp]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_ServerSendClient ¶
type Master_ServerSendClient = grpc.BidiStreamingClient[ClientMessage, ServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Master_ServerSendServer ¶
type Master_ServerSendServer = grpc.BidiStreamingServer[ClientMessage, ServerMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PTYClientMessage ¶ added in v0.0.32
type PTYClientMessage struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` // Types that are assignable to Base: // // *PTYClientMessage_ServerBase // *PTYClientMessage_ClientBase Base isPTYClientMessage_Base `protobuf_oneof:"Base"` // contains filtered or unexported fields }
func (*PTYClientMessage) Descriptor
deprecated
added in
v0.0.32
func (*PTYClientMessage) Descriptor() ([]byte, []int)
Deprecated: Use PTYClientMessage.ProtoReflect.Descriptor instead.
func (*PTYClientMessage) GetBase ¶ added in v0.0.32
func (m *PTYClientMessage) GetBase() isPTYClientMessage_Base
func (*PTYClientMessage) GetClientBase ¶ added in v0.0.32
func (x *PTYClientMessage) GetClientBase() *ClientBase
func (*PTYClientMessage) GetData ¶ added in v0.0.32
func (x *PTYClientMessage) GetData() []byte
func (*PTYClientMessage) GetDone ¶ added in v0.0.32
func (x *PTYClientMessage) GetDone() bool
func (*PTYClientMessage) GetServerBase ¶ added in v0.0.32
func (x *PTYClientMessage) GetServerBase() *ServerBase
func (*PTYClientMessage) GetSessionId ¶ added in v0.0.32
func (x *PTYClientMessage) GetSessionId() string
func (*PTYClientMessage) ProtoMessage ¶ added in v0.0.32
func (*PTYClientMessage) ProtoMessage()
func (*PTYClientMessage) ProtoReflect ¶ added in v0.0.32
func (x *PTYClientMessage) ProtoReflect() protoreflect.Message
func (*PTYClientMessage) Reset ¶ added in v0.0.32
func (x *PTYClientMessage) Reset()
func (*PTYClientMessage) String ¶ added in v0.0.32
func (x *PTYClientMessage) String() string
type PTYClientMessage_ClientBase ¶ added in v0.0.32
type PTYClientMessage_ClientBase struct {
ClientBase *ClientBase `protobuf:"bytes,255,opt,name=client_base,json=clientBase,proto3,oneof"`
}
type PTYClientMessage_ServerBase ¶ added in v0.0.32
type PTYClientMessage_ServerBase struct {
ServerBase *ServerBase `protobuf:"bytes,254,opt,name=server_base,json=serverBase,proto3,oneof"`
}
type PTYServerMessage ¶ added in v0.0.32
type PTYServerMessage struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"` Height *int32 `protobuf:"varint,2,opt,name=height,proto3,oneof" json:"height,omitempty"` Width *int32 `protobuf:"varint,3,opt,name=width,proto3,oneof" json:"width,omitempty"` Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"` // contains filtered or unexported fields }
func (*PTYServerMessage) Descriptor
deprecated
added in
v0.0.32
func (*PTYServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use PTYServerMessage.ProtoReflect.Descriptor instead.
func (*PTYServerMessage) GetData ¶ added in v0.0.32
func (x *PTYServerMessage) GetData() []byte
func (*PTYServerMessage) GetDone ¶ added in v0.0.32
func (x *PTYServerMessage) GetDone() bool
func (*PTYServerMessage) GetHeight ¶ added in v0.0.32
func (x *PTYServerMessage) GetHeight() int32
func (*PTYServerMessage) GetWidth ¶ added in v0.0.32
func (x *PTYServerMessage) GetWidth() int32
func (*PTYServerMessage) ProtoMessage ¶ added in v0.0.32
func (*PTYServerMessage) ProtoMessage()
func (*PTYServerMessage) ProtoReflect ¶ added in v0.0.32
func (x *PTYServerMessage) ProtoReflect() protoreflect.Message
func (*PTYServerMessage) Reset ¶ added in v0.0.32
func (x *PTYServerMessage) Reset()
func (*PTYServerMessage) String ¶ added in v0.0.32
func (x *PTYServerMessage) String() string
type ProxyInfo ¶ added in v0.0.31
type ProxyInfo struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Type *string `protobuf:"bytes,2,opt,name=type,proto3,oneof" json:"type,omitempty"` ClientId *string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"` ServerId *string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"` TodayTrafficIn *int64 `protobuf:"varint,5,opt,name=today_traffic_in,json=todayTrafficIn,proto3,oneof" json:"today_traffic_in,omitempty"` TodayTrafficOut *int64 `protobuf:"varint,6,opt,name=today_traffic_out,json=todayTrafficOut,proto3,oneof" json:"today_traffic_out,omitempty"` HistoryTrafficIn *int64 `protobuf:"varint,7,opt,name=history_traffic_in,json=historyTrafficIn,proto3,oneof" json:"history_traffic_in,omitempty"` HistoryTrafficOut *int64 `protobuf:"varint,8,opt,name=history_traffic_out,json=historyTrafficOut,proto3,oneof" json:"history_traffic_out,omitempty"` FirstSync *bool `protobuf:"varint,9,opt,name=first_sync,json=firstSync,proto3,oneof" json:"first_sync,omitempty"` // contains filtered or unexported fields }
func (*ProxyInfo) Descriptor
deprecated
added in
v0.0.31
func (*ProxyInfo) GetClientId ¶ added in v0.0.31
func (*ProxyInfo) GetFirstSync ¶ added in v0.0.31
func (*ProxyInfo) GetHistoryTrafficIn ¶ added in v0.0.31
func (*ProxyInfo) GetHistoryTrafficOut ¶ added in v0.0.31
func (*ProxyInfo) GetServerId ¶ added in v0.0.31
func (*ProxyInfo) GetTodayTrafficIn ¶ added in v0.0.31
func (*ProxyInfo) GetTodayTrafficOut ¶ added in v0.0.31
func (*ProxyInfo) ProtoMessage ¶ added in v0.0.31
func (*ProxyInfo) ProtoMessage()
func (*ProxyInfo) ProtoReflect ¶ added in v0.0.31
func (x *ProxyInfo) ProtoReflect() protoreflect.Message
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 PushClientStreamLogReq ¶ added in v0.0.32
type PushClientStreamLogReq struct { Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` Base *ClientBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*PushClientStreamLogReq) Descriptor
deprecated
added in
v0.0.32
func (*PushClientStreamLogReq) Descriptor() ([]byte, []int)
Deprecated: Use PushClientStreamLogReq.ProtoReflect.Descriptor instead.
func (*PushClientStreamLogReq) GetBase ¶ added in v0.0.32
func (x *PushClientStreamLogReq) GetBase() *ClientBase
func (*PushClientStreamLogReq) GetLog ¶ added in v0.0.32
func (x *PushClientStreamLogReq) GetLog() []byte
func (*PushClientStreamLogReq) ProtoMessage ¶ added in v0.0.32
func (*PushClientStreamLogReq) ProtoMessage()
func (*PushClientStreamLogReq) ProtoReflect ¶ added in v0.0.32
func (x *PushClientStreamLogReq) ProtoReflect() protoreflect.Message
func (*PushClientStreamLogReq) Reset ¶ added in v0.0.32
func (x *PushClientStreamLogReq) Reset()
func (*PushClientStreamLogReq) String ¶ added in v0.0.32
func (x *PushClientStreamLogReq) String() string
type PushProxyInfoReq ¶ added in v0.0.31
type PushProxyInfoReq struct { Base *ServerBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"` ProxyInfos []*ProxyInfo `protobuf:"bytes,1,rep,name=proxy_infos,json=proxyInfos,proto3" json:"proxy_infos,omitempty"` // contains filtered or unexported fields }
func (*PushProxyInfoReq) Descriptor
deprecated
added in
v0.0.31
func (*PushProxyInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use PushProxyInfoReq.ProtoReflect.Descriptor instead.
func (*PushProxyInfoReq) GetBase ¶ added in v0.0.31
func (x *PushProxyInfoReq) GetBase() *ServerBase
func (*PushProxyInfoReq) GetProxyInfos ¶ added in v0.0.31
func (x *PushProxyInfoReq) GetProxyInfos() []*ProxyInfo
func (*PushProxyInfoReq) ProtoMessage ¶ added in v0.0.31
func (*PushProxyInfoReq) ProtoMessage()
func (*PushProxyInfoReq) ProtoReflect ¶ added in v0.0.31
func (x *PushProxyInfoReq) ProtoReflect() protoreflect.Message
func (*PushProxyInfoReq) Reset ¶ added in v0.0.31
func (x *PushProxyInfoReq) Reset()
func (*PushProxyInfoReq) String ¶ added in v0.0.31
func (x *PushProxyInfoReq) String() string
type PushProxyInfoResp ¶ added in v0.0.31
type PushProxyInfoResp struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*PushProxyInfoResp) Descriptor
deprecated
added in
v0.0.31
func (*PushProxyInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use PushProxyInfoResp.ProtoReflect.Descriptor instead.
func (*PushProxyInfoResp) GetStatus ¶ added in v0.0.31
func (x *PushProxyInfoResp) GetStatus() *Status
func (*PushProxyInfoResp) ProtoMessage ¶ added in v0.0.31
func (*PushProxyInfoResp) ProtoMessage()
func (*PushProxyInfoResp) ProtoReflect ¶ added in v0.0.31
func (x *PushProxyInfoResp) ProtoReflect() protoreflect.Message
func (*PushProxyInfoResp) Reset ¶ added in v0.0.31
func (x *PushProxyInfoResp) Reset()
func (*PushProxyInfoResp) String ¶ added in v0.0.31
func (x *PushProxyInfoResp) String() string
type PushServerStreamLogReq ¶ added in v0.0.32
type PushServerStreamLogReq struct { Log []byte `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` Base *ServerBase `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*PushServerStreamLogReq) Descriptor
deprecated
added in
v0.0.32
func (*PushServerStreamLogReq) Descriptor() ([]byte, []int)
Deprecated: Use PushServerStreamLogReq.ProtoReflect.Descriptor instead.
func (*PushServerStreamLogReq) GetBase ¶ added in v0.0.32
func (x *PushServerStreamLogReq) GetBase() *ServerBase
func (*PushServerStreamLogReq) GetLog ¶ added in v0.0.32
func (x *PushServerStreamLogReq) GetLog() []byte
func (*PushServerStreamLogReq) ProtoMessage ¶ added in v0.0.32
func (*PushServerStreamLogReq) ProtoMessage()
func (*PushServerStreamLogReq) ProtoReflect ¶ added in v0.0.32
func (x *PushServerStreamLogReq) ProtoReflect() protoreflect.Message
func (*PushServerStreamLogReq) Reset ¶ added in v0.0.32
func (x *PushServerStreamLogReq) Reset()
func (*PushServerStreamLogReq) String ¶ added in v0.0.32
func (x *PushServerStreamLogReq) String() string
type PushStreamLogResp ¶ added in v0.0.32
type PushStreamLogResp 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 (*PushStreamLogResp) Descriptor
deprecated
added in
v0.0.32
func (*PushStreamLogResp) Descriptor() ([]byte, []int)
Deprecated: Use PushStreamLogResp.ProtoReflect.Descriptor instead.
func (*PushStreamLogResp) GetOk ¶ added in v0.0.32
func (x *PushStreamLogResp) GetOk() bool
func (*PushStreamLogResp) GetStatus ¶ added in v0.0.32
func (x *PushStreamLogResp) GetStatus() *Status
func (*PushStreamLogResp) ProtoMessage ¶ added in v0.0.32
func (*PushStreamLogResp) ProtoMessage()
func (*PushStreamLogResp) ProtoReflect ¶ added in v0.0.32
func (x *PushStreamLogResp) ProtoReflect() protoreflect.Message
func (*PushStreamLogResp) Reset ¶ added in v0.0.32
func (x *PushStreamLogResp) Reset()
func (*PushStreamLogResp) String ¶ added in v0.0.32
func (x *PushStreamLogResp) 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) EnumDescriptor
deprecated
func (RespCode) Number ¶
func (x RespCode) Number() protoreflect.EnumNumber
func (RespCode) Type ¶
func (RespCode) Type() protoreflect.EnumType
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) GetComment ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
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) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMasterServer) FRPCAuth ¶
func (UnimplementedMasterServer) FRPCAuth(context.Context, *FRPAuthRequest) (*FRPAuthResponse, error)
func (UnimplementedMasterServer) PTYConnect ¶ added in v0.0.32
func (UnimplementedMasterServer) PTYConnect(grpc.BidiStreamingServer[PTYClientMessage, PTYServerMessage]) error
func (UnimplementedMasterServer) PullClientConfig ¶
func (UnimplementedMasterServer) PullClientConfig(context.Context, *PullClientConfigReq) (*PullClientConfigResp, error)
func (UnimplementedMasterServer) PullServerConfig ¶
func (UnimplementedMasterServer) PullServerConfig(context.Context, *PullServerConfigReq) (*PullServerConfigResp, error)
func (UnimplementedMasterServer) PushClientStreamLog ¶ added in v0.0.32
func (UnimplementedMasterServer) PushClientStreamLog(grpc.ClientStreamingServer[PushClientStreamLogReq, PushStreamLogResp]) error
func (UnimplementedMasterServer) PushProxyInfo ¶ added in v0.0.31
func (UnimplementedMasterServer) PushProxyInfo(context.Context, *PushProxyInfoReq) (*PushProxyInfoResp, error)
func (UnimplementedMasterServer) PushServerStreamLog ¶ added in v0.0.32
func (UnimplementedMasterServer) PushServerStreamLog(grpc.ClientStreamingServer[PushServerStreamLogReq, PushStreamLogResp]) error
func (UnimplementedMasterServer) ServerSend ¶
func (UnimplementedMasterServer) ServerSend(grpc.BidiStreamingServer[ClientMessage, ServerMessage]) error
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"` ServerIp *string `protobuf:"bytes,4,opt,name=server_ip,json=serverIp,proto3,oneof" json:"server_ip,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) GetServerIp ¶ added in v0.0.41
func (x *UpdateFRPSRequest) GetServerIp() 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) GetRawPassword ¶
func (*User) GetTenantID ¶
func (*User) GetUserName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message