core

package
v0.0.0-...-2427ed4 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAlias

func SetAlias(alias string, columns ...string) []string

func UsersSearch

func UsersSearch(sql *sqlx.DB, form client.UserSearchForm) (items []*client.User, e lue.IError)

Types

type User

type User struct {
	*client.User
}

func NewUser

func NewUser() *User

func (*User) Create

func (m *User) Create(sqlDb *sqlx.DB) lue.IError

func (*User) CreateTX

func (m *User) CreateTX(tx *sqlx.Tx) lue.IError

func (*User) GetPassword

func (m *User) GetPassword(sql *sqlx.Tx) ([]byte, lue.IError)

func (*User) Load

func (m *User) Load(sqlDb *sqlx.DB) lue.IError

func (*User) RemovePassword

func (m *User) RemovePassword() *User

func (*User) SetPrimary

func (m *User) SetPrimary(id int64) *User

func (*User) Verify

func (m *User) Verify(sql *sqlx.DB) bool

Jump to

Keyboard shortcuts

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