package
0.0.0-20231206042423-11695821f22f
Repository: https://github.com/phrozen/geohash.git
Documentation: pkg.go.dev

# README

geohash based key/value server

Build Status GoDoc License: MIT Go Report Card codecov

Maintainability Test Coverage

Endpoints

GET        /:geohash
POST       /:geohash
GET        /:geohash/region
GET        /:geohash/neighbours
OPTIONS    /:geohash*

# Functions

NewApp creates a new App and initializes database with default bucket.
NewBoltDB creates a new BoltDB handler.
ValidateGeohash is a MiddlewareFunc that checks that the given geohash URL parameter is valid.

# Structs

App type is to store dependency data.
BoltDB implements Database with a BoltDB backend.

# Interfaces

Database defines a simple Key/Value Store interface.