node

package
v0.3.1-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 6 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 {
	GroupsV2 map[string]*Nodes       `` /* 178-byte string literal not displayed */
	Nodes    map[string]*point.Point `` /* 151-byte string literal not displayed */
	Tags     map[string]*Tags        `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Manager) Descriptor deprecated

func (*Manager) Descriptor() ([]byte, []int)

Deprecated: Use Manager.ProtoReflect.Descriptor instead.

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]*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) String

func (x *Manager) String() string

type Node

type Node struct {
	Tcp     *point.Point               `protobuf:"bytes,4,opt,name=tcp,proto3" json:"tcp,omitempty"`
	Udp     *point.Point               `protobuf:"bytes,5,opt,name=udp,proto3" json:"udp,omitempty"`
	Links   map[string]*subscribe.Link `` /* 151-byte string literal not displayed */
	Manager *Manager                   `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

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) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type Nodes

type Nodes struct {
	NodesV2 map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Nodes) Descriptor deprecated

func (*Nodes) Descriptor() ([]byte, []int)

Deprecated: Use Nodes.ProtoReflect.Descriptor instead.

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) String

func (x *Nodes) String() string

type Tags

type Tags struct {
	Tag  string   `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Hash []string `protobuf:"bytes,2,rep,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Tags) Descriptor deprecated

func (*Tags) Descriptor() ([]byte, []int)

Deprecated: Use Tags.ProtoReflect.Descriptor instead.

func (*Tags) GetHash

func (x *Tags) GetHash() []string

func (*Tags) GetTag

func (x *Tags) GetTag() string

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) ProtoReflect

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

func (*Tags) Reset

func (x *Tags) Reset()

func (*Tags) String

func (x *Tags) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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