proto

package
v0.0.0-...-1c66c14 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Self   PeerInfo            `json:"self"`
	Peers  map[string]PeerInfo `json:"peers,omitempty"`
	Routes map[string]string   `json:"routes,omitempty"`
}

type Lookup

type Lookup struct {
	Source      string `json:"source"`
	Destination string `json:"dest"`
	TTL         int    `json:"ttl,omitempty"`
	Fast        bool   `json:"fast"`
}

type None

type None struct{}

type PeerInfo

type PeerInfo struct {
	Timestamp  int64    `json:"timestamp"`
	Version    string   `json:"version"`
	PeerName   string   `json:"name"`
	Online     bool     `json:"online"`
	ServerName string   `json:"sni,omitempty"`
	Address    string   `json:"addr,omitempty"`
	RemoteAddr string   `json:"remote"`
	Hosts      []string `json:"hosts,omitempty"`
}

Jump to

Keyboard shortcuts

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