Documentation ¶
Index ¶
- func RunTemplate(TemplateFn string, name_of string, g_data map[string]interface{}) string
- type CorpRegV01Type
- func (hdlr *CorpRegV01Type) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *CorpRegV01Type) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *CorpRegV01Type) 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 CorpRegV01Type ¶
type CorpRegV01Type struct { Next http.Handler // Paths []string // Dir string // Fmt string // MakeTarget []string // SetEnvNames []string // ApiKey string // Template string // "" indicates just generate output // contains filtered or unexported fields }
func NewCorpRegV01Server ¶
func NewCorpRegV01Server(n http.Handler, p []string, fmt string) *CorpRegV01Type
func (*CorpRegV01Type) InitializeWithConfigData ¶
func (hdlr *CorpRegV01Type) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*CorpRegV01Type) PreValidate ¶
func (hdlr *CorpRegV01Type) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*CorpRegV01Type) ServeHTTP ¶
func (hdlr *CorpRegV01Type) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.