Documentation
¶
Index ¶
Constants ¶
View Source
const CONTENT_TYPE = "Content-Type"
View Source
const CONTENT_TYPE_JSON = "application/json"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Firewall ¶
type Firewall struct {
Id string `json:"id"`
Name string `json:"name"`
RulesIn []FirewallRule `json:"rulesIn"`
RulesOut []FirewallRule `json:"rulesOut"`
}
type FirewallRule ¶
type JWTData ¶
type JWTData struct {
jwt.StandardClaims
ShieldooClaims map[string]string `json:"shieldoo"`
}
type Server ¶
type Server struct {
Id string `json:"id"`
Name string `json:"name"`
Groups []Group `json:"groups"`
Firewall Firewall `json:"firewall"`
Listeners []Listener `json:"listeners"`
Autoupdate bool `json:"autoupdate"`
IpAddress string `json:"ipAddress"`
Description string `json:"description"`
Configuration string `json:"configuration"`
OSUpdatePolicy ServerOSAutoupdatePolicy `json:"osUpdatePolicy"`
}
Click to show internal directories.
Click to hide internal directories.