adguard

package
v0.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID          = "adguard_home"
	EndpointKey = "endpoint"
	UsernameKey = "username"
	PasswordKey = "password"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdGuardHome

type AdGuardHome struct {
	// contains filtered or unexported fields
}

func NewAdGuardHome

func NewAdGuardHome(endpoint string, username string, password string) *AdGuardHome

func (*AdGuardHome) GetStats

func (v *AdGuardHome) GetStats() (*openapi.Stats, error)

func (*AdGuardHome) GetStatus

func (v *AdGuardHome) GetStatus() (*openapi.ServerStatus, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL