conf

package
v0.0.0-...-eeca8c7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsulConfig

func GetConsulConfig() defaultConsulConfig

func GetMysqlConfig

func GetMysqlConfig() defaultMysqlConfig

func Init

func Init()

Types

type ConsulConfig

type ConsulConfig interface {
	GetEnabled() bool
	GetPort() int
	GetHost() string
}

type MysqlConfig

type MysqlConfig interface {
	GetURL() string
	GetEnabled() bool
	GetMaxIdleConnection() int
	GetMaxOpenConnection() int
}

type Profiles

type Profiles interface {
	GetInclude() string
}

Jump to

Keyboard shortcuts

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