Documentation
¶
Index ¶
- type UploadHandlerType
- func (hdlr *UploadHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *UploadHandlerType) InsertIntoDB(mdata map[string]string, www http.ResponseWriter, req *http.Request)
- func (hdlr *UploadHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *UploadHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
- type UploadReturnType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadHandlerType ¶
type UploadHandlerType struct { Next http.Handler // Paths []string // UploadDirectory string // Directory to place file in FileNameTmpl string // Qt template for file name MaxMemory int // Maximum mejory in K (*1024) LineNo int // // contains filtered or unexported fields }
func NewQRRedirectServer ¶
func NewQRRedirectServer(n http.Handler, p []string, to string) *UploadHandlerType
func (*UploadHandlerType) InitializeWithConfigData ¶
func (hdlr *UploadHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*UploadHandlerType) InsertIntoDB ¶
func (hdlr *UploadHandlerType) InsertIntoDB(mdata map[string]string, www http.ResponseWriter, req *http.Request)
func (*UploadHandlerType) PreValidate ¶
func (hdlr *UploadHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*UploadHandlerType) ServeHTTP ¶
func (hdlr *UploadHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
type UploadReturnType ¶
Click to show internal directories.
Click to hide internal directories.