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

httploader.go

Version
v5.3.1 (latest)
Published
Jul 22, 2023
Platform
js/wasm
Imports
4 packages
Last checked
12 hours ago

Tools for package owners.