gear_http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClient

func NewHttpClient(timeout time.Duration, config *config.Scheme) gear_client.IClient

Types

type HttpClient

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

func (*HttpClient) PostRequest

func (cli *HttpClient) PostRequest(params any, method string) (*models.RpcGenericResponse, error)

func (*HttpClient) PropagateAddress

func (cli *HttpClient) PropagateAddress() string

func (*HttpClient) SetId added in v0.1.2

func (cli *HttpClient) SetId(id any)

Jump to

Keyboard shortcuts

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