common

package
v0.0.0-...-8d931ec Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_models_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConnectableServer

type ConnectableServer struct {

	// id Kubernetes pod name, e.g lobby-wgxtd-llffk
	Id      string `protobuf:"bytes,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 (*ConnectableServer) Descriptor deprecated

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

Deprecated: Use ConnectableServer.ProtoReflect.Descriptor instead.

func (*ConnectableServer) GetAddress

func (x *ConnectableServer) GetAddress() string

func (*ConnectableServer) GetId

func (x *ConnectableServer) GetId() string

func (*ConnectableServer) GetPort

func (x *ConnectableServer) GetPort() uint32

func (*ConnectableServer) ProtoMessage

func (*ConnectableServer) ProtoMessage()

func (*ConnectableServer) ProtoReflect

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

func (*ConnectableServer) Reset

func (x *ConnectableServer) Reset()

func (*ConnectableServer) String

func (x *ConnectableServer) String() string

type PageData

type PageData struct {
	Page          uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size          uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	TotalElements uint64 `protobuf:"varint,3,opt,name=total_elements,json=totalElements,proto3" json:"total_elements,omitempty"`
	TotalPages    uint64 `protobuf:"varint,4,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
	// contains filtered or unexported fields
}

func (*PageData) Descriptor deprecated

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

Deprecated: Use PageData.ProtoReflect.Descriptor instead.

func (*PageData) GetPage

func (x *PageData) GetPage() uint64

func (*PageData) GetSize

func (x *PageData) GetSize() uint64

func (*PageData) GetTotalElements

func (x *PageData) GetTotalElements() uint64

func (*PageData) GetTotalPages

func (x *PageData) GetTotalPages() uint64

func (*PageData) ProtoMessage

func (*PageData) ProtoMessage()

func (*PageData) ProtoReflect

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

func (*PageData) Reset

func (x *PageData) Reset()

func (*PageData) String

func (x *PageData) String() string

type Pageable

type Pageable struct {
	Page uint64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Size *uint64 `protobuf:"varint,2,opt,name=size,proto3,oneof" json:"size,omitempty"`
	// contains filtered or unexported fields
}

Pageable utilities NOTE: Page values start at 0, not 1

func (*Pageable) Descriptor deprecated

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

Deprecated: Use Pageable.ProtoReflect.Descriptor instead.

func (*Pageable) GetPage

func (x *Pageable) GetPage() uint64

func (*Pageable) GetSize

func (x *Pageable) GetSize() uint64

func (*Pageable) ProtoMessage

func (*Pageable) ProtoMessage()

func (*Pageable) ProtoReflect

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

func (*Pageable) Reset

func (x *Pageable) Reset()

func (*Pageable) String

func (x *Pageable) String() string

type PlayerSkin

type PlayerSkin struct {
	Texture   string `protobuf:"bytes,1,opt,name=texture,proto3" json:"texture,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerSkin) Descriptor deprecated

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

Deprecated: Use PlayerSkin.ProtoReflect.Descriptor instead.

func (*PlayerSkin) GetSignature

func (x *PlayerSkin) GetSignature() string

func (*PlayerSkin) GetTexture

func (x *PlayerSkin) GetTexture() string

func (*PlayerSkin) ProtoMessage

func (*PlayerSkin) ProtoMessage()

func (*PlayerSkin) ProtoReflect

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

func (*PlayerSkin) Reset

func (x *PlayerSkin) Reset()

func (*PlayerSkin) String

func (x *PlayerSkin) String() string

type Sortable

type Sortable struct {
	Field     string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Ascending bool   `protobuf:"varint,2,opt,name=ascending,proto3" json:"ascending,omitempty"`
	// contains filtered or unexported fields
}

func (*Sortable) Descriptor deprecated

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

Deprecated: Use Sortable.ProtoReflect.Descriptor instead.

func (*Sortable) GetAscending

func (x *Sortable) GetAscending() bool

func (*Sortable) GetField

func (x *Sortable) GetField() string

func (*Sortable) ProtoMessage

func (*Sortable) ProtoMessage()

func (*Sortable) ProtoReflect

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

func (*Sortable) Reset

func (x *Sortable) Reset()

func (*Sortable) String

func (x *Sortable) String() string

Jump to

Keyboard shortcuts

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