config

package
v0.0.0-...-316996a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filename string)

Types

type Config

type Config struct {
	ServerPort            int                   `yaml:"server_port"`
	EntityID              string                `yaml:"entity_id"`
	AuthorityHints        []string              `yaml:"authority_hints"`
	MetadataPolicyFile    string                `yaml:"metadata_policy_file"`
	MetadataPolicy        *pkg.MetadataPolicies `yaml:"-"`
	SigningKeyFile        string                `yaml:"signing_key_file"`
	ConfigurationLifetime int64                 `yaml:"configuration_lifetime"`
	OrganizationName      string                `yaml:"organization_name"`
	DataLocation          string                `yaml:"data_location"`
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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