Documentation ¶
Index ¶
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 { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=yuhaiin.subscribe.Type" json:"type,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
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.