response

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MPL-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WasConflict

func WasConflict(resp *http.Response) bool

WasConflict returns true if the HttpResponse is non-nil and has a status code of Conflict

func WasNotFound

func WasNotFound(resp *http.Response) bool

WasNotFound returns true if the HttpResponse is non-nil and has a status code of NotFound

Types

This section is empty.

Jump to

Keyboard shortcuts

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