Documentation ¶
Index ¶
- Constants
- type Store
- func (store *Store) CreateUser(login, password string) (u *User, e error)
- func (store *Store) Get(key string, login string, secret string) (b []byte, e error)
- func (store *Store) Put(key string, value []byte, login string) error
- func (store *Store) UserExists(login string) bool
- func (store *Store) Users() (users []*User, e error)
- type StoreOptions
- type User
Constants ¶
View Source
const DefaultBits = 2048
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateUser ¶
func (*Store) UserExists ¶
type StoreOptions ¶
Click to show internal directories.
Click to hide internal directories.