Help us shape the future of Go! Take the 2026 Go Developer Survey

remote

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient = remote.HTTPClient

HTTPClient represents an HTTP client.

type Provider

type Provider = remote.Provider

Provider is a remote JSON-LD context provider.

func NewProvider

func NewProvider(endpoint string, opts ...ProviderOpt) *Provider

NewProvider returns a new instance of the remote provider.

type ProviderOpt

type ProviderOpt = remote.ProviderOpt

ProviderOpt configures the remote context provider.

func WithHTTPClient

func WithHTTPClient(client HTTPClient) ProviderOpt

WithHTTPClient configures an HTTP client.

type Response

type Response = remote.Response

Response represents a response from the remote source with JSON-LD context documents.

Jump to

Keyboard shortcuts

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