v8

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStore

type RedisStore struct {
	// contains filtered or unexported fields
}

RedisStore verified captcha limit

func NewRedisStore

func NewRedisStore(store *redis.Client) *RedisStore

NewRedisStore new redis store instance.

func (*RedisStore) Store

func (v *RedisStore) Store(ctx context.Context, p *verified.StoreArgs) error

Store the arguments.

func (*RedisStore) Verify

func (v *RedisStore) Verify(ctx context.Context, p *verified.VerifyArgs) bool

Verify the answer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL