Documentation
¶
Index ¶
- type Client
- type UserCollection
- func (self UserCollection) DeleteUser(uuid string) bool
- func (self UserCollection) ExistsId(userId string) bool
- func (self UserCollection) GetUserUuid(userId string) (string, error)
- func (self UserCollection) Login(userId, password string) bool
- func (self UserCollection) NewUser(userId, password, nickname, email string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Disconnect ¶
func (*Client) GetUserCollection ¶
func (self *Client) GetUserCollection() *UserCollection
type UserCollection ¶
type UserCollection struct {
// contains filtered or unexported fields
}
func (UserCollection) DeleteUser ¶
func (self UserCollection) DeleteUser(uuid string) bool
func (UserCollection) ExistsId ¶
func (self UserCollection) ExistsId(userId string) bool
func (UserCollection) GetUserUuid ¶
func (self UserCollection) GetUserUuid(userId string) (string, error)
func (UserCollection) Login ¶
func (self UserCollection) Login(userId, password string) bool
func (UserCollection) NewUser ¶
func (self UserCollection) NewUser(userId, password, nickname, email string) string
Click to show internal directories.
Click to hide internal directories.