utils

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_utils_utils_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Base added in v0.0.13

type Base struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
	LockSecret   string `protobuf:"bytes,2,opt,name=lockSecret,proto3" json:"-" bson:"lockSecret"`
	LockExpireAt int64  `protobuf:"varint,3,opt,name=lockExpireAt,proto3" json:"lockExpireAt" bson:"lockExpireAt"`
	Version      int64  `protobuf:"varint,5,opt,name=version,proto3" json:"version" bson:"version"`
	CreateAt     int64  `protobuf:"varint,6,opt,name=createAt,proto3" json:"createAt" bson:"createAt"`
	UpdateAt     int64  `protobuf:"varint,7,opt,name=updateAt,proto3" json:"updateAt" bson:"updateAt"`
	// contains filtered or unexported fields
}

func (*Base) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Base.ProtoReflect.Descriptor instead.

func (*Base) GetCreateAt added in v0.0.13

func (x *Base) GetCreateAt() int64

func (*Base) GetId added in v0.0.13

func (x *Base) GetId() string

func (*Base) GetLockExpireAt added in v0.0.13

func (x *Base) GetLockExpireAt() int64

func (*Base) GetLockSecret added in v0.0.13

func (x *Base) GetLockSecret() string

func (*Base) GetUpdateAt added in v0.0.13

func (x *Base) GetUpdateAt() int64

func (*Base) GetVersion added in v0.0.13

func (x *Base) GetVersion() int64

func (*Base) ProtoMessage added in v0.0.13

func (*Base) ProtoMessage()

func (*Base) ProtoReflect added in v0.0.13

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

func (*Base) Reset added in v0.0.13

func (x *Base) Reset()

func (*Base) String added in v0.0.13

func (x *Base) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Index added in v0.0.14

type Index struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields"`
	Unique bool     `protobuf:"varint,3,opt,name=unique,proto3" json:"unique"`
	// contains filtered or unexported fields
}

func (*Index) Descriptor deprecated added in v0.0.14

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

Deprecated: Use Index.ProtoReflect.Descriptor instead.

func (*Index) GetFields added in v0.0.14

func (x *Index) GetFields() []string

func (*Index) GetName added in v0.0.14

func (x *Index) GetName() string

func (*Index) GetUnique added in v0.0.14

func (x *Index) GetUnique() bool

func (*Index) ProtoMessage added in v0.0.14

func (*Index) ProtoMessage()

func (*Index) ProtoReflect added in v0.0.14

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

func (*Index) Reset added in v0.0.14

func (x *Index) Reset()

func (*Index) String added in v0.0.14

func (x *Index) String() string

type Pagination

type Pagination struct {
	Page     uint32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32   `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    []string `protobuf:"bytes,3,rep,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetOrder

func (x *Pagination) GetOrder() []string

func (*Pagination) GetPage

func (x *Pagination) GetPage() uint32

func (*Pagination) GetPageSize

func (x *Pagination) GetPageSize() uint32

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

Jump to

Keyboard shortcuts

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