client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(settings ...func(o *Options)) *Client

func (*Client) Do

func (c *Client) Do(r *http.Request) (*http.Response, error)

type Options

type Options struct {
	Headers map[string]string
	Timeout time.Duration
	Name    string
	Level   slog.Level

	Attributes []attribute.KeyValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳