Documentation ¶
Index ¶
Constants ¶
View Source
const NotifySocketVar = "NOTIFY_SOCKET"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemD ¶
type SystemD interface { IsAvailable() bool CanNotify() bool Close() NotifyReady() error Reload(context.Context, string) error }
func New ¶
func New(c SystemdConfigurer) SystemD
type SystemdConfigurer ¶
type SystemdConfigurer interface {
Enabled() bool
}
Click to show internal directories.
Click to hide internal directories.