config

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 7 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 {
	HTTPAddr              *string
	GRPCAddr              *string
	HTTPReadHeaderTimeout *time.Duration
	CallTimeout           *time.Duration
	ReadLimit             *int64
	Buffer                *bool
	// contains filtered or unexported fields
}

Config contains the common config for frunner

func New

func New() (*Config, error)

New creates a new config object

func (*Config) Print

func (cfg *Config) Print()

Print prints the config to stdout using yaml

Jump to

Keyboard shortcuts

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