Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidName ¶
Types ¶
type Conf ¶
type Conf struct { RootNode tree.NodeElement Sections map[string]*Section // contains filtered or unexported fields }
func NewConf ¶
func NewConf(root tree.NodeElement) *Conf
func (*Conf) AddSection ¶
func (*Conf) AddSectionNode ¶
func (c *Conf) AddSectionNode(n tree.NodeElement) *Section
func (*Conf) RemoveEntry ¶
func (*Conf) RemoveSection ¶
type Section ¶
type Section struct { Nodes []tree.NodeElement Entries map[string]*Entry Updated bool }
func (*Section) AddEntryNode ¶
func (s *Section) AddEntryNode(n tree.NodeElement) *Entry
func (*Section) RemoveEntry ¶
Click to show internal directories.
Click to hide internal directories.