config

package
v0.0.0-...-f52f705 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RsConfig = &AppConfig{
		EnvCfgFilePath: "",
		Env:            "",
		WrapperConfig:  WrapperConfig{},
	}
)

Functions

func Init

func Init(path string)

func ServerPort

func ServerPort() string

Types

type AppConfig

type AppConfig struct {
	EnvCfgFilePath string
	Env            string
	WrapperConfig
}

type IInit

type IInit interface {
	InitDBClient(wrapperConfig WrapperConfig)
}

type WrapperConfig

type WrapperConfig struct {
	Config config `yaml:"app"`
}

Jump to

Keyboard shortcuts

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