https

package
v0.0.0-...-70261f9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpBuilder

type HttpBuilder struct {
	// contains filtered or unexported fields
}

func NewHttpBuilder

func NewHttpBuilder(baseUrl string) *HttpBuilder

func (*HttpBuilder) AddData

func (h *HttpBuilder) AddData(key string, value interface{}) *HttpBuilder

func (*HttpBuilder) AddHeader

func (h *HttpBuilder) AddHeader(key string, value interface{}) *HttpBuilder

func (*HttpBuilder) AddParam

func (h *HttpBuilder) AddParam(key string, value interface{}) *HttpBuilder

func (*HttpBuilder) DoRequest

func (h *HttpBuilder) DoRequest(method string) (string, int)

func (*HttpBuilder) Get

func (h *HttpBuilder) Get() (string, int)

func (*HttpBuilder) GetDatas

func (h *HttpBuilder) GetDatas() string

func (*HttpBuilder) GetUrl

func (h *HttpBuilder) GetUrl() string

func (*HttpBuilder) Post

func (h *HttpBuilder) Post() (string, int)

Jump to

Keyboard shortcuts

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