conf

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2016 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RootURL  string `mapstructure:"root_url"`
	Port     int    `mapstructure:"port"`
	DataPath string `mapstructure:"data_path"`
}
var C Config

func (*Config) GetRootURLPath

func (c *Config) GetRootURLPath() string

GetRootURLPath returns just the path portion of the RootUrl value, without any trailing slashes.

Jump to

Keyboard shortcuts

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