read

package
v0.18.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package read implements request object readers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(r io.Reader, v interface{}) error

JSON reads JSON from the request body and stores it in the value pointed by v.

func ProtoJSON

func ProtoJSON(r io.Reader, m proto.Message) error

ProtoJSON reads JSON from the request body and stores it in the value pointed by v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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