pkg

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONTENT_TYPE_JSON           = "application/json"
	CONTENT_TYPE_FORM           = "application/x-www-form-urlencoded"
	CONTENT_TYPE_MULTIPART_FORM = "multipart/form-data"
	CONTENT_TYPE_TEXT           = "text/plain"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Execute(method string, token string, uri string, body []byte, contentType string) (response *http.Response, err error)
	GetClient() *http.Client
}

func NewHttp

func NewHttp() Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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