httputil

package
v0.0.0-...-16d7efa Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) (*http.Response, error)

func GetByte

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

func GetByteWithBearerToken

func GetByteWithBearerToken(url, token string) ([]byte, error)

GetByteWithBearerToken sends a GET request to the specified URL with a Bearer token for authorization.

func GetJSONStr

func GetJSONStr(source string) (string, error)

func GetWithBearerToken

func GetWithBearerToken(url string, token string) (*http.Response, error)

func IsValidURL

func IsValidURL(url string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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