config

package
v0.0.0-...-3c86364 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Auth struct {
		Basic  map[string]string
		Oauth2 struct {
			JwksEndpoint     string
			UserInfoEndpoint string
		}
	}
	RdrGateway utility.RdrGatewayConfig
	PpmForm    utility.PpmFormConfig
	Dacs       map[string]string
}

Configuration is the data structure for marshaling the config.yml file using the viper configuration framework.

func LoadConfig

func LoadConfig(cpath string) (Configuration, error)

LoadConfig reads configuration file `cpath` and returns the `Configuration` data structure.

Jump to

Keyboard shortcuts

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