conf

package
v4.0.0-...-755bc99 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DatabaseSetting   *databaseConf
	MysqlSetting      *mysqlConf
	PostgresSetting   *postgresConf
	Sqlite3Setting    *sqlite3Conf
	WebServerSetting  *httpServerConf
	BotServerSetting  *httpServerConf
	DocsServerSetting *httpServerConf
	AppSetting        *appConf
)

Functions

func Initial

func Initial(suite []string, noDefault bool)

func RunMode

func RunMode() string

func VersionInfo

func VersionInfo() string

Types

type BuildInfo

type BuildInfo struct {
	Series    string `json:"series"`
	Version   string `json:"version"`
	Sum       string `json:"sum"`
	BuildDate string `json:"build_date"`
	BuildTags string `json:"build_tags"`
}

func ReadBuildInfo

func ReadBuildInfo() *BuildInfo

Jump to

Keyboard shortcuts

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