pihole

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Authenticate() error
	DeleteSession() error
	GetVersion() (*model.VersionResponse, error)
	GetTeleporter() ([]byte, error)
	PostTeleporter(payload []byte, teleporterRequest *model.PostTeleporterRequest) error
	GetConfig() (configResponse *model.ConfigResponse, err error)
	PatchConfig(patchRequest *model.PatchConfigRequest) error
	String() string
	ApiPath(target string) string
}

func NewClient

func NewClient(piHole model.PiHole) Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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