Documentation
¶
Index ¶
- Variables
- type Base
- func (*Base) Descriptor() ([]byte, []int)deprecated
- func (x *Base) GetCreateAt() int64
- func (x *Base) GetId() string
- func (x *Base) GetLockExpireAt() int64
- func (x *Base) GetLockSecret() string
- func (x *Base) GetUpdateAt() int64
- func (x *Base) GetVersion() int64
- func (*Base) ProtoMessage()
- func (x *Base) ProtoReflect() protoreflect.Message
- func (x *Base) Reset()
- func (x *Base) String() string
- type Empty
- type Index
- type Pagination
- func (*Pagination) Descriptor() ([]byte, []int)deprecated
- func (x *Pagination) GetOrder() []string
- func (x *Pagination) GetPage() uint32
- func (x *Pagination) GetPageSize() uint32
- func (*Pagination) ProtoMessage()
- func (x *Pagination) ProtoReflect() protoreflect.Message
- func (x *Pagination) Reset()
- func (x *Pagination) String() string
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) GetCreateAt ¶ added in v0.0.13
func (*Base) GetLockExpireAt ¶ added in v0.0.13
func (*Base) GetLockSecret ¶ added in v0.0.13
func (*Base) GetUpdateAt ¶ added in v0.0.13
func (*Base) GetVersion ¶ added in v0.0.13
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
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶ added in v0.0.14
func (*Index) ProtoMessage()
func (*Index) ProtoReflect ¶ added in v0.0.14
func (x *Index) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.