rexClient

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QxClient

type QxClient struct {
	*http.Client
	// contains filtered or unexported fields
}

func NewQxClient

func NewQxClient(c *rexConfig.Config) *QxClient

func (*QxClient) EasyNewRequest

func (cli *QxClient) EasyNewRequest(ctx context.Context, svc string, relativePath string, method string, sendBody interface{}) ([]byte, error)

func (*QxClient) NewRequest

func (cli *QxClient) NewRequest(
	ctx context.Context,
	svc string,
	url string,
	method string,
	headers *map[string]string,
	sendBody interface{}) func() (*http.Response, error)

Jump to

Keyboard shortcuts

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