add consolidated methods, update cli
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
package edgeos
|
||||
|
||||
// EdgeOS combines all device information into one response.
|
||||
type EdgeOS struct {
|
||||
AuthInfo *AuthResponse `json:"authInfo,omitempty"`
|
||||
Config *ConfigData `json:"config,omitempty"`
|
||||
}
|
||||
|
||||
// AuthResponse represents the authentication response from login2 endpoint.
|
||||
type AuthResponse struct {
|
||||
Username string `json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user