Documentation ¶
Overview ¶
Package agh contains common entities and interfaces of AdGuard Home.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyServiceWithConfig ¶
EmptyServiceWithConfig is a ServiceWithConfig that does nothing. Its Config method returns Conf.
TODO(a.garipov): Remove if unnecessary.
func (*EmptyServiceWithConfig[ConfigType]) Config ¶
func (s *EmptyServiceWithConfig[ConfigType]) Config() (conf ConfigType)
Config implements the ServiceWithConfig interface for *EmptyServiceWithConfig.
type ServiceWithConfig ¶
ServiceWithConfig is an extension of the [Service] interface for services that can return their configuration.
TODO(a.garipov): Consider removing this generic interface if we figure out how to make it testable in a better way.
Click to show internal directories.
Click to hide internal directories.