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

Method GetCaptcha

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

Source from the content-addressed store, hash-verified

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)
38 GetActionType(ctx context.Context, unit, actionType string) (actioninfo *entity.ActionRecordInfo, err error)

Callers 2

VerifyCaptchaMethod · 0.65

Implementers 1

captchaRepointernal/repo/captcha/captcha.go

Calls

no outgoing calls

Tested by 1