Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FormatProxy ¶
Types ¶
type Server ¶
type Server struct {
Hostname string
Status string
Technologies []struct {
Identifier string
}
Locations []struct {
Country struct {
City struct {
DnsName string `json:"dns_name"`
}
Code string
}
}
}
func GetServers ¶
limit <= -1 for default limit == 0 for all
type ServerLoads ¶
type ServerLoads []*ServerLoad
func GetServerLoads ¶
func GetServerLoads(servers []Server) ServerLoads
func (ServerLoads) Marshal ¶
func (s ServerLoads) Marshal() ([]byte, error)
func (*ServerLoads) Unmarshal ¶
func (s *ServerLoads) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.