Documentation
¶
Index ¶
- Variables
- type Origin
- type Point
- func (x *Point) ClearGroup()
- func (x *Point) ClearHash()
- func (x *Point) ClearName()
- func (x *Point) ClearOrigin()
- func (x *Point) GetGroup() string
- func (x *Point) GetHash() string
- func (x *Point) GetName() string
- func (x *Point) GetOrigin() Origin
- func (x *Point) GetProtocols() []*protocol.Protocol
- func (x *Point) HasGroup() bool
- func (x *Point) HasHash() bool
- func (x *Point) HasName() bool
- func (x *Point) HasOrigin() bool
- func (*Point) ProtoMessage()
- func (x *Point) ProtoReflect() protoreflect.Message
- func (x *Point) Reset()
- func (x *Point) SetGroup(v string)
- func (x *Point) SetHash(v string)
- func (x *Point) SetName(v string)
- func (x *Point) SetOrigin(v Origin)
- func (x *Point) SetProtocols(v []*protocol.Protocol)
- func (x *Point) String() string
- type Point_builder
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
func (Origin) Descriptor ¶
func (Origin) Descriptor() protoreflect.EnumDescriptor
func (Origin) Number ¶
func (x Origin) Number() protoreflect.EnumNumber
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) ClearOrigin ¶ added in v0.3.8
func (x *Point) ClearOrigin()
func (*Point) GetProtocols ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
func (*Point) SetProtocols ¶ added in v0.3.8
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
Click to show internal directories.
Click to hide internal directories.