Documentation ¶
Index ¶
- Variables
- type CreateServerToc
- type CreateServerTos
- type GetAllServersToc
- type GetAllServersTos
- type HeartToc
- type HeartTos
- type PbServer
- func (*PbServer) Descriptor() ([]byte, []int)deprecated
- func (x *PbServer) GetAddress() string
- func (x *PbServer) GetId() int64
- func (x *PbServer) GetPort() uint32
- func (*PbServer) ProtoMessage()
- func (x *PbServer) ProtoReflect() protoreflect.Message
- func (x *PbServer) Reset()
- func (x *PbServer) String() string
- type UdpToc
- type UdpTos
Constants ¶
This section is empty.
Variables ¶
View Source
var File_vpn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateServerToc ¶
type CreateServerToc struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*CreateServerToc) Descriptor
deprecated
func (*CreateServerToc) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerToc.ProtoReflect.Descriptor instead.
func (*CreateServerToc) GetSuccess ¶
func (x *CreateServerToc) GetSuccess() bool
func (*CreateServerToc) ProtoMessage ¶
func (*CreateServerToc) ProtoMessage()
func (*CreateServerToc) ProtoReflect ¶
func (x *CreateServerToc) ProtoReflect() protoreflect.Message
func (*CreateServerToc) Reset ¶
func (x *CreateServerToc) Reset()
func (*CreateServerToc) String ¶
func (x *CreateServerToc) String() string
type CreateServerTos ¶
type CreateServerTos struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*CreateServerTos) Descriptor
deprecated
func (*CreateServerTos) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerTos.ProtoReflect.Descriptor instead.
func (*CreateServerTos) GetPort ¶
func (x *CreateServerTos) GetPort() uint32
func (*CreateServerTos) ProtoMessage ¶
func (*CreateServerTos) ProtoMessage()
func (*CreateServerTos) ProtoReflect ¶
func (x *CreateServerTos) ProtoReflect() protoreflect.Message
func (*CreateServerTos) Reset ¶
func (x *CreateServerTos) Reset()
func (*CreateServerTos) String ¶
func (x *CreateServerTos) String() string
type GetAllServersToc ¶
type GetAllServersToc struct { List []*PbServer `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetAllServersToc) Descriptor
deprecated
func (*GetAllServersToc) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServersToc.ProtoReflect.Descriptor instead.
func (*GetAllServersToc) GetList ¶
func (x *GetAllServersToc) GetList() []*PbServer
func (*GetAllServersToc) ProtoMessage ¶
func (*GetAllServersToc) ProtoMessage()
func (*GetAllServersToc) ProtoReflect ¶
func (x *GetAllServersToc) ProtoReflect() protoreflect.Message
func (*GetAllServersToc) Reset ¶
func (x *GetAllServersToc) Reset()
func (*GetAllServersToc) String ¶
func (x *GetAllServersToc) String() string
type GetAllServersTos ¶
type GetAllServersTos struct {
// contains filtered or unexported fields
}
func (*GetAllServersTos) Descriptor
deprecated
func (*GetAllServersTos) Descriptor() ([]byte, []int)
Deprecated: Use GetAllServersTos.ProtoReflect.Descriptor instead.
func (*GetAllServersTos) ProtoMessage ¶
func (*GetAllServersTos) ProtoMessage()
func (*GetAllServersTos) ProtoReflect ¶
func (x *GetAllServersTos) ProtoReflect() protoreflect.Message
func (*GetAllServersTos) Reset ¶
func (x *GetAllServersTos) Reset()
func (*GetAllServersTos) String ¶
func (x *GetAllServersTos) String() string
type HeartToc ¶
type HeartToc struct {
// contains filtered or unexported fields
}
func (*HeartToc) Descriptor
deprecated
func (*HeartToc) ProtoMessage ¶
func (*HeartToc) ProtoMessage()
func (*HeartToc) ProtoReflect ¶
func (x *HeartToc) ProtoReflect() protoreflect.Message
type HeartTos ¶
type HeartTos struct {
// contains filtered or unexported fields
}
func (*HeartTos) Descriptor
deprecated
func (*HeartTos) ProtoMessage ¶
func (*HeartTos) ProtoMessage()
func (*HeartTos) ProtoReflect ¶
func (x *HeartTos) ProtoReflect() protoreflect.Message
type PbServer ¶
type PbServer struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*PbServer) Descriptor
deprecated
func (*PbServer) GetAddress ¶
func (*PbServer) ProtoMessage ¶
func (*PbServer) ProtoMessage()
func (*PbServer) ProtoReflect ¶
func (x *PbServer) ProtoReflect() protoreflect.Message
type UdpToc ¶
type UdpToc struct { FromId int64 `protobuf:"varint,1,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UdpToc) Descriptor
deprecated
func (*UdpToc) ProtoMessage ¶
func (*UdpToc) ProtoMessage()
func (*UdpToc) ProtoReflect ¶
func (x *UdpToc) ProtoReflect() protoreflect.Message
type UdpTos ¶
type UdpTos struct { ToId int64 `protobuf:"varint,1,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UdpTos) Descriptor
deprecated
func (*UdpTos) ProtoMessage ¶
func (*UdpTos) ProtoMessage()
func (*UdpTos) ProtoReflect ¶
func (x *UdpTos) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.