Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Variables type Config type Handler func New(_ Config) (*Handler, error) func (h *Handler) Install() error func (h *Handler) IsInstalled() bool func (h *Handler) Remove() error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrElevatedPrivileges = errors.New("Installation continues in the new window") ErrAlreadyInstalled = errors.New("Service has already been installed") ErrNotInstalled = errors.New("Service is not installed") ) Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { } type Handler ¶ type Handler struct { // contains filtered or unexported fields } func New ¶ func New(_ Config) (*Handler, error) func (*Handler) Install ¶ func (h *Handler) Install() error func (*Handler) IsInstalled ¶ func (h *Handler) IsInstalled() bool func (*Handler) Remove ¶ func (h *Handler) Remove() error Source Files ¶ View all Source files daemon.go handler.go handler_linux.go handler_linux_systemd.go Click to show internal directories. Click to hide internal directories.