Documentation
¶
Index ¶
- Constants
- Variables
- func GetEnv(key, value string) string
- func GetUser(name string) string
- func Out(data interface{}, format string, tmpl string) error
- func OutJson(data interface{}) error
- func OutTable(data interface{}, tmpl string) error
- func OutYaml(data interface{}) error
- func SplitName(name string) (string, string)
- func SplitSocket(value string) (string, string)
- type App
Constants ¶
View Source
const ( ConfSockFile = "unix:/var/openlan/confd/confd.sock" ConfDatabase = "OpenLAN_Switch" AdminTokenFile = "/etc/openlan/switch/token" )
Variables ¶
View Source
var ( Version = "v5" Url = "https://localhost:10000" Token = "" Server = ConfSockFile Database = ConfDatabase Verbose = false )
Functions ¶
func SplitSocket ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.