geocode

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GeocodeURL string
}

func Flags

func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config

type Service added in v0.8.1

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config, meterProvider metric.MeterProvider, tracerProvider trace.TracerProvider) Service

func (Service) Close added in v0.8.1

func (s Service) Close()

func (Service) Enabled added in v0.8.1

func (s Service) Enabled() bool

func (Service) GetGeocoding added in v0.8.1

func (s Service) GetGeocoding(ctx context.Context, exif model.Exif) (geocode model.Geocode, err error)

Jump to

Keyboard shortcuts

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