Documentation
¶
Index ¶
- func Create(u *Unit) error
- func Exists(name string) bool
- func ListSlipgateServices() []string
- func Logs(name string, lines string) (string, error)
- func Remove(name string) error
- func Restart(name string) error
- func Start(name string) error
- func Status(name string) (string, error)
- func Stop(name string) error
- func TunnelServiceName(tag string) string
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListSlipgateServices ¶ added in v1.5.0
func ListSlipgateServices() []string
ListSlipgateServices returns the names of all slipgate-* service files found in the systemd directory (without the .service suffix).
func TunnelServiceName ¶
TunnelServiceName returns the systemd service name for a tunnel.
Types ¶
Click to show internal directories.
Click to hide internal directories.