config

package
v0.0.0-...-e168591 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: MIT Imports: 3 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 {
	DaxiangApi  string `toml:"daxiang_api"`
	TesthttpApi string `toml:"testhttp_api"`
	Timeout     int64  `toml:"timeout"`
}

func NewConfig

func NewConfig(file string) (*Config, error)

NewConfig

func NewConfigWithFile

func NewConfigWithFile(name string) (*Config, error)

Jump to

Keyboard shortcuts

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