1234567891011121314151617181920212223242526272829303132 |
- package captcha
- var _ Store = (*store)(nil)
- type Store interface {
- Set(id string, value string)
- Get(id string, clear bool) string
- Verify(id, answer string, clear bool) bool
- }
- type store struct {
- }
- func (s store) Set(id string, value string) {
- }
- func (s store) Get(id string, clear bool) string {
- return ""
- }
- func (s store) Verify(id, answer string, clear bool) bool {
- return false
- }
- func NewStore() {
- }
- func GenerateCaptcha() {
- }
|