Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateParser ¶
type TemplateParser struct {
Vars map[string]interface{}
Partials string
Parser config.Parser
Templates []string
Path string
// contains filtered or unexported fields
}
func NewTemplateParser ¶
func NewTemplateParser(cfg Config) *TemplateParser
func (*TemplateParser) AddFunc ¶
func (t *TemplateParser) AddFunc(name string, f interface{})
func (*TemplateParser) LastSource ¶
func (t *TemplateParser) LastSource() ([]byte, error)
func (*TemplateParser) Parse ¶
func (t *TemplateParser) Parse(configFile string) (config.ServiceConfig, error)
Click to show internal directories.
Click to hide internal directories.