shrink

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 4 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 {
	HttpClient http.Client
	Token      string
	Host       string
}

func NewClient

func NewClient(token string) *Client

func (*Client) DoRequest

func (c *Client) DoRequest(method, path string, body io.Reader) (*http.Response, error)

DoRequest makes a request to the Shrinkster API, caller is responsible to close response body

Jump to

Keyboard shortcuts

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