Files
frp-panel/pb/api_server.pb.go
2024-12-05 18:55:00 +00:00

1154 lines
40 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.35.2
// protoc v4.25.1
// source: api_server.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type InitServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *InitServerRequest) Reset() {
*x = InitServerRequest{}
mi := &file_api_server_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InitServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InitServerRequest) ProtoMessage() {}
func (x *InitServerRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InitServerRequest.ProtoReflect.Descriptor instead.
func (*InitServerRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{0}
}
func (x *InitServerRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
func (x *InitServerRequest) GetServerIp() string {
if x != nil && x.ServerIp != nil {
return *x.ServerIp
}
return ""
}
func (x *InitServerRequest) GetComment() string {
if x != nil && x.Comment != nil {
return *x.Comment
}
return ""
}
type InitServerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *InitServerResponse) Reset() {
*x = InitServerResponse{}
mi := &file_api_server_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InitServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InitServerResponse) ProtoMessage() {}
func (x *InitServerResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InitServerResponse.ProtoReflect.Descriptor instead.
func (*InitServerResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{1}
}
func (x *InitServerResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *InitServerResponse) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type ListServersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *ListServersRequest) Reset() {
*x = ListServersRequest{}
mi := &file_api_server_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListServersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListServersRequest) ProtoMessage() {}
func (x *ListServersRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListServersRequest.ProtoReflect.Descriptor instead.
func (*ListServersRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{2}
}
func (x *ListServersRequest) GetPage() int32 {
if x != nil && x.Page != nil {
return *x.Page
}
return 0
}
func (x *ListServersRequest) GetPageSize() int32 {
if x != nil && x.PageSize != nil {
return *x.PageSize
}
return 0
}
func (x *ListServersRequest) GetKeyword() string {
if x != nil && x.Keyword != nil {
return *x.Keyword
}
return ""
}
type ListServersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *ListServersResponse) Reset() {
*x = ListServersResponse{}
mi := &file_api_server_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListServersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListServersResponse) ProtoMessage() {}
func (x *ListServersResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListServersResponse.ProtoReflect.Descriptor instead.
func (*ListServersResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{3}
}
func (x *ListServersResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *ListServersResponse) GetTotal() int32 {
if x != nil && x.Total != nil {
return *x.Total
}
return 0
}
func (x *ListServersResponse) GetServers() []*Server {
if x != nil {
return x.Servers
}
return nil
}
type GetServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *GetServerRequest) Reset() {
*x = GetServerRequest{}
mi := &file_api_server_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetServerRequest) ProtoMessage() {}
func (x *GetServerRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetServerRequest.ProtoReflect.Descriptor instead.
func (*GetServerRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{4}
}
func (x *GetServerRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type GetServerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *GetServerResponse) Reset() {
*x = GetServerResponse{}
mi := &file_api_server_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetServerResponse) ProtoMessage() {}
func (x *GetServerResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetServerResponse.ProtoReflect.Descriptor instead.
func (*GetServerResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{5}
}
func (x *GetServerResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *GetServerResponse) GetServer() *Server {
if x != nil {
return x.Server
}
return nil
}
type DeleteServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *DeleteServerRequest) Reset() {
*x = DeleteServerRequest{}
mi := &file_api_server_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteServerRequest) ProtoMessage() {}
func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteServerRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{6}
}
func (x *DeleteServerRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type DeleteServerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
func (x *DeleteServerResponse) Reset() {
*x = DeleteServerResponse{}
mi := &file_api_server_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteServerResponse) ProtoMessage() {}
func (x *DeleteServerResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteServerResponse.ProtoReflect.Descriptor instead.
func (*DeleteServerResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{7}
}
func (x *DeleteServerResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
type UpdateFRPSRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *UpdateFRPSRequest) Reset() {
*x = UpdateFRPSRequest{}
mi := &file_api_server_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateFRPSRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFRPSRequest) ProtoMessage() {}
func (x *UpdateFRPSRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateFRPSRequest.ProtoReflect.Descriptor instead.
func (*UpdateFRPSRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateFRPSRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
func (x *UpdateFRPSRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
func (x *UpdateFRPSRequest) GetComment() string {
if x != nil && x.Comment != nil {
return *x.Comment
}
return ""
}
func (x *UpdateFRPSRequest) GetServerIp() string {
if x != nil && x.ServerIp != nil {
return *x.ServerIp
}
return ""
}
type UpdateFRPSResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
func (x *UpdateFRPSResponse) Reset() {
*x = UpdateFRPSResponse{}
mi := &file_api_server_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateFRPSResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFRPSResponse) ProtoMessage() {}
func (x *UpdateFRPSResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateFRPSResponse.ProtoReflect.Descriptor instead.
func (*UpdateFRPSResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateFRPSResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
type RemoveFRPSRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *RemoveFRPSRequest) Reset() {
*x = RemoveFRPSRequest{}
mi := &file_api_server_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveFRPSRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveFRPSRequest) ProtoMessage() {}
func (x *RemoveFRPSRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemoveFRPSRequest.ProtoReflect.Descriptor instead.
func (*RemoveFRPSRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{10}
}
func (x *RemoveFRPSRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type RemoveFRPSResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
func (x *RemoveFRPSResponse) Reset() {
*x = RemoveFRPSResponse{}
mi := &file_api_server_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveFRPSResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveFRPSResponse) ProtoMessage() {}
func (x *RemoveFRPSResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemoveFRPSResponse.ProtoReflect.Descriptor instead.
func (*RemoveFRPSResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{11}
}
func (x *RemoveFRPSResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
type StopFRPSRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *StopFRPSRequest) Reset() {
*x = StopFRPSRequest{}
mi := &file_api_server_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopFRPSRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopFRPSRequest) ProtoMessage() {}
func (x *StopFRPSRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StopFRPSRequest.ProtoReflect.Descriptor instead.
func (*StopFRPSRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{12}
}
func (x *StopFRPSRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type StopFRPSResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
func (x *StopFRPSResponse) Reset() {
*x = StopFRPSResponse{}
mi := &file_api_server_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StopFRPSResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StopFRPSResponse) ProtoMessage() {}
func (x *StopFRPSResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StopFRPSResponse.ProtoReflect.Descriptor instead.
func (*StopFRPSResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{13}
}
func (x *StopFRPSResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
type StartFRPSRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *StartFRPSRequest) Reset() {
*x = StartFRPSRequest{}
mi := &file_api_server_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartFRPSRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartFRPSRequest) ProtoMessage() {}
func (x *StartFRPSRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StartFRPSRequest.ProtoReflect.Descriptor instead.
func (*StartFRPSRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{14}
}
func (x *StartFRPSRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type StartFRPSResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *Status `protobuf:"bytes,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
func (x *StartFRPSResponse) Reset() {
*x = StartFRPSResponse{}
mi := &file_api_server_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartFRPSResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartFRPSResponse) ProtoMessage() {}
func (x *StartFRPSResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StartFRPSResponse.ProtoReflect.Descriptor instead.
func (*StartFRPSResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{15}
}
func (x *StartFRPSResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
type GetProxyBySIDRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId *string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
}
func (x *GetProxyBySIDRequest) Reset() {
*x = GetProxyBySIDRequest{}
mi := &file_api_server_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProxyBySIDRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProxyBySIDRequest) ProtoMessage() {}
func (x *GetProxyBySIDRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetProxyBySIDRequest.ProtoReflect.Descriptor instead.
func (*GetProxyBySIDRequest) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{16}
}
func (x *GetProxyBySIDRequest) GetServerId() string {
if x != nil && x.ServerId != nil {
return *x.ServerId
}
return ""
}
type GetProxyBySIDResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *GetProxyBySIDResponse) Reset() {
*x = GetProxyBySIDResponse{}
mi := &file_api_server_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProxyBySIDResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProxyBySIDResponse) ProtoMessage() {}
func (x *GetProxyBySIDResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_server_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetProxyBySIDResponse.ProtoReflect.Descriptor instead.
func (*GetProxyBySIDResponse) Descriptor() ([]byte, []int) {
return file_api_server_proto_rawDescGZIP(), []int{17}
}
func (x *GetProxyBySIDResponse) GetStatus() *Status {
if x != nil {
return x.Status
}
return nil
}
func (x *GetProxyBySIDResponse) GetProxyInfos() []*ProxyInfo {
if x != nil {
return x.ProxyInfos
}
return nil
}
var File_api_server_proto protoreflect.FileDescriptor
var file_api_server_proto_rawDesc = []byte{
0x0a, 0x10, 0x61, 0x70, 0x69, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x1a, 0x0c,
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a,
0x11, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69,
0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
0x72, 0x49, 0x70, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
0x6e, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69,
0x70, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x7c, 0x0a,
0x12, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01,
0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88,
0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x0c, 0x0a,
0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x12,
0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x70,
0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01,
0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a,
0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02,
0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05,
0x5f, 0x70, 0x61, 0x67, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
0x69, 0x7a, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x22,
0x9c, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x12,
0x28, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x42,
0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
0x69, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x01, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x88,
0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x09, 0x0a,
0x07, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x45, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01,
0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22,
0x4e, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
0xc6, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x70,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x49, 0x70, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0a,
0x0a, 0x08, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73,
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x22, 0x4c, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b,
0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00,
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x43, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x73,
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a,
0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x4c, 0x0a, 0x12, 0x52,
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09,
0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x41, 0x0a, 0x0f, 0x53, 0x74, 0x6f,
0x70, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09,
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c,
0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x10,
0x53, 0x74, 0x6f, 0x70, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a,
0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x42, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72,
0x74, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x09,
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c,
0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x11,
0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x52, 0x50, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09,
0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x46, 0x0a, 0x14, 0x47, 0x65, 0x74,
0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x79, 0x53, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x20, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64,
0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69,
0x64, 0x22, 0x83, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x42, 0x79,
0x53, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f,
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x78,
0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x0a, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x42, 0x09, 0x0a, 0x07,
0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_api_server_proto_rawDescOnce sync.Once
file_api_server_proto_rawDescData = file_api_server_proto_rawDesc
)
func file_api_server_proto_rawDescGZIP() []byte {
file_api_server_proto_rawDescOnce.Do(func() {
file_api_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_server_proto_rawDescData)
})
return file_api_server_proto_rawDescData
}
var file_api_server_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_api_server_proto_goTypes = []any{
(*InitServerRequest)(nil), // 0: api_server.InitServerRequest
(*InitServerResponse)(nil), // 1: api_server.InitServerResponse
(*ListServersRequest)(nil), // 2: api_server.ListServersRequest
(*ListServersResponse)(nil), // 3: api_server.ListServersResponse
(*GetServerRequest)(nil), // 4: api_server.GetServerRequest
(*GetServerResponse)(nil), // 5: api_server.GetServerResponse
(*DeleteServerRequest)(nil), // 6: api_server.DeleteServerRequest
(*DeleteServerResponse)(nil), // 7: api_server.DeleteServerResponse
(*UpdateFRPSRequest)(nil), // 8: api_server.UpdateFRPSRequest
(*UpdateFRPSResponse)(nil), // 9: api_server.UpdateFRPSResponse
(*RemoveFRPSRequest)(nil), // 10: api_server.RemoveFRPSRequest
(*RemoveFRPSResponse)(nil), // 11: api_server.RemoveFRPSResponse
(*StopFRPSRequest)(nil), // 12: api_server.StopFRPSRequest
(*StopFRPSResponse)(nil), // 13: api_server.StopFRPSResponse
(*StartFRPSRequest)(nil), // 14: api_server.StartFRPSRequest
(*StartFRPSResponse)(nil), // 15: api_server.StartFRPSResponse
(*GetProxyBySIDRequest)(nil), // 16: api_server.GetProxyBySIDRequest
(*GetProxyBySIDResponse)(nil), // 17: api_server.GetProxyBySIDResponse
(*Status)(nil), // 18: common.Status
(*Server)(nil), // 19: common.Server
(*ProxyInfo)(nil), // 20: common.ProxyInfo
}
var file_api_server_proto_depIdxs = []int32{
18, // 0: api_server.InitServerResponse.status:type_name -> common.Status
18, // 1: api_server.ListServersResponse.status:type_name -> common.Status
19, // 2: api_server.ListServersResponse.servers:type_name -> common.Server
18, // 3: api_server.GetServerResponse.status:type_name -> common.Status
19, // 4: api_server.GetServerResponse.server:type_name -> common.Server
18, // 5: api_server.DeleteServerResponse.status:type_name -> common.Status
18, // 6: api_server.UpdateFRPSResponse.status:type_name -> common.Status
18, // 7: api_server.RemoveFRPSResponse.status:type_name -> common.Status
18, // 8: api_server.StopFRPSResponse.status:type_name -> common.Status
18, // 9: api_server.StartFRPSResponse.status:type_name -> common.Status
18, // 10: api_server.GetProxyBySIDResponse.status:type_name -> common.Status
20, // 11: api_server.GetProxyBySIDResponse.proxy_infos:type_name -> common.ProxyInfo
12, // [12:12] is the sub-list for method output_type
12, // [12:12] is the sub-list for method input_type
12, // [12:12] is the sub-list for extension type_name
12, // [12:12] is the sub-list for extension extendee
0, // [0:12] is the sub-list for field type_name
}
func init() { file_api_server_proto_init() }
func file_api_server_proto_init() {
if File_api_server_proto != nil {
return
}
file_common_proto_init()
file_api_server_proto_msgTypes[0].OneofWrappers = []any{}
file_api_server_proto_msgTypes[1].OneofWrappers = []any{}
file_api_server_proto_msgTypes[2].OneofWrappers = []any{}
file_api_server_proto_msgTypes[3].OneofWrappers = []any{}
file_api_server_proto_msgTypes[4].OneofWrappers = []any{}
file_api_server_proto_msgTypes[5].OneofWrappers = []any{}
file_api_server_proto_msgTypes[6].OneofWrappers = []any{}
file_api_server_proto_msgTypes[7].OneofWrappers = []any{}
file_api_server_proto_msgTypes[8].OneofWrappers = []any{}
file_api_server_proto_msgTypes[9].OneofWrappers = []any{}
file_api_server_proto_msgTypes[10].OneofWrappers = []any{}
file_api_server_proto_msgTypes[11].OneofWrappers = []any{}
file_api_server_proto_msgTypes[12].OneofWrappers = []any{}
file_api_server_proto_msgTypes[13].OneofWrappers = []any{}
file_api_server_proto_msgTypes[14].OneofWrappers = []any{}
file_api_server_proto_msgTypes[15].OneofWrappers = []any{}
file_api_server_proto_msgTypes[16].OneofWrappers = []any{}
file_api_server_proto_msgTypes[17].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_server_proto_rawDesc,
NumEnums: 0,
NumMessages: 18,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_api_server_proto_goTypes,
DependencyIndexes: file_api_server_proto_depIdxs,
MessageInfos: file_api_server_proto_msgTypes,
}.Build()
File_api_server_proto = out.File
file_api_server_proto_rawDesc = nil
file_api_server_proto_goTypes = nil
file_api_server_proto_depIdxs = nil
}