Documentation ¶
Index ¶
- type Bool
- type Client
- func (c *Client) GetClients(ctx context.Context) (*generated.Clients, error)
- func (c *Client) GetDhcp(ctx context.Context) (*DhcpStatus, error)
- func (c *Client) GetQueryLog(ctx context.Context) (map[string]map[string]int, []QueryTime, []logEntry, error)
- func (c *Client) GetStats(ctx context.Context) (*Stats, error)
- func (c *Client) GetStatus(ctx context.Context) (*Status, error)
- func (c *Client) Url() string
- type ClientInfo
- type DhcpLease
- type DhcpStatus
- type QueryTime
- type Stats
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetClients ¶ added in v1.1.0
type ClientInfo ¶
type DhcpStatus ¶
type Stats ¶
type Stats struct { TotalQueries int `json:"num_dns_queries"` BlockedFilteredQueries int `json:"num_blocked_filtering"` ReplacedSafebrowsingQueries int `json:"num_replaced_safebrowsing"` ReplacedSafesearchQueries int `json:"num_replaced_safesearch"` ReplacedParentalQueries int `json:"num_replaced_parental"` AvgProcessingTime float32 `json:"avg_processing_time"` TopQueriedDomains []map[string]int `json:"top_queried_domains"` TopBlockedDomains []map[string]int `json:"top_blocked_domains"` TopClients []map[string]int `json:"top_clients"` TopUpstreamsResponses []map[string]int `json:"top_upstreams_responses"` TopUpstreamsAvgTimes []map[string]float32 `json:"top_upstreams_avg_time"` }
Click to show internal directories.
Click to hide internal directories.