beego: github.com/astaxie/beego/client/httplib/testing Index | Files

package testing

import "github.com/astaxie/beego/client/httplib/testing"

Index

Package Files

client.go

func SetTestingPort Uses

func SetTestingPort(p string)

type TestHTTPRequest Uses

type TestHTTPRequest struct {
    httplib.BeegoHTTPRequest
}

TestHTTPRequest beego test request client

func Delete Uses

func Delete(path string) *TestHTTPRequest

Delete returns test client in DELETE method

func Get Uses

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 Uses

func Post(path string) *TestHTTPRequest

Post returns test client in POST method

func Put Uses

func Put(path string) *TestHTTPRequest

Put returns test client in PUT method

Package testing imports 1 packages (graph) and is imported by 1 packages. Updated 2020-11-07. Refresh now. Tools for package owners.