http

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package http provides utility functions for manipulating HTTP errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreNotFound

func IgnoreNotFound(err error) error

IgnoreNotFound returns nil if err is HTTP Not Found (404), else err.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound checks if err is an HTTP Not Found (404) error.

func IsQuotaExceeded

func IsQuotaExceeded(err error) bool

IsQuotaExceeded checks if err is a googleapi error for exceeded quota.

Types

This section is empty.

Jump to

Keyboard shortcuts

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