10 lines
178 B
Go
10 lines
178 B
Go
package session
|
|
|
|
import "time"
|
|
|
|
type Repository interface {
|
|
Revoke(revocation Revocation) error
|
|
IsRevoked(id string) (bool, error)
|
|
DeleteExpired(now time.Time) (int, error)
|
|
}
|