config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global = &Config{}
View Source
var Mail = &(Global.Email)

Functions

func LoadConfig

func LoadConfig(filePath string)

Types

type Config

type Config struct {
	Bind   string
	Secret string
	Email  struct {
		Host     string
		Port     int
		Username string
		Password string
	} `json:"email"`
}

Config 配置结构体

Jump to

Keyboard shortcuts

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