app

package
v0.0.0-...-98f3e61 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp() *App

func (*App) BindConfig

func (k *App) BindConfig(v *viper.Viper, fs *pflag.FlagSet)

func (*App) LoadConfig

func (k *App) LoadConfig(v *viper.Viper)

func (*App) Run

func (k *App) Run()

type Config

type Config struct {
	Debug        bool
	DebugRootDir string `mapstructure:"debug-sitedata-dir"`
	ServerAddr   string `mapstructure:"address"`
	TLSAddr      string `mapstructure:"tls-address"`
	TLSDir       string `mapstructure:"tls-dir"`

	KeyGen keygen.Config

	Liveness  debugprobe.ProbeConfig
	Readiness debugprobe.ProbeConfig
}

Jump to

Keyboard shortcuts

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