Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingController ¶
type PingController struct {
App *app.Application
}
PingController is used as the base controller for the Ping logic
func NewPingController ¶
func NewPingController(app *app.Application) *PingController
NewPingController initializes SearchController
func (*PingController) Ping ¶
func (ctl *PingController) Ping(r *http.Request) (*controller.StandardResponse, error)
Ping is a simple check to make sure the API is up and running
type PingResponseData ¶
type PingResponseData struct {
DBUp bool `json:"db_up"`
}
PingResponseData is the response struct for the ping service
Click to show internal directories.
Click to hide internal directories.