Documentation
¶
Index ¶
- Variables
- type TagType
- type Tags
- func (x *Tags) ClearTag()
- func (x *Tags) ClearType()
- func (x *Tags) GetHash() []string
- func (x *Tags) GetTag() string
- func (x *Tags) GetType() TagType
- func (x *Tags) HasTag() bool
- func (x *Tags) HasType() bool
- func (*Tags) ProtoMessage()
- func (x *Tags) ProtoReflect() protoreflect.Message
- func (x *Tags) Reset()
- func (x *Tags) SetHash(v []string)
- func (x *Tags) SetTag(v string)
- func (x *Tags) SetType(v TagType)
- func (x *Tags) String() string
- type Tags_builder
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) Number ¶
func (x TagType) Number() protoreflect.EnumNumber
func (TagType) Type ¶
func (TagType) Type() protoreflect.EnumType
type Tags ¶
type Tags struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) ProtoReflect ¶
func (x *Tags) ProtoReflect() protoreflect.Message
type Tags_builder ¶ added in v0.3.8
type Tags_builder struct {
Tag *string
Type *TagType
Hash []string
// contains filtered or unexported fields
}
func (Tags_builder) Build ¶ added in v0.3.8
func (b0 Tags_builder) Build() *Tags
Click to show internal directories.
Click to hide internal directories.