config

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 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"`

	OcspUrl string `required:"true" split_words:"true"`

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

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

	VaultUnsealKeysFile string `required:"true" split_words:"true"`

	VaultAddress  string `required:"true" split_words:"true"`
	VaultRoleID   string `required:"true" split_words:"true"`
	VaultSecretID string `required:"true" split_words:"true"`
	VaultCA       string `split_words:"true"`

	VaultPkiCaPath string `required:"true" split_words:"true"`

	DebugMode string `required:"true" split_words:"true"`

	AmqpIP               string `required:"true" split_words:"true"`
	AmqpPort             string `required:"true" split_words:"true"`
	AmqpServerCACertFile string `required:"true" split_words:"true"`

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

func NewConfig

func NewConfig(prefix string) (Config, error)

Jump to

Keyboard shortcuts

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