config

package
v0.0.0-...-cf0f625 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Release bool
	Listen  string
	Logger  struct {
		Dir      string
		Level    uint
		Rotate   bool
		KeepDays int64
	}
	Mysql struct {
		Name string
		Host string
		Pass string
		Port string
		User string
	}
	Redis struct {
		Cluster bool
		Addr    []string
		Pass    string
	}
}

func Parse

func Parse() *Config

Jump to

Keyboard shortcuts

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