Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTemplateRennder ¶
type MockTemplateRennder struct {
GetScriptfunc func(baseUrl string, params *omnitruck.RequestParams, filePath string) (string, error)
}
func (*MockTemplateRennder) GetScript ¶
func (mfu *MockTemplateRennder) GetScript(baseUrl string, params *omnitruck.RequestParams, filePath string) (string, error)
type TemplateRender ¶
type TemplateRennderImpl ¶
type TemplateRennderImpl struct{}
func NewTemplateRender ¶
func NewTemplateRender() *TemplateRennderImpl
func (*TemplateRennderImpl) GetScript ¶
func (fu *TemplateRennderImpl) GetScript(baseUrl string, params *omnitruck.RequestParams, filePath string) (string, error)
Click to show internal directories.
Click to hide internal directories.