config

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 3 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 {
	APIURL             string `mapstructure:"api_url"`
	ResourceAPIURL     string `mapstructure:"resource_api_url"`
	FrontendURI        string `mapstructure:"frontend_uri"`
	AppURLSuffix       string `mapstructure:"app_url_suffix"`
	AppURLFEOnlySuffix string `mapstructure:"app_url_fe_only_suffix"`
}

Config represents the application configuration

func Load

func Load(configFile string) (*Config, error)

Load initializes and returns the application config

Jump to

Keyboard shortcuts

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