Documentation ¶
Index ¶
- func RunTemplate(TemplateFn string, name_of string, g_data map[string]interface{}) string
- type SaveInFileType
- func (hdlr *SaveInFileType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *SaveInFileType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *SaveInFileType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTemplate ¶
=================================================================================================================================================== Run a template and get the results back as a stirng. This is the primary template runner for sending email.
Types ¶
type SaveInFileType ¶
type SaveInFileType struct { Next http.Handler // Paths []string // Dir string // Fmt string // Template string // "" indicates just generate output // contains filtered or unexported fields }
func NewSaveInFileServer ¶
func NewSaveInFileServer(n http.Handler, p []string, fmt string) *SaveInFileType
func (*SaveInFileType) InitializeWithConfigData ¶
func (hdlr *SaveInFileType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*SaveInFileType) PreValidate ¶
func (hdlr *SaveInFileType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*SaveInFileType) ServeHTTP ¶
func (hdlr *SaveInFileType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.