httpstatus

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsClientError

func IsClientError(r *http.Response) bool

IsClientError checks if the status code means client error

func IsError

func IsError(r *http.Response) bool

IsError checks if the status code means client error

func IsInformational

func IsInformational(r *http.Response) bool

IsInformational checks if the status code means informational

func IsRedirection

func IsRedirection(r *http.Response) bool

IsRedirection checks if the status code means redirection

func IsServerError

func IsServerError(r *http.Response) bool

IsServerError checks if the status code means client error

func IsSuccess

func IsSuccess(r *http.Response) bool

IsSuccess checks if the status code means success

Types

This section is empty.

Jump to

Keyboard shortcuts

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