mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-02 11:30:35 +02:00
More tests
This commit is contained in:
parent
a2e474c375
commit
f79348817f
5 changed files with 65 additions and 33 deletions
user
|
@ -4,6 +4,7 @@ package user
|
|||
import (
|
||||
"errors"
|
||||
"regexp"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Auther interface {
|
||||
|
@ -31,7 +32,7 @@ type User struct {
|
|||
|
||||
type Token struct {
|
||||
Value string
|
||||
Expires int64
|
||||
Expires time.Time
|
||||
}
|
||||
|
||||
type Prefs struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue