internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAPIKey

func CheckAPIKey() error

func ErrorCheck

func ErrorCheck(err error) error

func FormatResult

func FormatResult(v interface{}, flags *pflag.FlagSet) string

func SetupClient added in v0.2.0

func SetupClient() (*openaq.Client, error)

Types

type APIKeyNotSetError

type APIKeyNotSetError struct{}

func (*APIKeyNotSetError) Error

func (e *APIKeyNotSetError) Error() string

type ForbiddenError

type ForbiddenError struct{}

func (*ForbiddenError) Error

func (e *ForbiddenError) Error() string

type InternalServerError

type InternalServerError struct{}

func (*InternalServerError) Error

func (e *InternalServerError) Error() string

type InvalidCredentialsError

type InvalidCredentialsError struct{}

func (*InvalidCredentialsError) Error

func (e *InvalidCredentialsError) Error() string

type TooManyRequestsError

type TooManyRequestsError struct{}

func (*TooManyRequestsError) Error

func (e *TooManyRequestsError) Error() string

Jump to

Keyboard shortcuts

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