http

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalAuthHTTPClient

func InternalAuthHTTPClient(opts InternalAuthHttpClientOpts) *req.Client

func RetryableHTTPClient

func RetryableHTTPClient(opts HttpClientOpts) *req.Client

Types

type Headers

type Headers map[string]string

Headers defines the headers for the HTTP request

type HttpClientOpts

type HttpClientOpts struct {
	Timeout time.Duration
	Retries int
}

type InternalAuthHttpClientOpts

type InternalAuthHttpClientOpts struct {
	ServiceID  string
	ServiceKey string
	*HttpClientOpts
}

Jump to

Keyboard shortcuts

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