Documentation ¶
Index ¶
Constants ¶
View Source
const ( //APP NAME AppName = "Alarm Adapter" //Usage Usage = "Alarm Adapter Usage" //Vresion Num Version = "0.0.1" //Author Nmae Author = "Devlopers LodaStack" //Email Address Email = "devlopers@lodastack.com" )
View Source
const (
//PID FILE
PID = "/var/run/alarm-adapter.pid"
)
Variables ¶
View Source
var (
C = new(Config)
)
Functions ¶
func ParseConfig ¶
Types ¶
type Config ¶
type Config struct { Main MainConfig `toml:"main"` Log LogConfig `toml:"log"` }
type MainConfig ¶
Click to show internal directories.
Click to hide internal directories.