rtest

package
Version: v0.0.0-...-22de752 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileUploadRequest

func NewFileUploadRequest(uri string, params map[string]string, paramName, path string) (*request.Request, error)

NewFileUploadRequest creates a new file upload http request with optional extra params

func NewGetRequest

func NewGetRequest(urlRequest string, vals map[string]string) (*request.Request, error)

NewGetRequest generates a GET request. It is simpel tu use ist as a test request.

func NewPostReqeust

func NewPostReqeust(urlRequest string, vals url.Values) (*request.Request, error)

NewPostReqeust generates a POST request. It is simpel tu use ist as a test request.

func NewXHRGetRequest

func NewXHRGetRequest(urlRequest string, vals map[string]string) (*request.Request, error)

NewXHRGetRequest generates a XHR GET request. It is simpel tu use ist as a test request.

func NewXHRPostRequest

func NewXHRPostRequest(urlRequest string, vals url.Values) (*request.Request, error)

NewXHRPostRequest generates a XHR POST request. It is simpel tu use ist as a test request.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL