config

package
v0.0.0-...-5d09e29 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 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 Config

type Config struct {
	Listen []string        `yaml:"listen"`
	Peers  map[string]Peer `yaml:"peers"`
}

type Peer

type Peer struct {
	Name                string `yaml:"name"`
	Port                int16  `yaml:"port"`
	Interval            int    `yaml:"interval"` // target interval in ms
	DetectionMultiplier int    `yaml:"detectionMultiplier"`
}

Jump to

Keyboard shortcuts

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