curl

package
v0.0.0-...-2ec961a Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurlGo

type CurlGo struct {
	Url_add string
	Header  map[string]string
	Body    map[string]interface{}

	HttpClient *webclient.Http_Client
	CertPath   string
	KeyPath    string
	CAPath     string
	// contains filtered or unexported fields
}

func NewCurlGo

func NewCurlGo() *CurlGo

func (*CurlGo) Get

func (this *CurlGo) Get() []byte

func (*CurlGo) Post

func (this *CurlGo) Post() []byte

func (*CurlGo) PostJson

func (this *CurlGo) PostJson() []byte

func (*CurlGo) PostWXSSL

func (this *CurlGo) PostWXSSL(xmlstr string) []byte

func (*CurlGo) PostXML

func (this *CurlGo) PostXML(xmlstr string) []byte

func (*CurlGo) SetBody

func (this *CurlGo) SetBody(data map[string]interface{}) *CurlGo

func (*CurlGo) SetHead

func (this *CurlGo) SetHead(data map[string]string) *CurlGo

Jump to

Keyboard shortcuts

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