Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHTTPHandler ¶
MakeHTTPHandler creates an http handler
Types ¶
type Location ¶
type Location struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` UpdatedAt string `json:"updated_at"` }
Location response model
type Middleware ¶
Middleware describes a service middleware
func LoggingMiddleware ¶
func LoggingMiddleware(logger *logrus.Logger) Middleware
LoggingMiddleware create a new logging middleware
Click to show internal directories.
Click to hide internal directories.