config

package
v0.0.0-...-44e9b83 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server  Server
	Deploy  Deploy
	LogPath string `yaml:"log-path"`
}

func Instance

func Instance() *Config

func (*Config) ConfigLog

func (config *Config) ConfigLog()

func (*Config) Load

func (config *Config) Load(path string)

type Deploy

type Deploy struct {
	Path string
}

type Server

type Server struct {
	Port int
}

Jump to

Keyboard shortcuts

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