config

package
v0.0.0-...-eca6631 Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 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,
	Redis:      []string{"192.168.33.10:16379"},
	SlowerThan: 100,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period     time.Duration `config:"period"`
	Redis      []string      `config:"redis"`
	SlowerThan int           `config:"slowerThan"`
}

Jump to

Keyboard shortcuts

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