conf

package
v0.0.0-...-b1b0a22 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 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"`
	APIVersion int  `yaml:"api_version"`
}

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