read

package
v0.24.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 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