resty

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestyClient

type RestyClient struct {
	Client *r.Client
}

func NewRestyClient

func NewRestyClient(base ...*r.Client) *RestyClient

func (*RestyClient) Get

func (c *RestyClient) Get(ctx context.Context, apiKey string, url string) (string, error)

type RestyError

type RestyError struct {
	Response *r.Response
}

func (*RestyError) Error

func (e *RestyError) Error() string

Jump to

Keyboard shortcuts

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