client

package
v0.0.0-...-c91ad5a Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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 {
	Base_url string

	Client            *http.Client
	NormalRateLimiter *rate.Limiter
	BurstRateLimiter  *rate.Limiter
	// contains filtered or unexported fields
}

func New

func New(token string) *Client

func (*Client) Send

func (c *Client) Send(req *http.Request) (*http.Response, error)

func (*Client) SendWithAuth

func (c *Client) SendWithAuth(req *http.Request) (*http.Response, error)

func (*Client) UpdateAuth

func (c *Client) UpdateAuth(token string)

Jump to

Keyboard shortcuts

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