configexternal

package
v0.0.0-...-09c63dc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CONFIG = new(Config)
)

Functions

func IniConfigFromYaml

func IniConfigFromYaml()

Types

type Config

type Config struct {
	Redis Redis `json:"redis" ini:"redis"`
}

type Redis

type Redis struct {
	Address string `mapstructure:"address" json:"address" ini:"address"`
	Maxidle int    `mapstructure:"maxidle" json:"maxidle" ini:"maxidle"`
}

redis配置模型

Jump to

Keyboard shortcuts

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