httpclient

package
v0.0.0-...-bc4f0fb Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 6 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
}

Client ...

func New

func New() *Client

New ...

func (*Client) Get

func (c *Client) Get(ctx context.Context, p string) (*Decoder, error)

Get ...

func (*Client) Req

func (c *Client) Req(ctx context.Context, method string, data any, headers map[string][]string, p string) (*Decoder, error)

Req ...

type Decoder

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

Decoder ...

func (*Decoder) Decode

func (c *Decoder) Decode(o any) error

Decode ...

Jump to

Keyboard shortcuts

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