httpclient

package
v0.2.26 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 5 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 FeelgoodResponseToStruct added in v0.1.0

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

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