Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemdUnit ¶
type SystemdUnit struct { Unit *UnitSection Service *UnitSection Install *UnitSection }
func NewSystemdUnit ¶
func NewSystemdUnit() SystemdUnit
func (SystemdUnit) String ¶
func (s SystemdUnit) String() string
type UnitSection ¶
type UnitSection []string
func (*UnitSection) Add ¶
func (u *UnitSection) Add(line string)
Click to show internal directories.
Click to hide internal directories.