graph

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ReadTimeout = time.Second * 20

Variables

This section is empty.

Functions

func Download

func Download(endpoint string, token string, query ...string) (body io.ReadCloser, err error)

func Read

func Read(endpoint string, token string, v any, query ...string) (err error)

Types

type ResponseError

type ResponseError struct {
	StatusCode int
	Message    string
}

func (*ResponseError) Error

func (re *ResponseError) Error() string

Jump to

Keyboard shortcuts

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