net

package
v0.0.0-...-a3239b4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorEmptyResponse = errors.New("Empty Response")
View Source
var Koanf = koanf.New(".")

Koanf -- Global koanf instance. Use . as the key path delimiter. This can be / or anything.

Functions

func HTTPGet

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

HTTPGet -- get contents from url, with cache

func HTTPGetWithKey

func HTTPGetWithKey(url string, keyName string, keyValue string) ([]byte, error)

HTTPGetWithKey -- get contents from url, with cache and optional key

func PrintKey

func PrintKey()

Types

This section is empty.

Jump to

Keyboard shortcuts

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