Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlAPIServer ¶
type MysqlAPIServer struct { *echo.Echo // echo web server // contains filtered or unexported fields }
MysqlAPIServer is a http server could access mysql api
func New ¶
func New(api adapter.IDatabaseAPI) *MysqlAPIServer
New create a new MysqlAPIServer instance
func (*MysqlAPIServer) Start ¶
func (server *MysqlAPIServer) Start(address string) *MysqlAPIServer
Start server
func (*MysqlAPIServer) StartMetadataRefreshCron ¶
func (m *MysqlAPIServer) StartMetadataRefreshCron()
StartMetadataRefreshCron task
Click to show internal directories.
Click to hide internal directories.