config

package
v0.0.0-...-bd99aa7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonConfig

type CommonConfig struct {
	Debug     bool
	DebugSQL  bool
	Quiet     bool
	Deep      bool
	DBPath    string
	DBType    string
	HTTPProxy string
}

CommonConfig :

var CommonConf CommonConfig

CommonConf :

func (*CommonConfig) Validate

func (p *CommonConfig) Validate() bool

Validate :

type SearchConfig

type SearchConfig struct {
	SearchType  string
	SearchParam string
}

SearchConfig :

var SearchConf SearchConfig

SearchConf :

type ServerConfig

type ServerConfig struct {
	Bind string
	Port string
}

ServerConfig :

var ServerConf ServerConfig

ServerConf :

Jump to

Keyboard shortcuts

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