Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
Id int64 `db:"id,omitempty" json:"id"`
Code int `db:"code,omitempty" json:"code"`
Source string `db:"source,omitempty" json:"source"`
Description string `db:"description,omitempty" json:"description"`
HostName string `db:"host_name,omitempty" json:"host_name"`
RemoteAddr string `db:"remote_addr,omitempty" json:"remote_addr"`
EventDate time.Time `db:"event_date,omitempty" json:"event_date"`
}
type Info ¶
type Sequence ¶
type User ¶
type User struct {
Id int64 `db:"id,omitempty" json:"id"`
Username string `db:"username,omitempty" json:"username"`
Password string `db:"password,omitempty" json:"password"`
Created time.Time `db:"created,omitempty" json:"created"`
Locked bool `db:"locked,omitempty" json:"locked"`
Role string `db:"role,omitempty" json:"role"`
}
func (*User) VerifyAccess ¶
func (*User) VerifyPassword ¶
Click to show internal directories.
Click to hide internal directories.