config

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const DefaultPostgresDBURL = "postgres://postgres@localhost:5432/postgres?sslmode=disable"

Variables

This section is empty.

Functions

This section is empty.

Types

type VentConfig

type VentConfig struct {
	DBAdapter      string
	DBURL          string
	DBSchema       string
	GRPCAddr       string
	HTTPAddr       string
	LogLevel       string
	SpecFileOrDirs []string
	AbiFileOrDirs  []string
	SpecOpt        sqlsol.SpecOpt
	// Announce status every AnnouncePeriod
	AnnounceEvery time.Duration
}

VentConfig is a set of configuration parameters

func DefaultVentConfig

func DefaultVentConfig() *VentConfig

DefaultFlags returns a configuration with default values

Jump to

Keyboard shortcuts

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