body

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binary

func Binary(body []byte) wrapper.CallWrapper

Binary with bytes body

func Body

func Body(body interface{}) wrapper.CallWrapper

Body with body

func JSON

func JSON(body interface{}) wrapper.CallWrapper

JSON convert body to json data

func JSONWithCodec

func JSONWithCodec(body interface{}, c codec.Codec) wrapper.CallWrapper

JSONWithCodec convert body to json data with custom codec

func Reader

func Reader(body io.Reader) wrapper.CallWrapper

func XML

func XML(body interface{}) wrapper.CallWrapper

XML convert body to xml data

Types

This section is empty.

Jump to

Keyboard shortcuts

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