read

package
v0.22.2-rc3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 9 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 to 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 to by m.

Types

This section is empty.

Jump to

Keyboard shortcuts

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