config

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Types

type Config

type Config struct {
	Port    int    `mapstructure:"port" json:"port"`
	AppName string `mapstructure:"app_name" json:"app_name"`
	Mode    string `mapstructure:"mode" json:"mode"`
}

Config global config

func GetConfig

func GetConfig() *Config

Jump to

Keyboard shortcuts

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