mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-04 04:59:58 +08:00
11 lines
197 B
Go
11 lines
197 B
Go
package cache
|
|
|
|
import "time"
|
|
|
|
type Captcha interface {
|
|
Get(key string) (interface{}, bool)
|
|
Set(key string, value interface{}, ttl time.Duration)
|
|
Delete(key string)
|
|
IsChecked(key string) bool
|
|
}
|