configs

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port             string `required:"true" split_words:"true"`
	Protocol         string `required:"true" split_words:"true"`
	PostgresUser     string `required:"true" split_words:"true"`
	PostgresDB       string `required:"true" split_words:"true"`
	PostgresPassword string `required:"true" split_words:"true"`
	PostgresHostname string `required:"true" split_words:"true"`
	PostgresPort     string `required:"true" split_words:"true"`

	CACertFile   string `required:"true" split_words:"true"`
	CAServerAddr string `required:"true" split_words:"true"`

	LamassuCACertFile string `split_words:"true"`
	LamassuCAAddress  string `split_words:"true"`

	MutualTLSEnabled  bool   `split_words:"true"`
	MutualTLSClientCA string `split_words:"true"`

	CertFile            string `required:"true" split_words:"true"`
	KeyFile             string `required:"true" split_words:"true"`
	MinimumReenrollDays string `required:"true" split_words:"true"`

	OpenapiEnableSecuritySchema     bool   `required:"true" split_words:"true"`
	OpenapiSecurityOidcWellKnownUrl string `split_words:"true"`
}

func NewConfig

func NewConfig(prefix string) (error, Config)

Jump to

Keyboard shortcuts

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