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.2.0
Published
Jan 30, 2023
Platform
darwin/amd64
Imports
4 packages
Last checked
7 seconds ago

Tools for package owners.