Documentation
¶
Index ¶
- Variables
- type Link
- func (x *Link) ClearName()
- func (x *Link) ClearType()
- func (x *Link) ClearUrl()
- func (x *Link) GetName() string
- func (x *Link) GetType() Type
- func (x *Link) GetUrl() string
- func (x *Link) HasName() bool
- func (x *Link) HasType() bool
- func (x *Link) HasUrl() bool
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) SetName(v string)
- func (x *Link) SetType(v Type)
- func (x *Link) SetUrl(v string)
- func (x *Link) String() string
- type Link_builder
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "reserve", 1: "trojan", 2: "vmess", 3: "shadowsocks", 4: "shadowsocksr", } Type_value = map[string]int32{ "reserve": 0, "trojan": 1, "vmess": 2, "shadowsocks": 3, "shadowsocksr": 4, } )
Enum value maps for Type.
View Source
var File_node_subscribe_subscribe_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 // contains filtered or unexported fields }
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Link_builder ¶ added in v0.3.8
type Link_builder struct { Name *string Type *Type Url *string // contains filtered or unexported fields }
func (Link_builder) Build ¶ added in v0.3.8
func (b0 Link_builder) Build() *Link
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.