conf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 2 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 {
	Servers     []map[string]string
	Sleeptime   int
	Maxidle     int
	Maxactive   int
	Idletimeout int
	Datatype    string
	Datapath    string
	Logpath     string
	Logname     string
	Loglevel    string
	Logexpire   int
	Serverip    string
	Serverport  int
	Staticdir   string
	Tpldir      string
	Debugmode   int
}

func NewConfig

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

Jump to

Keyboard shortcuts

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