Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiagnosticsService ¶
type DiagnosticsService struct {
Session session.Session
Response *http.Response
CacheDir string
IpCache map[string]bool
// contains filtered or unexported fields
}
func NewDiagnosticsService ¶
func NewDiagnosticsService(s session.Session, cacheFile string) (ds *DiagnosticsService)
func (*DiagnosticsService) FlushCache ¶
func (ds *DiagnosticsService) FlushCache()
func (*DiagnosticsService) IsAkamaiIp ¶
func (*DiagnosticsService) ReadCache ¶
func (ds *DiagnosticsService) ReadCache()
type IsAkamaiIpResponse ¶
type IsAkamaiIpResponse struct {
IsCdnIP bool `json:"isCdnIp"`
}
type RequestVerifyIP ¶
type RequestVerifyIP struct {
IPAddresses []string `json:"ipAddresses"`
}
type ResponseVerifyIP ¶
type ResponseVerifyIP struct {
Request struct {
IPAddresses []string `json:"ipAddresses"`
} `json:"request"`
CreatedBy string `json:"createdBy"`
CreatedTime string `json:"createdTime"`
CompletedTime string `json:"completedTime"`
ExecutionStatus string `json:"executionStatus"`
Results []struct {
ExecutionStatus string `json:"executionStatus"`
IPAddress string `json:"ipAddress"`
IsEdgeIP bool `json:"isEdgeIp"`
} `json:"results"`
}
Click to show internal directories.
Click to hide internal directories.