config

package
v0.0.0-...-ed85594 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 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 {
	ApiKey       string
	Auth         map[string]string
	JwksEndpoint string
	Dr           dr.Config
}

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