internal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle()

func Initialize

func Initialize()

Types

type Config

type Config struct {
	Debug   bool          `yaml:"debug"`
	Delay   time.Duration `yaml:"delay"`
	Retries uint          `yaml:"retries"`
	Tests   Tests         `yaml:"tests"`
	DSN     pg.Dsn        `yaml:"dsn"`
}

func NewConfig

func NewConfig() (config Config, err error)

func (*Config) Defaults

func (c *Config) Defaults()

type Test

type Test struct {
	Name    string             `yaml:"name"`
	Query   string             `yaml:"query"`
	Results pg.OneFieldResults `yaml:"results"`
}

func (*Test) Validate

func (t *Test) Validate() (err error)

type Tests

type Tests []Test

Jump to

Keyboard shortcuts

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