(interface{})
| 10 | // StorageBackend is the interface to implement for a users storage. |
| 11 | type StorageBackend interface { |
| 12 | GetBy(interface{}) (*User, error) |
| 13 | GetByScope(scope string) (*User, error) |
| 14 | Gets() ([]*User, error) |
| 15 | Save(u *User) error |