api

package
v0.0.0-...-9bc84d9 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBUserID     = "root"
	DBPassword   = "root"
	DBHostName   = "127.0.0.1"
	DBPortNumber = "3306"
	DBName       = "hogehogego"
)

DBアクセス関連定数

Variables

This section is empty.

Functions

func ConnectHandler

func ConnectHandler(c echo.Context) error

ConnectHandler 接続記録を行う

Types

type ConnectResponce

type ConnectResponce struct {
	Result int `json:"result"`
}

ConnectResponce 接続構造体

type ConnectTable

type ConnectTable struct {
	ID     int64     `db:"id"`
	Termid string    `db:"termid"`
	Status int       `db:"status"`
	Uptime time.Time `db:"uptime"`
}

ConnectTable 接続テーブル

Jump to

Keyboard shortcuts

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