Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JWTExpiry = "2h"
View Source
var JWTIssuer = "test_endpoints"
View Source
var JWTKey = "random"
Functions ¶
func CloseDatabase ¶
func CreateMemDatabase ¶
func DropTables ¶
func ValidToken ¶
Types ¶
type MockLocationFinder ¶
type MockLocationFinder struct{}
func (MockLocationFinder) GetCityCenter ¶
func (finder MockLocationFinder) GetCityCenter(city string) (location.Coordinates, error)
func (MockLocationFinder) GetPostalLatitudeAndLongitude ¶
Click to show internal directories.
Click to hide internal directories.