jsondecoder

package
v0.0.0-...-157c9c8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonDecoder

type JsonDecoder struct{}

JsonDecoder fulfills lhttp.RequestDecoder

func New

func New() JsonDecoder

New JsonDecoder

func (JsonDecoder) Decode

func (jd JsonDecoder) Decode(dst interface{}, r *http.Request) error

Decode the request body as json into dst.

Jump to

Keyboard shortcuts

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