Documentation ¶
Overview ¶
Package user contains methods for retrieving, adding and removing users, or API consumers, to Sleepy, via RPC.
Index ¶
- type GetRequest
- type SetRequest
- type User
- func (u *User) Auth(authkey string) (interface{}, error)
- func (u *User) DeleteOption(p GetRequest) (bool, error)
- func (u *User) Get(id float64) (interface{}, error)
- func (u *User) GetOption(p GetRequest) (string, error)
- func (u *User) List() (interface{}, error)
- func (u *User) Remove(id float64) (bool, error)
- func (u *User) Save() (interface{}, error)
- func (u *User) SetOption(p SetRequest) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetRequest ¶
type User ¶
type User struct{}
func (*User) DeleteOption ¶
func (u *User) DeleteOption(p GetRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.