Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
)Functions ¶
This section is empty.
Types ¶
type GeocodeConfig ¶
type Provider ¶
type Provider interface { Geocode(address string, config GeocodeConfig) ([]*Location, error) GeocodeWithContext(ctx context.Context, address string, config GeocodeConfig) ([]*Location, error) ReverseGeocode(loc Location, config ReverseGeocodeConfig) ([]*Address, error) ReverseGeocodeWithContext(ctx context.Context, loc Location, config ReverseGeocodeConfig) ([]*Address, error) }
type ProviderError ¶
type ProviderError struct {
// contains filtered or unexported fields
}
func NewProviderError ¶
func NewProviderError(msg string, status int) *ProviderError
func (*ProviderError) Error ¶
func (e *ProviderError) Error() string
func (*ProviderError) Status ¶
func (e *ProviderError) Status() int
Click to show internal directories.
Click to hide internal directories.