pb

package
v0.0.0-...-2186941 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Deprecated: Use HeartToc.ProtoReflect.Descriptor instead.

func (*HeartToc) ProtoMessage

func (*HeartToc) ProtoMessage()

func (*HeartToc) ProtoReflect

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

func (*HeartToc) Reset

func (x *HeartToc) Reset()

func (*HeartToc) String

func (x *HeartToc) String() string

type HeartTos

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

func (*HeartTos) Descriptor deprecated

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

Deprecated: Use HeartTos.ProtoReflect.Descriptor instead.

func (*HeartTos) ProtoMessage

func (*HeartTos) ProtoMessage()

func (*HeartTos) ProtoReflect

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

func (*HeartTos) Reset

func (x *HeartTos) Reset()

func (*HeartTos) String

func (x *HeartTos) String() string

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

Deprecated: Use PbServer.ProtoReflect.Descriptor instead.

func (*PbServer) GetAddress

func (x *PbServer) GetAddress() string

func (*PbServer) GetId

func (x *PbServer) GetId() int64

func (*PbServer) GetPort

func (x *PbServer) GetPort() uint32

func (*PbServer) ProtoMessage

func (*PbServer) ProtoMessage()

func (*PbServer) ProtoReflect

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

func (*PbServer) Reset

func (x *PbServer) Reset()

func (*PbServer) String

func (x *PbServer) String() string

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

Deprecated: Use UdpToc.ProtoReflect.Descriptor instead.

func (*UdpToc) GetData

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

func (*UdpToc) GetFromId

func (x *UdpToc) GetFromId() int64

func (*UdpToc) ProtoMessage

func (*UdpToc) ProtoMessage()

func (*UdpToc) ProtoReflect

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

func (*UdpToc) Reset

func (x *UdpToc) Reset()

func (*UdpToc) String

func (x *UdpToc) String() string

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

Deprecated: Use UdpTos.ProtoReflect.Descriptor instead.

func (*UdpTos) GetData

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

func (*UdpTos) GetToId

func (x *UdpTos) GetToId() int64

func (*UdpTos) ProtoMessage

func (*UdpTos) ProtoMessage()

func (*UdpTos) ProtoReflect

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

func (*UdpTos) Reset

func (x *UdpTos) Reset()

func (*UdpTos) String

func (x *UdpTos) String() string

Jump to

Keyboard shortcuts

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