config

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists() bool

func FilePath added in v1.2.0

func FilePath() string

func ResolvePath added in v1.2.0

func ResolvePath(path string) string

func RootDir added in v1.2.0

func RootDir() string

func Write

func Write(values map[string]string)

Types

type Config

type Config struct {
	AppKey     string `json:"appKey"`
	PublicDir  string `json:"publicDir"`
	ServerDir  string `json:"serverDir"`
	ApiBaseUrl string `json:"apiBaseUrl,omitempty"`
}

func Read

func Read() Config

Jump to

Keyboard shortcuts

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