po

package
v0.0.0-...-92ef796 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnPair

type ConnPair struct {
	Uid  int32
	Conn *websocket.Conn
}

type User

type User struct {
	Uid      int32  `gorm:"column:uid;primary_key;AUTO_INCREMENT"`
	Username string `gorm:"column:username;not null;unique_index:idx_user_username_deleted_at_unique"`
	Password string `gorm:"column:password;not null"`

	xgorm.GormTimeWithoutDeletedAt
	DeletedAt *time.Time `gorm:"default:'2000-01-01 00:00:00';unique_index:idx_user_username_deleted_at_unique"`
}

Jump to

Keyboard shortcuts

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