MCPcopy
hub / github.com/apache/answer / SetCaptcha

Method SetCaptcha

internal/service/action/captcha_service.go:34–34  ·  view source on GitHub ↗
(ctx context.Context, key, captcha string)

Source from the content-addressed store, hash-verified

32// CaptchaRepo captcha repository
33type CaptchaRepo interface {
34 SetCaptcha(ctx context.Context, key, captcha string) (err error)
35 GetCaptcha(ctx context.Context, key string) (captcha string, err error)
36 DelCaptcha(ctx context.Context, key string) (err error)
37 SetActionType(ctx context.Context, unit, actionType, config string, amount int) (err error)

Callers 2

GenerateCaptchaMethod · 0.65

Implementers 1

captchaRepointernal/repo/captcha/captcha.go

Calls

no outgoing calls

Tested by 1