16 lines
224 B
Go
16 lines
224 B
Go
package shared
|
|
|
|
import (
|
|
"net/http"
|
|
"time"
|
|
)
|
|
|
|
type AuthData struct {
|
|
AccessToken string
|
|
RefreshCookie *http.Cookie
|
|
}
|
|
|
|
type CurrentSession struct {
|
|
Uuid string `json:"uuid"`
|
|
Expires time.Time `json:"expires"`
|
|
}
|