Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Services = []string{"custom"}
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a data provider for custom URLs
func New ¶
func New(block schema.OptionBlock) (*Provider, error)
New creates a new provider client for custom URLs
type ProviderOptions ¶
type ProviderOptions struct {
Id string
URLs []string
Headers map[string]string
Services schema.ServiceMap
}
func (*ProviderOptions) ParseOptionBlock ¶
func (p *ProviderOptions) ParseOptionBlock(block schema.OptionBlock) error
Click to show internal directories.
Click to hide internal directories.