testing

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestHTTPRequest

type TestHTTPRequest struct {
	httplib.BeegoHTTPRequest
}

TestHTTPRequest beego test request client

func Delete

func Delete(path string) *TestHTTPRequest

Delete returns test client in DELETE method

func Get

func Get(path string) *TestHTTPRequest

Get returns test client in GET method

func Head(path string) *TestHTTPRequest

Head returns test client in HEAD method

func Post

func Post(path string) *TestHTTPRequest

Post returns test client in POST method

func Put

func Put(path string) *TestHTTPRequest

Put returns test client in PUT method

Jump to

Keyboard shortcuts

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