package
Version:
v0.0.0-...-b10823d
Opens a new window with list of versions in this module.
Published: Oct 4, 2013
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultPort = 9500
DefaultPidPath = "/var/run/landmarkd.pid"
)
type Config struct {
Port int `toml:"port"`
PidPath string `toml:"pid-path"`
}
The configuration for running landmarkd.
Creates a new configuration object.
Decodes the configuration from a TOML reader.
Decodes the configuration from a TOML file path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.