gitroast/vendor/github.com/pingcap/go-themis/oracle/oracle.go

7 lines
124 B
Go

package oracle
type Oracle interface {
GetTimestamp() (uint64, error)
IsExpired(lockTimestamp uint64, TTL uint64) bool
}