point

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: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Origin_name = map[int32]string{
		0:   "reserve",
		101: "remote",
		102: "manual",
	}
	Origin_value = map[string]int32{
		"reserve": 0,
		"remote":  101,
		"manual":  102,
	}
)

Enum value maps for Origin.

View Source
var File_node_point_point_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Origin

type Origin int32
const (
	Origin_reserve Origin = 0
	Origin_remote  Origin = 101
	Origin_manual  Origin = 102
)

func (Origin) Descriptor

func (Origin) Descriptor() protoreflect.EnumDescriptor

func (Origin) Enum

func (x Origin) Enum() *Origin

func (Origin) Number

func (x Origin) Number() protoreflect.EnumNumber

func (Origin) String

func (x Origin) String() string

func (Origin) Type

func (Origin) Type() protoreflect.EnumType

type Point

type Point struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*Point) ClearGroup added in v0.3.8

func (x *Point) ClearGroup()

func (*Point) ClearHash added in v0.3.8

func (x *Point) ClearHash()

func (*Point) ClearName added in v0.3.8

func (x *Point) ClearName()

func (*Point) ClearOrigin added in v0.3.8

func (x *Point) ClearOrigin()

func (*Point) GetGroup

func (x *Point) GetGroup() string

func (*Point) GetHash

func (x *Point) GetHash() string

func (*Point) GetName

func (x *Point) GetName() string

func (*Point) GetOrigin

func (x *Point) GetOrigin() Origin

func (*Point) GetProtocols

func (x *Point) GetProtocols() []*protocol.Protocol

func (*Point) HasGroup added in v0.3.8

func (x *Point) HasGroup() bool

func (*Point) HasHash added in v0.3.8

func (x *Point) HasHash() bool

func (*Point) HasName added in v0.3.8

func (x *Point) HasName() bool

func (*Point) HasOrigin added in v0.3.8

func (x *Point) HasOrigin() bool

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) SetGroup added in v0.3.8

func (x *Point) SetGroup(v string)

func (*Point) SetHash added in v0.3.8

func (x *Point) SetHash(v string)

func (*Point) SetName added in v0.3.8

func (x *Point) SetName(v string)

func (*Point) SetOrigin added in v0.3.8

func (x *Point) SetOrigin(v Origin)

func (*Point) SetProtocols added in v0.3.8

func (x *Point) SetProtocols(v []*protocol.Protocol)

func (*Point) String

func (x *Point) String() string

type Point_builder added in v0.3.8

type Point_builder struct {
	Hash   *string
	Name   *string
	Group  *string
	Origin *Origin
	// will use protocols' order to create dialer
	Protocols []*protocol.Protocol
	// contains filtered or unexported fields
}

func (Point_builder) Build added in v0.3.8

func (b0 Point_builder) Build() *Point

Jump to

Keyboard shortcuts

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