Documentation ¶
Index ¶
- Variables
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetCreateAt() int64
- func (x *Meta) GetId() string
- func (x *Meta) GetUpdateAt() int64
- func (x *Meta) GetUpdateBy() string
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
- type VISIABLE_MODE
- func (VISIABLE_MODE) Descriptor() protoreflect.EnumDescriptor
- func (x VISIABLE_MODE) Enum() *VISIABLE_MODE
- func (VISIABLE_MODE) EnumDescriptor() ([]byte, []int)deprecated
- func (t VISIABLE_MODE) Equal(target VISIABLE_MODE) bool
- func (t VISIABLE_MODE) IsIn(targets ...VISIABLE_MODE) bool
- func (t VISIABLE_MODE) MarshalJSON() ([]byte, error)
- func (x VISIABLE_MODE) Number() protoreflect.EnumNumber
- func (x VISIABLE_MODE) String() string
- func (VISIABLE_MODE) Type() protoreflect.EnumType
- func (t *VISIABLE_MODE) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VISIABLE_MODE_name = map[int32]string{ 0: "NAMESPACE", 1: "DOMAIN", 2: "GLOBAL", } VISIABLE_MODE_value = map[string]int32{ "NAMESPACE": 0, "DOMAIN": 1, "GLOBAL": 2, } )
Enum value maps for VISIABLE_MODE.
View Source
var File_pb_resource_base_proto protoreflect.FileDescriptor
View Source
var File_pb_resource_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Meta ¶ added in v1.9.12
type Meta struct { // 对象Id // @gotags: bson:"_id" json:"id" Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 创建时间 // @gotags: bson:"create_at" json:"create_at" CreateAt int64 `protobuf:"varint,2,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` // 更新时间 // @gotags: bson:"update_at" json:"update_at" UpdateAt int64 `protobuf:"varint,3,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"` // 更新人 // @gotags: bson:"update_by" json:"update_by" UpdateBy string `protobuf:"bytes,4,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"` // contains filtered or unexported fields }
func (*Meta) Descriptor
deprecated
added in
v1.9.12
func (*Meta) GetCreateAt ¶ added in v1.9.12
func (*Meta) GetUpdateAt ¶ added in v1.9.12
func (*Meta) GetUpdateBy ¶ added in v1.9.12
func (*Meta) ProtoMessage ¶ added in v1.9.12
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶ added in v1.9.12
func (x *Meta) ProtoReflect() protoreflect.Message
type VISIABLE_MODE ¶ added in v1.9.7
type VISIABLE_MODE int32
const ( // 默认Namespace可见 VISIABLE_MODE_NAMESPACE VISIABLE_MODE = 0 // 域内可见 VISIABLE_MODE_DOMAIN VISIABLE_MODE = 1 // 全局可见 VISIABLE_MODE_GLOBAL VISIABLE_MODE = 2 )
func ParseVISIABLE_MODEFromString ¶ added in v1.9.7
func ParseVISIABLE_MODEFromString(str string) (VISIABLE_MODE, error)
ParseVISIABLE_MODEFromString Parse VISIABLE_MODE from string
func (VISIABLE_MODE) Descriptor ¶ added in v1.9.7
func (VISIABLE_MODE) Descriptor() protoreflect.EnumDescriptor
func (VISIABLE_MODE) Enum ¶ added in v1.9.7
func (x VISIABLE_MODE) Enum() *VISIABLE_MODE
func (VISIABLE_MODE) EnumDescriptor
deprecated
added in
v1.9.7
func (VISIABLE_MODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use VISIABLE_MODE.Descriptor instead.
func (VISIABLE_MODE) Equal ¶ added in v1.9.7
func (t VISIABLE_MODE) Equal(target VISIABLE_MODE) bool
Equal type compare
func (VISIABLE_MODE) IsIn ¶ added in v1.9.7
func (t VISIABLE_MODE) IsIn(targets ...VISIABLE_MODE) bool
IsIn todo
func (VISIABLE_MODE) MarshalJSON ¶ added in v1.9.7
func (t VISIABLE_MODE) MarshalJSON() ([]byte, error)
MarshalJSON todo
func (VISIABLE_MODE) Number ¶ added in v1.9.7
func (x VISIABLE_MODE) Number() protoreflect.EnumNumber
func (VISIABLE_MODE) String ¶ added in v1.9.7
func (x VISIABLE_MODE) String() string
func (VISIABLE_MODE) Type ¶ added in v1.9.7
func (VISIABLE_MODE) Type() protoreflect.EnumType
func (*VISIABLE_MODE) UnmarshalJSON ¶ added in v1.9.7
func (t *VISIABLE_MODE) UnmarshalJSON(b []byte) error
UnmarshalJSON todo
Click to show internal directories.
Click to hide internal directories.