package httploader
import "github.com/santhosh-tekuri/jsonschema/v5/httploader"
Package httploader implements loader.Loader for http/https url.
The package is typically only imported for the side effect of registering its Loaders.
To use httploader, link this package into your program:
import _ "github.com/santhosh-tekuri/jsonschema/v5/httploader"
Index ¶
Variables ¶
var Client = http.DefaultClient
Client is the default HTTP Client used to Get the resource.
Functions ¶
func Load ¶
func Load(url string) (io.ReadCloser, error)
Load loads resource from given http(s) url.
Source Files ¶
- Version
- v5.1.1
- Published
- Nov 22, 2022
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.