Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Instance = Client{
URL: "http://localhost:8980/opennms",
Username: "admin",
Password: "admin",
Timeout: 5,
}
Instance a global reference to the ReST Client instance
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
URL string `yaml:"url"`
Username string `yaml:"username"`
Password string `yaml:"password"`
Insecure bool `yaml:"insecure"`
Timeout int `yaml:"timeout"`
Debug bool `yaml:"debug"`
}
Client OpenNMS ReST API configuration
Click to show internal directories.
Click to hide internal directories.