config

package
v0.0.0-...-a5196f6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig

type CacheConfig struct {
	Type     string `yaml:"type"`
	Host     string `yaml:"host"`
	Port     string `yaml:"port"`
	DB       int    `yaml:"db"`
	Password string `yaml:"password"`
}

type SMSConfig

type SMSConfig struct {
	ACCESS_KEY_ID     string `yaml:"ACCESS_KEY_ID"`
	ACCESS_KEY_SECRET string `yaml:"ACCESS_KEY_SECRET"`
}

type SettingConfig

type SettingConfig struct {
	SECRET_KEY      string        `yaml:"SECRET_KEY"`
	DEBUG           string        `yaml:"DEBUG"`
	DEFAULT_CHARSET string        `yaml:"DEFAULT_CHARSET"`
	SMSConfig       SMSConfig     `yaml:"SMSConfig"`
	CACHES          []CacheConfig `yaml:"CACHES"`
}

Jump to

Keyboard shortcuts

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