Versions in this module Expand all Collapse all v0 v0.2.0 Jun 2, 2026 Changes in this version + type HTTPRangeFetcher struct + Client *http.Client + URL string + func (f *HTTPRangeFetcher) FetchRange(ctx context.Context, offset uint64, length uint32) ([]byte, error) + type RemoteFinder struct + func NewRemoteFinder(indexBytes []byte, fetcher SlabFetcher, cacheSize int) (*RemoteFinder, error) + func NewRemoteFinderFromGzip(gzipBytes []byte, fetcher SlabFetcher, cacheSize int) (*RemoteFinder, error) + func (f *RemoteFinder) Query(ctx context.Context, lng, lat float64) (Result, error) + func (f *RemoteFinder) QueryI18n(ctx context.Context, lng, lat float64, lang string) (Result, error) + type SlabFetcher interface + FetchRange func(ctx context.Context, offset uint64, length uint32) ([]byte, error) v0.1.0 May 14, 2026 Changes in this version + type Finder struct + func NewCompressedFinder(path string) (*Finder, error) + func NewFinder(path string) (*Finder, error) + func (f *Finder) Close() error + func (f *Finder) Query(lng, lat float64) Result + func (f *Finder) QueryI18n(lng, lat float64, lang string) Result + type Result struct + Country string + CountryID string + County string + CountyID string + LocalAdmin string + LocalAdminID string + Locality string + LocalityID string + Region string + RegionID string