utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpClient = http.Client{
	Timeout: 10 * time.Second,
}

Functions

func Get_fetch added in v0.1.0

func Get_fetch(url string) ([]byte, error)

func Is_fqdn

func Is_fqdn(s string) bool

func Is_https_url

func Is_https_url(s string) bool

func Post_fetchJson

func Post_fetchJson(url string, body io.Reader) (*http.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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