render

package
v0.0.0-...-817ee16 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(w http.ResponseWriter, err error)

func Error

func Error(w http.ResponseWriter, err error)

func JSON

func JSON(w http.ResponseWriter, v interface{})

func WrapResponse

func WrapResponse(wrapData bool) func(http.Handler) http.Handler

Types

type H

type H map[string]interface{}

Jump to

Keyboard shortcuts

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