Documentation ¶
Index ¶
- Variables
- func Cache(config dict.Dicter) (cache.Interface, error)
- func Maps(a *atlas.Atlas, maps []config.Map, providers map[string]provider.Tiler) error
- func Providers(providers []dict.Dicter) (map[string]provider.Tiler, error)
- type ErrDefaultTagsInvalid
- type ErrFetchingLayerInfo
- type ErrProviderAlreadyRegistered
- type ErrProviderLayerInvalid
- type ErrProviderLayerNotRegistered
- type ErrProviderNotFound
- type ErrProviderTypeInvalid
- type ErrProviderTypeMissing
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCacheTypeMissing = errors.New("register: cache 'type' parameter missing") ErrCacheTypeInvalid = errors.New("register: cache 'type' value must be a string") )
View Source
var ( ErrProviderNameMissing = errors.New("register: provider 'name' parameter missing") ErrProviderNameInvalid = errors.New("register: provider 'name' value must be a string") )
Functions ¶
Types ¶
type ErrDefaultTagsInvalid ¶
type ErrDefaultTagsInvalid struct {
ProviderLayer string
}
func (ErrDefaultTagsInvalid) Error ¶
func (e ErrDefaultTagsInvalid) Error() string
type ErrFetchingLayerInfo ¶
type ErrFetchingLayerInfo struct {
Provider string
}
func (ErrFetchingLayerInfo) Error ¶
func (e ErrFetchingLayerInfo) Error() string
type ErrProviderAlreadyRegistered ¶
type ErrProviderAlreadyRegistered string
func (ErrProviderAlreadyRegistered) Error ¶
func (e ErrProviderAlreadyRegistered) Error() string
type ErrProviderLayerInvalid ¶
func (ErrProviderLayerInvalid) Error ¶
func (e ErrProviderLayerInvalid) Error() string
type ErrProviderLayerNotRegistered ¶
func (ErrProviderLayerNotRegistered) Error ¶
func (e ErrProviderLayerNotRegistered) Error() string
type ErrProviderNotFound ¶
type ErrProviderNotFound struct {
Provider string
}
func (ErrProviderNotFound) Error ¶
func (e ErrProviderNotFound) Error() string
type ErrProviderTypeInvalid ¶
type ErrProviderTypeInvalid string
func (ErrProviderTypeInvalid) Error ¶
func (e ErrProviderTypeInvalid) Error() string
type ErrProviderTypeMissing ¶
type ErrProviderTypeMissing string
func (ErrProviderTypeMissing) Error ¶
func (e ErrProviderTypeMissing) Error() string
Click to show internal directories.
Click to hide internal directories.