server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2017 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Status  int         `json:"status"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

Message

type MysqlAPIServer

type MysqlAPIServer struct {
	// contains filtered or unexported fields
}

MysqlAPIServer is a http server could access mysql api

func NewMysqlAPIServer

func NewMysqlAPIServer(dbURI string) *MysqlAPIServer

NewMysqlAPIServer create a new MysqlAPIServer instance

func (*MysqlAPIServer) Start

func (server *MysqlAPIServer) Start(address string) *MysqlAPIServer

Start server

Jump to

Keyboard shortcuts

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