mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 16:44:25 +00:00
7 lines
124 B
Go
7 lines
124 B
Go
|
package oracle
|
||
|
|
||
|
type Oracle interface {
|
||
|
GetTimestamp() (uint64, error)
|
||
|
IsExpired(lockTimestamp uint64, TTL uint64) bool
|
||
|
}
|