log_handler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogController

func NewLogController(db *sqlx.DB) *logController

NewLogController return new logController object.

Types

type LogModel

type LogModel struct {
	Id            int64     `db:"id" json:"id"`
	DateTime      time.Time `db:"datetime" json:"datetime"`
	Uid           string    `db:"uid" json:"uid"`
	RemoteAddress string    `db:"remote_address" json:"remote_address"`
	Message       string    `db:"message" json:"message"`
}

Jump to

Keyboard shortcuts

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