Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AREDNService ¶
type AREDNService struct { URL string `json:"url"` Protocol string `json:"protocol"` Name string `json:"name"` ShouldLink bool `json:"should_link"` }
func (*AREDNService) String ¶
func (s *AREDNService) String() string
type HostData ¶
type HostData struct { Hostname string `json:"hostname"` IP net.IP `json:"ip"` Services []*AREDNService `json:"services"` }
type HostsParser ¶
type HostsParser struct {
// contains filtered or unexported fields
}
func NewHostsParser ¶
func NewHostsParser() *HostsParser
func (*HostsParser) GetHosts ¶
func (p *HostsParser) GetHosts() []*AREDNHost
func (*HostsParser) Parse ¶
func (p *HostsParser) Parse() (err error)
type Parsers ¶
type Parsers struct { HostsParser *HostsParser ServicesParser *servicesParser }
Click to show internal directories.
Click to hide internal directories.