pingcontroller

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 4 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL