Documentation ¶
Index ¶
- Variables
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetDescription() *Response_Description
- func (x *Response) GetFavicon() string
- func (x *Response) GetPlayers() *Response_Players
- func (x *Response) GetVersion() *Response_Version
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_Description
- func (*Response_Description) Descriptor() ([]byte, []int)deprecated
- func (x *Response_Description) GetExtra() []*Response_Description_Extra
- func (x *Response_Description) GetText() string
- func (*Response_Description) ProtoMessage()
- func (x *Response_Description) ProtoReflect() protoreflect.Message
- func (x *Response_Description) Reset()
- func (x *Response_Description) String() string
- type Response_Description_Extra
- func (*Response_Description_Extra) Descriptor() ([]byte, []int)deprecated
- func (x *Response_Description_Extra) GetText() string
- func (*Response_Description_Extra) ProtoMessage()
- func (x *Response_Description_Extra) ProtoReflect() protoreflect.Message
- func (x *Response_Description_Extra) Reset()
- func (x *Response_Description_Extra) String() string
- type Response_Players
- func (*Response_Players) Descriptor() ([]byte, []int)deprecated
- func (x *Response_Players) GetMax() int32
- func (x *Response_Players) GetOnline() int32
- func (x *Response_Players) GetSample() []*Response_Players_Sample
- func (*Response_Players) ProtoMessage()
- func (x *Response_Players) ProtoReflect() protoreflect.Message
- func (x *Response_Players) Reset()
- func (x *Response_Players) String() string
- type Response_Players_Sample
- func (*Response_Players_Sample) Descriptor() ([]byte, []int)deprecated
- func (x *Response_Players_Sample) GetId() string
- func (x *Response_Players_Sample) GetName() string
- func (*Response_Players_Sample) ProtoMessage()
- func (x *Response_Players_Sample) ProtoReflect() protoreflect.Message
- func (x *Response_Players_Sample) Reset()
- func (x *Response_Players_Sample) String() string
- type Response_Version
- func (*Response_Version) Descriptor() ([]byte, []int)deprecated
- func (x *Response_Version) GetName() string
- func (x *Response_Version) GetProtocol() int32
- func (*Response_Version) ProtoMessage()
- func (x *Response_Version) ProtoReflect() protoreflect.Message
- func (x *Response_Version) Reset()
- func (x *Response_Version) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Version *Response_Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Players *Response_Players `protobuf:"bytes,2,opt,name=players,proto3" json:"players,omitempty"` Description *Response_Description `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Favicon string `protobuf:"bytes,4,opt,name=favicon,proto3" json:"favicon,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetDescription ¶
func (x *Response) GetDescription() *Response_Description
func (*Response) GetFavicon ¶
func (*Response) GetPlayers ¶
func (x *Response) GetPlayers() *Response_Players
func (*Response) GetVersion ¶
func (x *Response) GetVersion() *Response_Version
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_Description ¶
type Response_Description struct { Extra []*Response_Description_Extra `protobuf:"bytes,1,rep,name=extra,proto3" json:"extra,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Response_Description) Descriptor
deprecated
func (*Response_Description) Descriptor() ([]byte, []int)
Deprecated: Use Response_Description.ProtoReflect.Descriptor instead.
func (*Response_Description) GetExtra ¶
func (x *Response_Description) GetExtra() []*Response_Description_Extra
func (*Response_Description) GetText ¶
func (x *Response_Description) GetText() string
func (*Response_Description) ProtoMessage ¶
func (*Response_Description) ProtoMessage()
func (*Response_Description) ProtoReflect ¶
func (x *Response_Description) ProtoReflect() protoreflect.Message
func (*Response_Description) Reset ¶
func (x *Response_Description) Reset()
func (*Response_Description) String ¶
func (x *Response_Description) String() string
type Response_Description_Extra ¶
type Response_Description_Extra struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Response_Description_Extra) Descriptor
deprecated
func (*Response_Description_Extra) Descriptor() ([]byte, []int)
Deprecated: Use Response_Description_Extra.ProtoReflect.Descriptor instead.
func (*Response_Description_Extra) GetText ¶
func (x *Response_Description_Extra) GetText() string
func (*Response_Description_Extra) ProtoMessage ¶
func (*Response_Description_Extra) ProtoMessage()
func (*Response_Description_Extra) ProtoReflect ¶
func (x *Response_Description_Extra) ProtoReflect() protoreflect.Message
func (*Response_Description_Extra) Reset ¶
func (x *Response_Description_Extra) Reset()
func (*Response_Description_Extra) String ¶
func (x *Response_Description_Extra) String() string
type Response_Players ¶
type Response_Players struct { Max int32 `protobuf:"varint,1,opt,name=max,proto3" json:"max,omitempty"` Online int32 `protobuf:"varint,2,opt,name=online,proto3" json:"online,omitempty"` Sample []*Response_Players_Sample `protobuf:"bytes,3,rep,name=sample,proto3" json:"sample,omitempty"` // contains filtered or unexported fields }
func (*Response_Players) Descriptor
deprecated
func (*Response_Players) Descriptor() ([]byte, []int)
Deprecated: Use Response_Players.ProtoReflect.Descriptor instead.
func (*Response_Players) GetMax ¶
func (x *Response_Players) GetMax() int32
func (*Response_Players) GetOnline ¶
func (x *Response_Players) GetOnline() int32
func (*Response_Players) GetSample ¶
func (x *Response_Players) GetSample() []*Response_Players_Sample
func (*Response_Players) ProtoMessage ¶
func (*Response_Players) ProtoMessage()
func (*Response_Players) ProtoReflect ¶
func (x *Response_Players) ProtoReflect() protoreflect.Message
func (*Response_Players) Reset ¶
func (x *Response_Players) Reset()
func (*Response_Players) String ¶
func (x *Response_Players) String() string
type Response_Players_Sample ¶
type Response_Players_Sample struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Response_Players_Sample) Descriptor
deprecated
func (*Response_Players_Sample) Descriptor() ([]byte, []int)
Deprecated: Use Response_Players_Sample.ProtoReflect.Descriptor instead.
func (*Response_Players_Sample) GetId ¶
func (x *Response_Players_Sample) GetId() string
func (*Response_Players_Sample) GetName ¶
func (x *Response_Players_Sample) GetName() string
func (*Response_Players_Sample) ProtoMessage ¶
func (*Response_Players_Sample) ProtoMessage()
func (*Response_Players_Sample) ProtoReflect ¶
func (x *Response_Players_Sample) ProtoReflect() protoreflect.Message
func (*Response_Players_Sample) Reset ¶
func (x *Response_Players_Sample) Reset()
func (*Response_Players_Sample) String ¶
func (x *Response_Players_Sample) String() string
type Response_Version ¶
type Response_Version struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Protocol int32 `protobuf:"varint,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*Response_Version) Descriptor
deprecated
func (*Response_Version) Descriptor() ([]byte, []int)
Deprecated: Use Response_Version.ProtoReflect.Descriptor instead.
func (*Response_Version) GetName ¶
func (x *Response_Version) GetName() string
func (*Response_Version) GetProtocol ¶
func (x *Response_Version) GetProtocol() int32
func (*Response_Version) ProtoMessage ¶
func (*Response_Version) ProtoMessage()
func (*Response_Version) ProtoReflect ¶
func (x *Response_Version) ProtoReflect() protoreflect.Message
func (*Response_Version) Reset ¶
func (x *Response_Version) Reset()
func (*Response_Version) String ¶
func (x *Response_Version) String() string
Click to show internal directories.
Click to hide internal directories.