Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DataEndpoint string
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the server based on Gin
func (*Server) RouteGetQuote ¶
RouteGetQuote is the handler for the GET /api/quote request The response contains a random Taylor Swift quote, as served by https://api.taylor.rest/
Click to show internal directories.
Click to hide internal directories.