http

package
v0.0.0-...-c322e10 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDBInfoHTTPHandler

func NewDBInfoHTTPHandler(e *echo.Echo, dbinfoUcaser dbinfo.Usecaser)

NewDBInfoHTTPHandler creates a DBInfoHandler and sets up Echo’s router

Types

type DBInfoHandler

type DBInfoHandler struct {
	DBInfoUcaser dbinfo.Usecaser
}

DBInfoHandler represents the http handler for dbinfo

func (*DBInfoHandler) ListTables

func (h *DBInfoHandler) ListTables(c echo.Context) error

ListTables lists tables

func (*DBInfoHandler) Ping

func (h *DBInfoHandler) Ping(c echo.Context) error

Ping verifies a connection to the database is still alive, establishing a connection if necessary.

Jump to

Keyboard shortcuts

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