helper

package
v0.0.0-...-54a493b Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugMode bool
)

Functions

func CreateResult

func CreateResult(success bool, data interface{}, message string) map[string]interface{}

func HandleError

func HandleError(err error, optionalArgs ...interface{}) bool

func ImageUploadHandler

func ImageUploadHandler(r *knot.WebContext, filename, dstpath string) (error, string)

func UploadFileHandler

func UploadFileHandler(r *knot.WebContext, tempfile, dstpath, filename string) (error, string, string, string)

func UploadHandler

func UploadHandler(r *knot.WebContext, filename, dstpath string) (error, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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