package
Version:
v0.0.0-...-d5c2002
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Domain struct {
Servers []Server `json:"endpoints"`
ServerChanged bool `json:"servers_changed"`
SSLGrade string `json:"ssl_grade"`
PreviousSslGrade string `json:"previous_ssl_grade"`
Logo string `json:"logo"`
Title string `json:"title"`
Is_down bool `json:"is_down"`
}
type Server struct {
Address string `json:"address"`
SslGrade string `json:"ssl_grade"`
Country string `json:"country"`
Owner string `json:"owner"`
}
type ServerList struct {
Items []SimpleDomain `json:"items"`
}
type ServerSSL struct {
}
type SimpleDomain struct {
Domain string `json:"domain"`
Servers []Server `json:"endpoints"`
SSLGrade string `json:"ssl_grade"`
Logo string `json:"logo"`
Title string `json:"title"`
Time time.Time `json:"time_consulted"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.