Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagType_name = map[int32]string{ 0: "node", 1: "mirror", } TagType_value = map[string]int32{ "node": 0, "mirror": 1, } )
Enum value maps for TagType.
View Source
var File_node_tag_tag_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TagType ¶
type TagType int32
func (TagType) Descriptor ¶
func (TagType) Descriptor() protoreflect.EnumDescriptor
func (TagType) EnumDescriptor
deprecated
func (TagType) Number ¶
func (x TagType) Number() protoreflect.EnumNumber
func (TagType) Type ¶
func (TagType) Type() protoreflect.EnumType
type Tags ¶
type Tags struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Type TagType `protobuf:"varint,3,opt,name=type,proto3,enum=yuhaiin.tag.TagType" json:"type,omitempty"` Hash []string `protobuf:"bytes,2,rep,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*Tags) Descriptor
deprecated
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect ¶
func (x *Tags) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.