config

package
v0.0.0-...-fe5d25b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 2 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 {
	ApiVersion    string `mapstructure:"API_VERSION"`
	AuthSvcUrl    string `mapstructure:"AUTH_SVC_URL"`
	HelperSvcUrl  string `mapstructure:"HELPER_SVC_URL"`
	JWTSecretKey  string `mapstructure:"JWT_SECRET_KEY"`
	JournalSvcUrl string `mapstructure:"JOURNAL_SVC_URL"`
	Port          string `mapstructure:"PORT"`
}

func LoadConfig

func LoadConfig() (config Config, err error)

Jump to

Keyboard shortcuts

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