rexClient

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.0.12

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

func NewClient added in v1.0.12

func NewClient(c *rexConfig.Config) *Client

func (*Client) EasyNewRequest added in v1.0.12

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

func (*Client) NewRequest added in v1.0.12

func (cli *Client) 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