reqx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeaderToken

func GetHeaderToken(r *http.Request) (string, error)

Types

type RequestClient

type RequestClient interface {
	Get(v interface{}, url string, params requestOptions, headers requestOptions) error
	Post(v interface{}, url string, body interface{}, headers requestOptions) error
	PostForm(v interface{}, url string, body, headers requestOptions) error
}

func NewRestyClient

func NewRestyClient() RequestClient

Jump to

Keyboard shortcuts

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