httpclient

package
v0.5.62 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(clientConfig *ClientConfig) *resty.Client

func Default added in v0.2.12

func Default() *resty.Client

func External added in v0.4.9

func External(cfg *config.Config) *resty.Client

func FeelgoodResponseToStruct added in v0.1.0

func FeelgoodResponseToStruct(response *resty.Response, obj interface{}) error

func Internal added in v0.4.2

func Internal(cfg *config.Config) *resty.Client

Types

type ClientConfig

type ClientConfig struct {
	Host    string
	Port    string
	Headers map[string]string
}

Jump to

Keyboard shortcuts

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