proxy

package
v0.0.0-...-53a3ec6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerDetails

type PeerDetails struct {
	Info    PeerRow `json:"info"`
	Details string  `json:"details"`
}

func Details

func Details(server, peer string) (*PeerDetails, error)

func (PeerDetails) Render

type PeerRow

type PeerRow struct {
	Name  string `json:"name"`
	Proto string `json:"proto"`
	Table string `json:"table"`
	State string `json:"state"`
	Since string `json:"since"`
	Info  string `json:"info"`
}

type RouteDetails

type RouteDetails struct {
	Address string `json:"address"`
	Details string `json:"details"`
}

func Route

func Route(server, address string, all bool) (*RouteDetails, error)

func (RouteDetails) Render

type SummaryTable

type SummaryTable []PeerRow

func Summary

func Summary(server string) (SummaryTable, error)

func (SummaryTable) Render

Jump to

Keyboard shortcuts

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