conf

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllConfig

type AllConfig struct {
	Debug         bool                          `json:"debug" mapstructure:"debug"`
	Data          *Data                         `json:"data" mapstructure:"data"`
	Server        *Server                       `json:"server" mapstructure:"server"`
	I18n          *translator.I18n              `json:"i18n" mapstructure:"i18n"`
	Swaggerui     *router.SwaggerConfig         `json:"swaggerui" mapstructure:"swaggerui"`
	ServiceConfig *service_config.ServiceConfig `json:"service_config" mapstructure:"service_config"`
}

AllConfig all config

type Data

type Data struct {
	Database *data.Database  `json:"database" mapstructure:"database"`
	Cache    *data.CacheConf `json:"cache" mapstructure:"cache"`
}

Data data config

type Server

type Server struct {
	HTTP *server.HTTP `json:"http" mapstructure:"http"`
}

Server server config

Jump to

Keyboard shortcuts

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