api

package
v1.2.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidRange added in v1.1.1

func IsValidRange(period int32) bool

func NewGoClient

func NewGoClient(endpoint string) *client.APIClient

Types

type Client

type Client struct {
	// The configured http client for making API requests
	HTTPClient *http.Client

	// The API endpoint to use when making requests
	// Example: https://api.opensauced.pizza
	Endpoint string
}

func NewClient

func NewClient(endpoint string) *Client

NewClient creates a new OpenSauced API client for making http requests

Jump to

Keyboard shortcuts

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