convert

package
v0.0.0-...-042b26a Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = &http.Client{
	Timeout: 10 * time.Second,
}
View Source
var ErrUnrecognizedURL = errors.New("unrecognized url")

Functions

func Get

func Get[Response any](req *http.Request) (*Response, error)

Get will use the Client to send the given request. It will then attempt to fill the Response type using the data in the response body. Alternatively, the Response can be an interface with the Tournament() and Entrants() methods.

Types

This section is empty.

Directories

Path Synopsis
Package challonge contains code for obtaining tournament information using the Challonge API (https://api.challonge.com/v1).
Package challonge contains code for obtaining tournament information using the Challonge API (https://api.challonge.com/v1).
Package startgg contains code for obtaining tournament information using the start.gg API (https://developer.start.gg/).
Package startgg contains code for obtaining tournament information using the start.gg API (https://developer.start.gg/).

Jump to

Keyboard shortcuts

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