Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg conf.ServerConfig, unblock *unblock.Service, resolver *resolver.Upstream, registry *firewall.IPSetRegistry) *Service
func (*Service) QueryStats ¶
func (d *Service) QueryStats() resolver.QueryStats
func (*Service) ResyncRules ¶
func (d *Service) ResyncRules(ctx context.Context) (SyncReport, error)
func (*Service) UpstreamStats ¶
func (d *Service) UpstreamStats() []resolver.ServerStat
Click to show internal directories.
Click to hide internal directories.