config

package
v0.0.0-...-c7da881 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:          1 * time.Second,
	NatsHost:        "127.0.0.1",
	NatsMonitorPort: 8200,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period          time.Duration `config:"period"`
	NatsHost        string        `config:"nats_host"`
	NatsMonitorPort int           `config:"nats_monitor_port"`
}

Jump to

Keyboard shortcuts

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