Documentation ¶
Index ¶
Constants ¶
View Source
const ( COLLECTION = "USERS" COUNTER_NAME = "USERID_GEN" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id int32) *User
---------------------------------------------------------- load a user
func GetAll ¶
func GetAll() []User
---------------------------------------------------------- load all userss
func LoginMac ¶
func LoginMac(name, mac string) *User
---------------------------------------------------------- login with name & mac address
func New ¶
func New(name, mac string) *User
---------------------------------------------------------- create a new user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.