helpers

package
v0.0.0-...-8e7d9b8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleApi

func HandleApi(router *mux.Router, method string, url string, handlerFn func(map[string]string, io.ReadCloser) (interface{}, error))

func HandleFile

func HandleFile(router *mux.Router, url string, handlerFn func(map[string]string, io.ReadCloser) (*os.File, error))

func HandleStatic

func HandleStatic(router *mux.Router, url string, staticFileName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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