Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Provider_name = map[int32]string{ 0: "GOOGLE", 1: "CLOUDFLARE", 2: "HCAPTCHA", } Provider_value = map[string]int32{ "GOOGLE": 0, "CLOUDFLARE": 1, "HCAPTCHA": 2, } )
Enum value maps for Provider.
View Source
var (
// optional captcha.Captcha captcha = 7564324;
E_Captcha = &file_captcha_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_captcha_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Captcha ¶
type Captcha struct { Provider Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=captcha.Provider" json:"provider,omitempty"` CheckChallenge bool `protobuf:"varint,2,opt,name=check_challenge,json=checkChallenge,proto3" json:"check_challenge,omitempty"` // contains filtered or unexported fields }
func (*Captcha) Descriptor
deprecated
func (*Captcha) GetCheckChallenge ¶
func (*Captcha) GetProvider ¶
func (*Captcha) ProtoMessage ¶
func (*Captcha) ProtoMessage()
func (*Captcha) ProtoReflect ¶
func (x *Captcha) ProtoReflect() protoreflect.Message
type Provider ¶
type Provider int32
func (Provider) Descriptor ¶
func (Provider) Descriptor() protoreflect.EnumDescriptor
func (Provider) EnumDescriptor
deprecated
func (Provider) Number ¶
func (x Provider) Number() protoreflect.EnumNumber
func (Provider) Type ¶
func (Provider) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.