CorpRegV01

package
v0.7.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTemplate

func RunTemplate(TemplateFn string, name_of string, g_data map[string]interface{}) string

=================================================================================================================================================== 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL