type Service struct { Name string Settings map[string]string }
type Servicefile struct { Services []*Service // contains filtered or unexported fields }
func ParseServicefile(r io.Reader) (*Servicefile, error)
ParseServicefile reads r and parses it into a Servicefile.
func ReadServicefile(path string) (*Servicefile, error)
ReadServicefile reads the file at path and parses it into a Servicefile.
func (sf *Servicefile) GetService(name string) (*Service, error)
GetService returns the named service.