settings

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func G

func G() *viper.Viper

G global config

func HTTPServer

func HTTPServer(key string, router http.Handler) (shutdownTimeout time.Duration, server *http.Server)

func Init

func Init(appName, appVersion, filename string) error

Init settings

func Logger

func Logger() *logger.Config

Logger config

func ORM

func ORM() *orm.Config

ORM config

func Redis

func Redis() *redis.Config

Redis config

Types

This section is empty.

Jump to

Keyboard shortcuts

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