conf

package
v0.0.0-...-7fe9b57 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(fp string) error

Load loads the given fp (file path) to the C global configuration variable.

Types

type Configuration

type Configuration struct {
	Port  int  `yaml:"port"`
	Debug bool `yaml:"debug"`
}

Configuration is the struct representing a configuration

C is the main Configuration

Jump to

Keyboard shortcuts

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