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) GetHostsCount ¶ added in v0.0.97
func (p *HostsParser) GetHostsCount() int
func (*HostsParser) GetHostsPaginated ¶ added in v0.0.97
func (p *HostsParser) GetHostsPaginated(page int, limit int, filter string) []*AREDNHost
func (*HostsParser) Parse ¶
func (p *HostsParser) Parse() (err error)
type Parsers ¶
type Parsers struct { HostsParser *HostsParser ServicesParser *ServicesParser }
type ServicesParser ¶ added in v0.0.44
type ServicesParser struct {
// contains filtered or unexported fields
}
func NewServicesParser ¶ added in v0.0.44
func NewServicesParser() *ServicesParser
func (*ServicesParser) GetServices ¶ added in v0.0.44
func (p *ServicesParser) GetServices() []*AREDNService
func (*ServicesParser) Parse ¶ added in v0.0.44
func (p *ServicesParser) Parse() (err error)
Click to show internal directories.
Click to hide internal directories.