resetful

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResetFulClient

type ResetFulClient struct {
	MaxIdleConns        int
	MaxIdleConnsPerHost int
	IdleConnTimeout     int
	IsKeepActive        int
	HeadData            map[string]string
	HttpClient          *http.Client
}

func NewResetFulClient

func NewResetFulClient() *ResetFulClient

func (*ResetFulClient) CreateHTTPClient

func (this *ResetFulClient) CreateHTTPClient() *http.Client

func (*ResetFulClient) HttpGet

func (this *ResetFulClient) HttpGet(url_add string) string

func (*ResetFulClient) PostBase64Json

func (this *ResetFulClient) PostBase64Json(url_add string, data string) string

func (*ResetFulClient) PostData

func (this *ResetFulClient) PostData(url_add string, data url.Values) string

func (*ResetFulClient) PostJson

func (this *ResetFulClient) PostJson(url_add string, data string) string

func (*ResetFulClient) SetHeader

func (this *ResetFulClient) SetHeader(data map[string]string) *ResetFulClient

Jump to

Keyboard shortcuts

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