Documentation
¶
Index ¶
- func Create(u *Unit) error
- func Exists(name string) bool
- 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 TunnelServiceName ¶
TunnelServiceName returns the systemd service name for a tunnel.
Types ¶
Click to show internal directories.
Click to hide internal directories.