Documentation ¶
Index ¶
- type Tokens
- func (t *Tokens) AddUser(login string, passwod string) error
- func (t *Tokens) DeleteUser(login string)
- func (t *Tokens) GetPassword(login string) (string, bool)
- func (t *Tokens) GetToken(login string) (string, error)
- func (t *Tokens) ValidToken(token string) (bool, error)
- func (t *Tokens) WriteTo(writer io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tokens ¶
type Tokens struct {
// contains filtered or unexported fields
}
func NewFromFile ¶
func (*Tokens) DeleteUser ¶
Click to show internal directories.
Click to hide internal directories.