Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "merlin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Merlin ¶
type Merlin struct {
// contains filtered or unexported fields
}
Merlin represents a configuration handler for setting up and managing ctrld on Merlin routers.
func (*Merlin) Cleanup ¶
Cleanup restores the original dnsmasq and nvram configurations and restarts dnsmasq if necessary.
func (*Merlin) ConfigureService ¶
ConfigureService configures the service based on the provided configuration. It returns an error if the configuration fails.
func (*Merlin) Install ¶
Install sets up the necessary configurations and services required for the Merlin instance to function properly.
func (*Merlin) PreRun ¶
PreRun prepares the Merlin instance for operation by waiting for essential services and directories to become available.
Click to show internal directories.
Click to hide internal directories.