Documentation ¶
Index ¶
- Constants
- Variables
- type Attr
- func (*Attr) Descriptor() ([]byte, []int)deprecated
- func (x *Attr) GetCreatedAt() string
- func (x *Attr) GetDescription() string
- func (x *Attr) GetExpressionURL() string
- func (x *Attr) GetId() uint64
- func (x *Attr) GetName() string
- func (x *Attr) GetStatus() uint32
- func (*Attr) ProtoMessage()
- func (x *Attr) ProtoReflect() protoreflect.Message
- func (x *Attr) Reset()
- func (x *Attr) String() string
- type ObjectType
- func (ObjectType) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectType) Enum() *ObjectType
- func (ObjectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ObjectType) MarshalGQL(w io.Writer)
- func (x ObjectType) Number() protoreflect.EnumNumber
- func (x ObjectType) OrigString() string
- func (x ObjectType) String() string
- func (ObjectType) Type() protoreflect.EnumType
- func (x *ObjectType) UnmarshalGQL(v interface{}) error
- type RedisIndex
- func (RedisIndex) Descriptor() protoreflect.EnumDescriptor
- func (x RedisIndex) Enum() *RedisIndex
- func (RedisIndex) EnumDescriptor() ([]byte, []int)deprecated
- func (x RedisIndex) MarshalGQL(w io.Writer)
- func (x RedisIndex) Number() protoreflect.EnumNumber
- func (x RedisIndex) OrigString() string
- func (x RedisIndex) String() string
- func (RedisIndex) Type() protoreflect.EnumType
- func (x *RedisIndex) UnmarshalGQL(v interface{}) error
Constants ¶
View Source
const ( FlagIndex = iota + 10 SysIndex CronIndex )
Variables ¶
View Source
var ( RedisIndex_name = map[int32]string{ 0: "RedisIndexPlaceholder", 13: "RedisIndexFlag", 14: "RedisIndexSys", 15: "RedisIndexCron", } RedisIndex_value = map[string]int32{ "RedisIndexPlaceholder": 0, "RedisIndexFlag": 13, "RedisIndexSys": 14, "RedisIndexCron": 15, } )
Enum value maps for RedisIndex.
View Source
var ( ObjectType_name = map[int32]string{ 0: "ObjectPlaceholder", 1: "ObjectContent", } ObjectType_value = map[string]int32{ "ObjectPlaceholder": 0, "ObjectContent": 1, } )
Enum value maps for ObjectType.
View Source
var File_common_common_enum_proto protoreflect.FileDescriptor
View Source
var File_common_common_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Attr ¶
type Attr struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey;"` Name string `` /* 138-byte string literal not displayed */ Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" gorm:"size:100" annotation:"描述"` ExpressionURL string `protobuf:"bytes,17,opt,name=expressionURL,proto3" json:"expressionURL,omitempty" gorm:"size:255" annotation:"表情url"` CreatedAt string `protobuf:"bytes,25,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"` Status uint32 `protobuf:"varint,28,opt,name=status,proto3" json:"status,omitempty" gorm:"type:int2;default:0"` // contains filtered or unexported fields }
func (*Attr) Descriptor
deprecated
func (*Attr) GetCreatedAt ¶
func (*Attr) GetDescription ¶
func (*Attr) GetExpressionURL ¶
func (*Attr) ProtoMessage ¶
func (*Attr) ProtoMessage()
func (*Attr) ProtoReflect ¶
func (x *Attr) ProtoReflect() protoreflect.Message
type ObjectType ¶
type ObjectType int32
const ( ObjectPlaceholder ObjectType = 0 ObjectContent ObjectType = 1 )
func (ObjectType) Descriptor ¶
func (ObjectType) Descriptor() protoreflect.EnumDescriptor
func (ObjectType) Enum ¶
func (x ObjectType) Enum() *ObjectType
func (ObjectType) EnumDescriptor
deprecated
func (ObjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectType.Descriptor instead.
func (ObjectType) MarshalGQL ¶
func (x ObjectType) MarshalGQL(w io.Writer)
func (ObjectType) Number ¶
func (x ObjectType) Number() protoreflect.EnumNumber
func (ObjectType) OrigString ¶
func (x ObjectType) OrigString() string
func (ObjectType) String ¶
func (x ObjectType) String() string
func (ObjectType) Type ¶
func (ObjectType) Type() protoreflect.EnumType
func (*ObjectType) UnmarshalGQL ¶
func (x *ObjectType) UnmarshalGQL(v interface{}) error
type RedisIndex ¶
type RedisIndex int32
const ( RedisIndexPlaceholder RedisIndex = 0 RedisIndexFlag RedisIndex = 13 RedisIndexSys RedisIndex = 14 RedisIndexCron RedisIndex = 15 )
func (RedisIndex) Descriptor ¶
func (RedisIndex) Descriptor() protoreflect.EnumDescriptor
func (RedisIndex) Enum ¶
func (x RedisIndex) Enum() *RedisIndex
func (RedisIndex) EnumDescriptor
deprecated
func (RedisIndex) EnumDescriptor() ([]byte, []int)
Deprecated: Use RedisIndex.Descriptor instead.
func (RedisIndex) MarshalGQL ¶
func (x RedisIndex) MarshalGQL(w io.Writer)
func (RedisIndex) Number ¶
func (x RedisIndex) Number() protoreflect.EnumNumber
func (RedisIndex) OrigString ¶
func (x RedisIndex) OrigString() string
func (RedisIndex) String ¶
func (x RedisIndex) String() string
func (RedisIndex) Type ¶
func (RedisIndex) Type() protoreflect.EnumType
func (*RedisIndex) UnmarshalGQL ¶
func (x *RedisIndex) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.