Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient represents an HTTP client.
type Provider ¶
type Provider struct {
	// contains filtered or unexported fields
}
    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 func(*Provider)
ProviderOpt configures the remote context provider.
func WithHTTPClient ¶
func WithHTTPClient(client HTTPClient) ProviderOpt
WithHTTPClient configures an HTTP client.
 Click to show internal directories. 
   Click to hide internal directories.