Documentation ¶
Index ¶
- type Orm
- func (o Orm) Create()
- func (o Orm) FindByName(name string) (User, error)
- func (o Orm) FindByUid(uid string) (User, error)
- func (o Orm) LastUser() User
- func (o Orm) NewUser(token string, uid string) error
- func (o Orm) UpdateName(u User, domain string, rev int) error
- func (o Orm) UpdateSum(u User, sum string) error
- func (o Orm) UpdateToken(u User, token string) error
- func (o Orm) UserCount() int64
- type Red
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orm ¶
func (Orm) UpdateName ¶
Creates a new user
type Red ¶
Click to show internal directories.
Click to hide internal directories.