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.
Click to show internal directories.
Click to hide internal directories.