httputil

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: 0BSD Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBodyContains

func GetBodyContains(client *http.Client, url, substr string) (bool, error)

GetBodyContains is a helper function that sends request to URL and checks if response body contains specified substr.

func GetCheckOK

func GetCheckOK(client *http.Client, url string) (bool, error)

GetCheckOK is a helper function that sends request to URL and checks if response status code is 200 (OK).

Types

This section is empty.

Jump to

Keyboard shortcuts

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