body

package
v0.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeApplicationJson = "application/json"
	ContentTypeApplicationXml  = "application/xml"
)
View Source
const ContextKeyBody = "ContextKeyBody"
View Source
const ContextKeyBoundInstance = "ContextKeyBoundInstance"
View Source
const HeaderContentType = "Content-Type"

Variables

This section is empty.

Functions

This section is empty.

Types

type Expect

type Expect func(t *testing.T, chain *expect.Chain, response *http.Response)

func Empty

func Empty() Expect

func Equal

func Equal(value string) Expect

func IsValid

func IsValid() Expect

func Json

func Json(value interface{}) Expect

func Nil

func Nil() Expect

func NotEmpty

func NotEmpty() Expect

func NotEqual

func NotEqual(value string) Expect

func NotNil

func NotNil() Expect

func Text

func Text(value *string) Expect

func Xml

func Xml(value interface{}) Expect

Jump to

Keyboard shortcuts

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