config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CentralConfig

type CentralConfig struct {
	Addr string `yaml:"addr"`
}

type HeartbeatConfig

type HeartbeatConfig struct {
	Interval string `yaml:"interval"` // TODO: this requires time.ParseDuration
}

type ServerConfig

type ServerConfig struct {
	Http      iconfig.HttpServerConfig `yaml:"http"`
	Grpc      iconfig.GrpcServerConfig `yaml:"grpc"`
	Central   CentralConfig            `yaml:"central"`
	Node      cconfig.NodeConfig       `yaml:"node"`
	Heartbeat HeartbeatConfig          `yaml:"heartbeat"`
}

Jump to

Keyboard shortcuts

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