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

      Source Files