2024-01-05 18:52:47 -06:00
|
|
|
package cloudflare
|
|
|
|
|
|
|
|
// initializes logging and command line options
|
|
|
|
|
|
|
|
import (
|
|
|
|
"go.wit.com/log"
|
|
|
|
)
|
|
|
|
|
2024-01-05 19:33:41 -06:00
|
|
|
var INFO log.LogFlag
|
2024-01-05 18:52:47 -06:00
|
|
|
var CURL log.LogFlag
|
2024-01-05 19:33:41 -06:00
|
|
|
var ZONE log.LogFlag
|
2024-01-05 18:52:47 -06:00
|
|
|
|
|
|
|
func init() {
|
2024-01-05 19:33:41 -06:00
|
|
|
INFO.B = true
|
|
|
|
INFO.Name = "INFO"
|
|
|
|
INFO.Subsystem = "cloudflare"
|
|
|
|
INFO.Short = "gui cf"
|
|
|
|
INFO.Desc = "general info"
|
|
|
|
INFO.Register()
|
|
|
|
|
2024-01-05 18:52:47 -06:00
|
|
|
CURL.B = true
|
|
|
|
CURL.Name = "CURL"
|
|
|
|
CURL.Subsystem = "cloudflare"
|
|
|
|
CURL.Short = "gui cf"
|
|
|
|
CURL.Desc = "curl interactions()"
|
|
|
|
CURL.Register()
|
2024-01-05 19:33:41 -06:00
|
|
|
|
|
|
|
ZONE.B = true
|
|
|
|
ZONE.Name = "ZONE"
|
|
|
|
ZONE.Subsystem = "cloudflare"
|
|
|
|
ZONE.Short = "gui cf"
|
|
|
|
ZONE.Desc = "zone details"
|
|
|
|
ZONE.Register()
|
2024-01-05 18:52:47 -06:00
|
|
|
}
|