config

package
v0.0.0-...-c89a2db Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Host string `yaml:"host"`
	Port string `yaml:"port"`
}

func (AppConfig) Addr

func (a AppConfig) Addr() string

type AuthConfig

type AuthConfig struct {
	CallbackBaseURL string `yaml:"call_back_base_url"`
}

type Config

type Config struct {
	AsyncJob   asyncjob.Config `yaml:"asyncJob"`
	Mysql      mysql.Config    `yaml:"mysql"`
	Redis      kredis.Config   `yaml:"redis"`
	App        AppConfig       `yaml:"app"`
	AuthConfig AuthConfig      `yaml:"auth"`
}

Jump to

Keyboard shortcuts

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