http

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	Conn *khttp.Client
}

func NewHttpClient

func NewHttpClient(ctx context.Context, httpClientCfg HttpClientConfig, logger log.Logger) (*HttpClient, error)

type HttpClientConfig

type HttpClientConfig struct {
	Endpoint string
	Timeout  time.Duration
}

Jump to

Keyboard shortcuts

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