Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAPIKey ¶
func CheckAPIKey() error
func ErrorCheck ¶
func FormatResult ¶
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
Click to show internal directories.
Click to hide internal directories.