setting

package
v0.0.0-...-e8b17f4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfDir = "conf"
)

Variables

View Source
var AppSetting = &App{}
View Source
var EtcdSetting = &Etcd{}
View Source
var ServerSetting = &Server{}

Functions

func Setup

func Setup()

Setup initialize the configuration instance

Types

type App

type App struct {
	LogLevel log.Level
}

type Etcd

type Etcd struct {
	Endpoints []string
}

type Server

type Server struct {
	RunMode  string
	HttpPort int
}

Jump to

Keyboard shortcuts

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