conf

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2016 License: MIT Imports: 6 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataPath added in v0.2.0

func DataPath() string

DataPath gets the path (full or relative) under which to store the database and other runtime date (e.g., uploaded images).

func Port added in v0.2.0

func Port() int

Port gets the port number under which the site is being hosted.

func RootURL added in v0.2.0

func RootURL() string

RootURL gets the URL of the root of the site (e.g., http://localhost/gomp).

func RootURLPath added in v0.2.0

func RootURLPath() string

RootURLPath gets just the path portion of the RootUrl value, without any trailing slashes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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