jsonapi

package module
v0.0.0-...-38e325d Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 9 Imported by: 0

README

jsonapi

AFAIRE.

Licence

MIT.


Copyright (c) 2020-2021 mls-361.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(rw http.ResponseWriter, message string, err error)

BadRequest AFAIRE.

func Decode

func Decode(rw http.ResponseWriter, r *http.Request, maxBodySize int64, output interface{}) error

Decode AFAIRE.

func InternalServerError

func InternalServerError(rw http.ResponseWriter, err error)

InternalServerError AFAIRE.

func NewRequestWithID

func NewRequestWithID(r *http.Request, id string) *http.Request

NewRequestWithID AFAIRE.

func Render

func Render(rw http.ResponseWriter, r *http.Request, value interface{}, logger logger.Logger)

Render AFAIRE.

func RequestID

func RequestID(r *http.Request) string

RequestID AFAIRE.

Types

This section is empty.

Jump to

Keyboard shortcuts

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