util

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ModePermRW = 0600

TODO duplicate ModePermRW is the umask "-rw-------".

Variables

This section is empty.

Functions

func ReadResponse

func ReadResponse(httpResponse *http.Response, responseStruct interface{}) error

func ReadResponseMap

func ReadResponseMap(httpResponse *http.Response) (map[string]interface{}, error)

func ReadResponseMessage

func ReadResponseMessage(httpResponse *http.Response) (string, error)

func SendRequest

func SendRequest(opt option.Global, method, url string, requestStruct interface{}) (*http.Response, error)

func WarnNoTLS

func WarnNoTLS(noTLS bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳