testing

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTestingPort

func SetTestingPort(p string)

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