Documentation
      ¶
    
    
  
    
  
    Index ¶
- type SystemdUnitFile
 - func (self *SystemdUnitFile) Description() string
 - func (self *SystemdUnitFile) GetSection(section string) map[string]string
 - func (self *SystemdUnitFile) Requirements() map[string][]string
 - func (self *SystemdUnitFile) SetField(section string, key string, value string)
 - func (self *SystemdUnitFile) String() string
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemdUnitFile ¶
func NewSystemdUnitFile ¶
func NewSystemdUnitFile(Contents string) *SystemdUnitFile
func (*SystemdUnitFile) Description ¶ added in v0.1.3
func (self *SystemdUnitFile) Description() string
func (*SystemdUnitFile) GetSection ¶
func (self *SystemdUnitFile) GetSection(section string) map[string]string
func (*SystemdUnitFile) Requirements ¶
func (self *SystemdUnitFile) Requirements() map[string][]string
func (*SystemdUnitFile) SetField ¶
func (self *SystemdUnitFile) SetField(section string, key string, value string)
func (*SystemdUnitFile) String ¶
func (self *SystemdUnitFile) String() string
 Click to show internal directories. 
   Click to hide internal directories.