mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
MemberProvider: add variable names.
This commit is contained in:
parent
6574470278
commit
e5c84469ce
@ -30,11 +30,11 @@ type MemberProvider interface {
|
|||||||
Connect() error
|
Connect() error
|
||||||
Disconnect() error
|
Disconnect() error
|
||||||
|
|
||||||
Authenticate(username string, password string) (string, MemberProfile, error)
|
Authenticate(username string, password string) (id string, profile MemberProfile, err error)
|
||||||
|
|
||||||
Insert(username string, password string, profile MemberProfile) (string, error)
|
Insert(username string, password string, profile MemberProfile) (id string, err error)
|
||||||
Select(id string) (MemberProfile, error)
|
Select(id string) (profile MemberProfile, err error)
|
||||||
SelectAll(limit int, offset int) (map[string]MemberProfile, error)
|
SelectAll(limit int, offset int) (profiles map[string]MemberProfile, err error)
|
||||||
UpdateProfile(id string, profile MemberProfile) error
|
UpdateProfile(id string, profile MemberProfile) error
|
||||||
UpdatePassword(id string, password string) error
|
UpdatePassword(id string, password string) error
|
||||||
Delete(id string) error
|
Delete(id string) error
|
||||||
|
Loading…
Reference in New Issue
Block a user