node

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_node_node_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func (*Manager) GetGroupsV2

func (x *Manager) GetGroupsV2() map[string]*Nodes

func (*Manager) GetNodes

func (x *Manager) GetNodes() map[string]*point.Point

func (*Manager) GetTags

func (x *Manager) GetTags() map[string]*tag.Tags

func (*Manager) ProtoMessage

func (*Manager) ProtoMessage()

func (*Manager) ProtoReflect

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

func (*Manager) Reset

func (x *Manager) Reset()

func (*Manager) SetGroupsV2 added in v0.3.8

func (x *Manager) SetGroupsV2(v map[string]*Nodes)

func (*Manager) SetNodes added in v0.3.8

func (x *Manager) SetNodes(v map[string]*point.Point)

func (*Manager) SetTags added in v0.3.8

func (x *Manager) SetTags(v map[string]*tag.Tags)

func (*Manager) String

func (x *Manager) String() string

type Manager_builder added in v0.3.8

type Manager_builder struct {
	GroupsV2 map[string]*Nodes
	Nodes    map[string]*point.Point
	Tags     map[string]*tag.Tags
	// contains filtered or unexported fields
}

func (Manager_builder) Build added in v0.3.8

func (b0 Manager_builder) Build() *Manager

type Node

type Node struct {
	// contains filtered or unexported fields
}

func (*Node) ClearManager added in v0.3.8

func (x *Node) ClearManager()

func (*Node) ClearTcp added in v0.3.8

func (x *Node) ClearTcp()

func (*Node) ClearUdp added in v0.3.8

func (x *Node) ClearUdp()
func (x *Node) GetLinks() map[string]*subscribe.Link

func (*Node) GetManager

func (x *Node) GetManager() *Manager

func (*Node) GetTcp

func (x *Node) GetTcp() *point.Point

func (*Node) GetUdp

func (x *Node) GetUdp() *point.Point

func (*Node) HasManager added in v0.3.8

func (x *Node) HasManager() bool

func (*Node) HasTcp added in v0.3.8

func (x *Node) HasTcp() bool

func (*Node) HasUdp added in v0.3.8

func (x *Node) HasUdp() bool

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()
func (x *Node) SetLinks(v map[string]*subscribe.Link)

func (*Node) SetManager added in v0.3.8

func (x *Node) SetManager(v *Manager)

func (*Node) SetTcp added in v0.3.8

func (x *Node) SetTcp(v *point.Point)

func (*Node) SetUdp added in v0.3.8

func (x *Node) SetUdp(v *point.Point)

func (*Node) String

func (x *Node) String() string

type Node_builder added in v0.3.8

type Node_builder struct {
	Tcp     *point.Point
	Udp     *point.Point
	Links   map[string]*subscribe.Link
	Manager *Manager
	// contains filtered or unexported fields
}

func (Node_builder) Build added in v0.3.8

func (b0 Node_builder) Build() *Node

type Nodes

type Nodes struct {
	// contains filtered or unexported fields
}

func (*Nodes) GetNodesV2

func (x *Nodes) GetNodesV2() map[string]string

func (*Nodes) ProtoMessage

func (*Nodes) ProtoMessage()

func (*Nodes) ProtoReflect

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

func (*Nodes) Reset

func (x *Nodes) Reset()

func (*Nodes) SetNodesV2 added in v0.3.8

func (x *Nodes) SetNodesV2(v map[string]string)

func (*Nodes) String

func (x *Nodes) String() string

type Nodes_builder added in v0.3.8

type Nodes_builder struct {
	NodesV2 map[string]string
	// contains filtered or unexported fields
}

func (Nodes_builder) Build added in v0.3.8

func (b0 Nodes_builder) Build() *Nodes

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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