conn_log

package
v0.0.0-...-e72b5c5 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnLogSchema struct {
	Schema *pg.DB
}

Functions

func Create

func Create()

* Model builder

Types

type ConnLog

type ConnLog struct {
	UserId int64     `sql:"alias:user_id,type:bigint"`
	IpAddr string    `sql:"alias:ip_addr,type:varchar(15)"`
	Ts     time.Time `sql:"alias:ts,type:timestamp"`
}

Jump to

Keyboard shortcuts

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