subscribe

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 5 Imported by: 0

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 struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*Link) ClearName added in v0.3.8

func (x *Link) ClearName()

func (*Link) ClearType added in v0.3.8

func (x *Link) ClearType()

func (*Link) ClearUrl added in v0.3.8

func (x *Link) ClearUrl()

func (*Link) GetName

func (x *Link) GetName() string

func (*Link) GetType

func (x *Link) GetType() Type

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) HasName added in v0.3.8

func (x *Link) HasName() bool

func (*Link) HasType added in v0.3.8

func (x *Link) HasType() bool

func (*Link) HasUrl added in v0.3.8

func (x *Link) HasUrl() bool

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) SetName added in v0.3.8

func (x *Link) SetName(v string)

func (*Link) SetType added in v0.3.8

func (x *Link) SetType(v Type)

func (*Link) SetUrl added in v0.3.8

func (x *Link) SetUrl(v string)

func (*Link) String

func (x *Link) String() string
type Link_builder struct {
	Name *string
	Type *Type
	Url  *string
	// contains filtered or unexported fields
}
func (b0 Link_builder) Build() *Link

type Type

type Type int32
const (
	Type_reserve      Type = 0
	Type_trojan       Type = 1
	Type_vmess        Type = 2
	Type_shadowsocks  Type = 3
	Type_shadowsocksr Type = 4
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL