v1

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Common_GetCaptcha_FullMethodName             = "/api.common.v1.Common/GetCaptcha"
	Common_VerifyCaptcha_FullMethodName          = "/api.common.v1.Common/VerifyCaptcha"
	Common_FireWallVerify_FullMethodName         = "/api.common.v1.Common/FireWallVerify"
	Common_FireWallBlockIP_FullMethodName        = "/api.common.v1.Common/FireWallBlockIP"
	Common_FireWallUnblockIP_FullMethodName      = "/api.common.v1.Common/FireWallUnblockIP"
	Common_GetBlockedIPs_FullMethodName          = "/api.common.v1.Common/GetBlockedIPs"
	Common_FireWallAddToWhitelist_FullMethodName = "/api.common.v1.Common/FireWallAddToWhitelist"
	Common_RemoveFromWhitelist_FullMethodName    = "/api.common.v1.Common/RemoveFromWhitelist"
	Common_GetWhitelistedIPs_FullMethodName      = "/api.common.v1.Common/GetWhitelistedIPs"
	Common_UpToken_FullMethodName                = "/api.common.v1.Common/UpToken"
	Common_UploadFile_FullMethodName             = "/api.common.v1.Common/UploadFile"
)
View Source
const OperationCommonFireWallAddToWhitelist = "/api.common.v1.Common/FireWallAddToWhitelist"
View Source
const OperationCommonFireWallBlockIP = "/api.common.v1.Common/FireWallBlockIP"
View Source
const OperationCommonFireWallUnblockIP = "/api.common.v1.Common/FireWallUnblockIP"
View Source
const OperationCommonFireWallVerify = "/api.common.v1.Common/FireWallVerify"
View Source
const OperationCommonGetBlockedIPs = "/api.common.v1.Common/GetBlockedIPs"
View Source
const OperationCommonGetCaptcha = "/api.common.v1.Common/GetCaptcha"
View Source
const OperationCommonGetWhitelistedIPs = "/api.common.v1.Common/GetWhitelistedIPs"
View Source
const OperationCommonRemoveFromWhitelist = "/api.common.v1.Common/RemoveFromWhitelist"
View Source
const OperationCommonUpToken = "/api.common.v1.Common/UpToken"
View Source
const OperationCommonUploadFile = "/api.common.v1.Common/UploadFile"
View Source
const OperationCommonVerifyCaptcha = "/api.common.v1.Common/VerifyCaptcha"

Variables

View Source
var Common_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.common.v1.Common",
	HandlerType: (*CommonServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCaptcha",
			Handler:    _Common_GetCaptcha_Handler,
		},
		{
			MethodName: "VerifyCaptcha",
			Handler:    _Common_VerifyCaptcha_Handler,
		},
		{
			MethodName: "FireWallVerify",
			Handler:    _Common_FireWallVerify_Handler,
		},
		{
			MethodName: "FireWallBlockIP",
			Handler:    _Common_FireWallBlockIP_Handler,
		},
		{
			MethodName: "FireWallUnblockIP",
			Handler:    _Common_FireWallUnblockIP_Handler,
		},
		{
			MethodName: "GetBlockedIPs",
			Handler:    _Common_GetBlockedIPs_Handler,
		},
		{
			MethodName: "FireWallAddToWhitelist",
			Handler:    _Common_FireWallAddToWhitelist_Handler,
		},
		{
			MethodName: "RemoveFromWhitelist",
			Handler:    _Common_RemoveFromWhitelist_Handler,
		},
		{
			MethodName: "GetWhitelistedIPs",
			Handler:    _Common_GetWhitelistedIPs_Handler,
		},
		{
			MethodName: "UpToken",
			Handler:    _Common_UpToken_Handler,
		},
		{
			MethodName: "UploadFile",
			Handler:    _Common_UploadFile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "common/v1/common.proto",
}

Common_ServiceDesc is the grpc.ServiceDesc for Common service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_common_v1_common_proto protoreflect.FileDescriptor

Functions

func RegisterCommonHTTPServer

func RegisterCommonHTTPServer(s *http.Server, srv CommonHTTPServer)

func RegisterCommonServer

func RegisterCommonServer(s grpc.ServiceRegistrar, srv CommonServer)

Types

type CommonClient

type CommonClient interface {
	// 获取验证码
	GetCaptcha(ctx context.Context, in *GetCaptchaReq, opts ...grpc.CallOption) (*GetCaptchaRep, error)
	// 验证验证码
	VerifyCaptcha(ctx context.Context, in *VerifyCaptchaReq, opts ...grpc.CallOption) (*VerifyCaptchaRep, error)
	// 防火墙检查
	FireWallVerify(ctx context.Context, in *FireWallVerifyReq, opts ...grpc.CallOption) (*FireWallVerifyRep, error)
	// 防火墙封禁IP
	FireWallBlockIP(ctx context.Context, in *FireWallVerifyReq, opts ...grpc.CallOption) (*FireWallVerifyRep, error)
	// 防火墙解禁IP
	FireWallUnblockIP(ctx context.Context, in *FireWallVerifyReq, opts ...grpc.CallOption) (*FireWallVerifyRep, error)
	// 获取黑单列表
	GetBlockedIPs(ctx context.Context, in *FireWallListReq, opts ...grpc.CallOption) (*FireWallListRep, error)
	// 防火墙添加白名单IP
	FireWallAddToWhitelist(ctx context.Context, in *FireWallVerifyReq, opts ...grpc.CallOption) (*FireWallVerifyRep, error)
	// 防火墙从白名单中删除IP
	RemoveFromWhitelist(ctx context.Context, in *FireWallVerifyReq, opts ...grpc.CallOption) (*FireWallVerifyRep, error)
	// 获取白名单列表
	GetWhitelistedIPs(ctx context.Context, in *FireWallListReq, opts ...grpc.CallOption) (*FireWallListRep, error)
	// 获取Token
	UpToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UpTokenRep, error)
	// 上传文件
	UploadFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*UploadFileRep, error)
}

CommonClient is the client API for Common service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCommonClient

func NewCommonClient(cc grpc.ClientConnInterface) CommonClient

type CommonHTTPClient

type CommonHTTPClient interface {
	FireWallAddToWhitelist(ctx context.Context, req *FireWallVerifyReq, opts ...http.CallOption) (rsp *FireWallVerifyRep, err error)
	FireWallBlockIP(ctx context.Context, req *FireWallVerifyReq, opts ...http.CallOption) (rsp *FireWallVerifyRep, err error)
	FireWallUnblockIP(ctx context.Context, req *FireWallVerifyReq, opts ...http.CallOption) (rsp *FireWallVerifyRep, err error)
	FireWallVerify(ctx context.Context, req *FireWallVerifyReq, opts ...http.CallOption) (rsp *FireWallVerifyRep, err error)
	GetBlockedIPs(ctx context.Context, req *FireWallListReq, opts ...http.CallOption) (rsp *FireWallListRep, err error)
	GetCaptcha(ctx context.Context, req *GetCaptchaReq, opts ...http.CallOption) (rsp *GetCaptchaRep, err error)
	GetWhitelistedIPs(ctx context.Context, req *FireWallListReq, opts ...http.CallOption) (rsp *FireWallListRep, err error)
	RemoveFromWhitelist(ctx context.Context, req *FireWallVerifyReq, opts ...http.CallOption) (rsp *FireWallVerifyRep, err error)
	UpToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *UpTokenRep, err error)
	UploadFile(ctx context.Context, req *UploadFileReq, opts ...http.CallOption) (rsp *UploadFileRep, err error)
	VerifyCaptcha(ctx context.Context, req *VerifyCaptchaReq, opts ...http.CallOption) (rsp *VerifyCaptchaRep, err error)
}

func NewCommonHTTPClient

func NewCommonHTTPClient(client *http.Client) CommonHTTPClient

type CommonHTTPClientImpl

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

func (*CommonHTTPClientImpl) FireWallAddToWhitelist added in v0.0.30

func (c *CommonHTTPClientImpl) FireWallAddToWhitelist(ctx context.Context, in *FireWallVerifyReq, opts ...http.CallOption) (*FireWallVerifyRep, error)

func (*CommonHTTPClientImpl) FireWallBlockIP added in v0.0.31

func (c *CommonHTTPClientImpl) FireWallBlockIP(ctx context.Context, in *FireWallVerifyReq, opts ...http.CallOption) (*FireWallVerifyRep, error)

func (*CommonHTTPClientImpl) FireWallUnblockIP added in v0.0.30

func (c *CommonHTTPClientImpl) FireWallUnblockIP(ctx context.Context, in *FireWallVerifyReq, opts ...http.CallOption) (*FireWallVerifyRep, error)

func (*CommonHTTPClientImpl) FireWallVerify added in v0.0.26

func (*CommonHTTPClientImpl) GetBlockedIPs added in v0.0.33

func (c *CommonHTTPClientImpl) GetBlockedIPs(ctx context.Context, in *FireWallListReq, opts ...http.CallOption) (*FireWallListRep, error)

func (*CommonHTTPClientImpl) GetCaptcha

func (c *CommonHTTPClientImpl) GetCaptcha(ctx context.Context, in *GetCaptchaReq, opts ...http.CallOption) (*GetCaptchaRep, error)

func (*CommonHTTPClientImpl) GetWhitelistedIPs added in v0.0.33

func (c *CommonHTTPClientImpl) GetWhitelistedIPs(ctx context.Context, in *FireWallListReq, opts ...http.CallOption) (*FireWallListRep, error)

func (*CommonHTTPClientImpl) RemoveFromWhitelist added in v0.0.30

func (c *CommonHTTPClientImpl) RemoveFromWhitelist(ctx context.Context, in *FireWallVerifyReq, opts ...http.CallOption) (*FireWallVerifyRep, error)

func (*CommonHTTPClientImpl) UpToken added in v0.0.34

func (c *CommonHTTPClientImpl) UpToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*UpTokenRep, error)

func (*CommonHTTPClientImpl) UploadFile added in v0.0.36

func (c *CommonHTTPClientImpl) UploadFile(ctx context.Context, in *UploadFileReq, opts ...http.CallOption) (*UploadFileRep, error)

func (*CommonHTTPClientImpl) VerifyCaptcha

type CommonHTTPServer

type CommonHTTPServer interface {
	// FireWallAddToWhitelist 防火墙添加白名单IP
	FireWallAddToWhitelist(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// FireWallBlockIP 防火墙封禁IP
	FireWallBlockIP(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// FireWallUnblockIP 防火墙解禁IP
	FireWallUnblockIP(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// FireWallVerify 防火墙检查
	FireWallVerify(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// GetBlockedIPs 获取黑单列表
	GetBlockedIPs(context.Context, *FireWallListReq) (*FireWallListRep, error)
	// GetCaptcha 获取验证码
	GetCaptcha(context.Context, *GetCaptchaReq) (*GetCaptchaRep, error)
	// GetWhitelistedIPs 获取白名单列表
	GetWhitelistedIPs(context.Context, *FireWallListReq) (*FireWallListRep, error)
	// RemoveFromWhitelist 防火墙从白名单中删除IP
	RemoveFromWhitelist(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// UpToken 获取Token
	UpToken(context.Context, *emptypb.Empty) (*UpTokenRep, error)
	// UploadFile 上传文件
	UploadFile(context.Context, *UploadFileReq) (*UploadFileRep, error)
	// VerifyCaptcha 验证验证码
	VerifyCaptcha(context.Context, *VerifyCaptchaReq) (*VerifyCaptchaRep, error)
}

type CommonServer

type CommonServer interface {
	// 获取验证码
	GetCaptcha(context.Context, *GetCaptchaReq) (*GetCaptchaRep, error)
	// 验证验证码
	VerifyCaptcha(context.Context, *VerifyCaptchaReq) (*VerifyCaptchaRep, error)
	// 防火墙检查
	FireWallVerify(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// 防火墙封禁IP
	FireWallBlockIP(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// 防火墙解禁IP
	FireWallUnblockIP(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// 获取黑单列表
	GetBlockedIPs(context.Context, *FireWallListReq) (*FireWallListRep, error)
	// 防火墙添加白名单IP
	FireWallAddToWhitelist(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// 防火墙从白名单中删除IP
	RemoveFromWhitelist(context.Context, *FireWallVerifyReq) (*FireWallVerifyRep, error)
	// 获取白名单列表
	GetWhitelistedIPs(context.Context, *FireWallListReq) (*FireWallListRep, error)
	// 获取Token
	UpToken(context.Context, *emptypb.Empty) (*UpTokenRep, error)
	// 上传文件
	UploadFile(context.Context, *UploadFileReq) (*UploadFileRep, error)
	// contains filtered or unexported methods
}

CommonServer is the server API for Common service. All implementations must embed UnimplementedCommonServer for forward compatibility

type FireWallListRep added in v0.0.33

type FireWallListRep struct {
	List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

列表

func (*FireWallListRep) Descriptor deprecated added in v0.0.33

func (*FireWallListRep) Descriptor() ([]byte, []int)

Deprecated: Use FireWallListRep.ProtoReflect.Descriptor instead.

func (*FireWallListRep) GetList added in v0.0.33

func (x *FireWallListRep) GetList() []string

func (*FireWallListRep) ProtoMessage added in v0.0.33

func (*FireWallListRep) ProtoMessage()

func (*FireWallListRep) ProtoReflect added in v0.0.33

func (x *FireWallListRep) ProtoReflect() protoreflect.Message

func (*FireWallListRep) Reset added in v0.0.33

func (x *FireWallListRep) Reset()

func (*FireWallListRep) String added in v0.0.33

func (x *FireWallListRep) String() string

func (*FireWallListRep) Validate added in v0.0.33

func (m *FireWallListRep) Validate() error

Validate checks the field values on FireWallListRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FireWallListRep) ValidateAll added in v0.0.33

func (m *FireWallListRep) ValidateAll() error

ValidateAll checks the field values on FireWallListRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FireWallListRepMultiError, or nil if none found.

type FireWallListRepMultiError added in v0.0.33

type FireWallListRepMultiError []error

FireWallListRepMultiError is an error wrapping multiple validation errors returned by FireWallListRep.ValidateAll() if the designated constraints aren't met.

func (FireWallListRepMultiError) AllErrors added in v0.0.33

func (m FireWallListRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FireWallListRepMultiError) Error added in v0.0.33

Error returns a concatenation of all the error messages it wraps.

type FireWallListRepValidationError added in v0.0.33

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

FireWallListRepValidationError is the validation error returned by FireWallListRep.Validate if the designated constraints aren't met.

func (FireWallListRepValidationError) Cause added in v0.0.33

Cause function returns cause value.

func (FireWallListRepValidationError) Error added in v0.0.33

Error satisfies the builtin error interface

func (FireWallListRepValidationError) ErrorName added in v0.0.33

func (e FireWallListRepValidationError) ErrorName() string

ErrorName returns error name.

func (FireWallListRepValidationError) Field added in v0.0.33

Field function returns field value.

func (FireWallListRepValidationError) Key added in v0.0.33

Key function returns key value.

func (FireWallListRepValidationError) Reason added in v0.0.33

Reason function returns reason value.

type FireWallListReq added in v0.0.33

type FireWallListReq struct {
	Page     int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

列表

func (*FireWallListReq) Descriptor deprecated added in v0.0.33

func (*FireWallListReq) Descriptor() ([]byte, []int)

Deprecated: Use FireWallListReq.ProtoReflect.Descriptor instead.

func (*FireWallListReq) GetPage added in v0.0.33

func (x *FireWallListReq) GetPage() int64

func (*FireWallListReq) GetPageSize added in v0.0.33

func (x *FireWallListReq) GetPageSize() int64

func (*FireWallListReq) ProtoMessage added in v0.0.33

func (*FireWallListReq) ProtoMessage()

func (*FireWallListReq) ProtoReflect added in v0.0.33

func (x *FireWallListReq) ProtoReflect() protoreflect.Message

func (*FireWallListReq) Reset added in v0.0.33

func (x *FireWallListReq) Reset()

func (*FireWallListReq) String added in v0.0.33

func (x *FireWallListReq) String() string

func (*FireWallListReq) Validate added in v0.0.33

func (m *FireWallListReq) Validate() error

Validate checks the field values on FireWallListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FireWallListReq) ValidateAll added in v0.0.33

func (m *FireWallListReq) ValidateAll() error

ValidateAll checks the field values on FireWallListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FireWallListReqMultiError, or nil if none found.

type FireWallListReqMultiError added in v0.0.33

type FireWallListReqMultiError []error

FireWallListReqMultiError is an error wrapping multiple validation errors returned by FireWallListReq.ValidateAll() if the designated constraints aren't met.

func (FireWallListReqMultiError) AllErrors added in v0.0.33

func (m FireWallListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FireWallListReqMultiError) Error added in v0.0.33

Error returns a concatenation of all the error messages it wraps.

type FireWallListReqValidationError added in v0.0.33

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

FireWallListReqValidationError is the validation error returned by FireWallListReq.Validate if the designated constraints aren't met.

func (FireWallListReqValidationError) Cause added in v0.0.33

Cause function returns cause value.

func (FireWallListReqValidationError) Error added in v0.0.33

Error satisfies the builtin error interface

func (FireWallListReqValidationError) ErrorName added in v0.0.33

func (e FireWallListReqValidationError) ErrorName() string

ErrorName returns error name.

func (FireWallListReqValidationError) Field added in v0.0.33

Field function returns field value.

func (FireWallListReqValidationError) Key added in v0.0.33

Key function returns key value.

func (FireWallListReqValidationError) Reason added in v0.0.33

Reason function returns reason value.

type FireWallVerifyRep added in v0.0.28

type FireWallVerifyRep struct {
	Status bool `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

FireWallVerifyReply 防火墙回复

func (*FireWallVerifyRep) Descriptor deprecated added in v0.0.28

func (*FireWallVerifyRep) Descriptor() ([]byte, []int)

Deprecated: Use FireWallVerifyRep.ProtoReflect.Descriptor instead.

func (*FireWallVerifyRep) GetStatus added in v0.0.28

func (x *FireWallVerifyRep) GetStatus() bool

func (*FireWallVerifyRep) ProtoMessage added in v0.0.28

func (*FireWallVerifyRep) ProtoMessage()

func (*FireWallVerifyRep) ProtoReflect added in v0.0.28

func (x *FireWallVerifyRep) ProtoReflect() protoreflect.Message

func (*FireWallVerifyRep) Reset added in v0.0.28

func (x *FireWallVerifyRep) Reset()

func (*FireWallVerifyRep) String added in v0.0.28

func (x *FireWallVerifyRep) String() string

func (*FireWallVerifyRep) Validate added in v0.0.28

func (m *FireWallVerifyRep) Validate() error

Validate checks the field values on FireWallVerifyRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FireWallVerifyRep) ValidateAll added in v0.0.28

func (m *FireWallVerifyRep) ValidateAll() error

ValidateAll checks the field values on FireWallVerifyRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FireWallVerifyRepMultiError, or nil if none found.

type FireWallVerifyRepMultiError added in v0.0.28

type FireWallVerifyRepMultiError []error

FireWallVerifyRepMultiError is an error wrapping multiple validation errors returned by FireWallVerifyRep.ValidateAll() if the designated constraints aren't met.

func (FireWallVerifyRepMultiError) AllErrors added in v0.0.28

func (m FireWallVerifyRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FireWallVerifyRepMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type FireWallVerifyRepValidationError added in v0.0.28

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

FireWallVerifyRepValidationError is the validation error returned by FireWallVerifyRep.Validate if the designated constraints aren't met.

func (FireWallVerifyRepValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (FireWallVerifyRepValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (FireWallVerifyRepValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (FireWallVerifyRepValidationError) Field added in v0.0.28

Field function returns field value.

func (FireWallVerifyRepValidationError) Key added in v0.0.28

Key function returns key value.

func (FireWallVerifyRepValidationError) Reason added in v0.0.28

Reason function returns reason value.

type FireWallVerifyReq added in v0.0.28

type FireWallVerifyReq struct {

	// IP
	LastIp string `protobuf:"bytes,2,opt,name=LastIp,proto3" json:"LastIp,omitempty"`
	// contains filtered or unexported fields
}

FireWallVerifyRequest 防火墙验证

func (*FireWallVerifyReq) Descriptor deprecated added in v0.0.28

func (*FireWallVerifyReq) Descriptor() ([]byte, []int)

Deprecated: Use FireWallVerifyReq.ProtoReflect.Descriptor instead.

func (*FireWallVerifyReq) GetLastIp added in v0.0.28

func (x *FireWallVerifyReq) GetLastIp() string

func (*FireWallVerifyReq) ProtoMessage added in v0.0.28

func (*FireWallVerifyReq) ProtoMessage()

func (*FireWallVerifyReq) ProtoReflect added in v0.0.28

func (x *FireWallVerifyReq) ProtoReflect() protoreflect.Message

func (*FireWallVerifyReq) Reset added in v0.0.28

func (x *FireWallVerifyReq) Reset()

func (*FireWallVerifyReq) String added in v0.0.28

func (x *FireWallVerifyReq) String() string

func (*FireWallVerifyReq) Validate added in v0.0.28

func (m *FireWallVerifyReq) Validate() error

Validate checks the field values on FireWallVerifyReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FireWallVerifyReq) ValidateAll added in v0.0.28

func (m *FireWallVerifyReq) ValidateAll() error

ValidateAll checks the field values on FireWallVerifyReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FireWallVerifyReqMultiError, or nil if none found.

type FireWallVerifyReqMultiError added in v0.0.28

type FireWallVerifyReqMultiError []error

FireWallVerifyReqMultiError is an error wrapping multiple validation errors returned by FireWallVerifyReq.ValidateAll() if the designated constraints aren't met.

func (FireWallVerifyReqMultiError) AllErrors added in v0.0.28

func (m FireWallVerifyReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FireWallVerifyReqMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type FireWallVerifyReqValidationError added in v0.0.28

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

FireWallVerifyReqValidationError is the validation error returned by FireWallVerifyReq.Validate if the designated constraints aren't met.

func (FireWallVerifyReqValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (FireWallVerifyReqValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (FireWallVerifyReqValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (FireWallVerifyReqValidationError) Field added in v0.0.28

Field function returns field value.

func (FireWallVerifyReqValidationError) Key added in v0.0.28

Key function returns key value.

func (FireWallVerifyReqValidationError) Reason added in v0.0.28

Reason function returns reason value.

type GetCaptchaRep added in v0.0.28

type GetCaptchaRep struct {
	CaptchaId string `protobuf:"bytes,2,opt,name=captchaId,proto3" json:"captchaId,omitempty"`
	Data      string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

GetCaptchaRep 获取验证码返回

func (*GetCaptchaRep) Descriptor deprecated added in v0.0.28

func (*GetCaptchaRep) Descriptor() ([]byte, []int)

Deprecated: Use GetCaptchaRep.ProtoReflect.Descriptor instead.

func (*GetCaptchaRep) GetCaptchaId added in v0.0.28

func (x *GetCaptchaRep) GetCaptchaId() string

func (*GetCaptchaRep) GetData added in v0.0.28

func (x *GetCaptchaRep) GetData() string

func (*GetCaptchaRep) ProtoMessage added in v0.0.28

func (*GetCaptchaRep) ProtoMessage()

func (*GetCaptchaRep) ProtoReflect added in v0.0.28

func (x *GetCaptchaRep) ProtoReflect() protoreflect.Message

func (*GetCaptchaRep) Reset added in v0.0.28

func (x *GetCaptchaRep) Reset()

func (*GetCaptchaRep) String added in v0.0.28

func (x *GetCaptchaRep) String() string

func (*GetCaptchaRep) Validate added in v0.0.28

func (m *GetCaptchaRep) Validate() error

Validate checks the field values on GetCaptchaRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCaptchaRep) ValidateAll added in v0.0.28

func (m *GetCaptchaRep) ValidateAll() error

ValidateAll checks the field values on GetCaptchaRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCaptchaRepMultiError, or nil if none found.

type GetCaptchaRepMultiError added in v0.0.28

type GetCaptchaRepMultiError []error

GetCaptchaRepMultiError is an error wrapping multiple validation errors returned by GetCaptchaRep.ValidateAll() if the designated constraints aren't met.

func (GetCaptchaRepMultiError) AllErrors added in v0.0.28

func (m GetCaptchaRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCaptchaRepMultiError) Error added in v0.0.28

func (m GetCaptchaRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetCaptchaRepValidationError added in v0.0.28

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

GetCaptchaRepValidationError is the validation error returned by GetCaptchaRep.Validate if the designated constraints aren't met.

func (GetCaptchaRepValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (GetCaptchaRepValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (GetCaptchaRepValidationError) ErrorName added in v0.0.28

func (e GetCaptchaRepValidationError) ErrorName() string

ErrorName returns error name.

func (GetCaptchaRepValidationError) Field added in v0.0.28

Field function returns field value.

func (GetCaptchaRepValidationError) Key added in v0.0.28

Key function returns key value.

func (GetCaptchaRepValidationError) Reason added in v0.0.28

Reason function returns reason value.

type GetCaptchaReq added in v0.0.28

type GetCaptchaReq struct {

	// IP
	LastIp string `protobuf:"bytes,2,opt,name=LastIp,proto3" json:"LastIp,omitempty"`
	// contains filtered or unexported fields
}

GetCaptchaReq 获取图形验证码

func (*GetCaptchaReq) Descriptor deprecated added in v0.0.28

func (*GetCaptchaReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCaptchaReq.ProtoReflect.Descriptor instead.

func (*GetCaptchaReq) GetLastIp added in v0.0.28

func (x *GetCaptchaReq) GetLastIp() string

func (*GetCaptchaReq) ProtoMessage added in v0.0.28

func (*GetCaptchaReq) ProtoMessage()

func (*GetCaptchaReq) ProtoReflect added in v0.0.28

func (x *GetCaptchaReq) ProtoReflect() protoreflect.Message

func (*GetCaptchaReq) Reset added in v0.0.28

func (x *GetCaptchaReq) Reset()

func (*GetCaptchaReq) String added in v0.0.28

func (x *GetCaptchaReq) String() string

func (*GetCaptchaReq) Validate added in v0.0.28

func (m *GetCaptchaReq) Validate() error

Validate checks the field values on GetCaptchaReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetCaptchaReq) ValidateAll added in v0.0.28

func (m *GetCaptchaReq) ValidateAll() error

ValidateAll checks the field values on GetCaptchaReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCaptchaReqMultiError, or nil if none found.

type GetCaptchaReqMultiError added in v0.0.28

type GetCaptchaReqMultiError []error

GetCaptchaReqMultiError is an error wrapping multiple validation errors returned by GetCaptchaReq.ValidateAll() if the designated constraints aren't met.

func (GetCaptchaReqMultiError) AllErrors added in v0.0.28

func (m GetCaptchaReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCaptchaReqMultiError) Error added in v0.0.28

func (m GetCaptchaReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetCaptchaReqValidationError added in v0.0.28

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

GetCaptchaReqValidationError is the validation error returned by GetCaptchaReq.Validate if the designated constraints aren't met.

func (GetCaptchaReqValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (GetCaptchaReqValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (GetCaptchaReqValidationError) ErrorName added in v0.0.28

func (e GetCaptchaReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetCaptchaReqValidationError) Field added in v0.0.28

Field function returns field value.

func (GetCaptchaReqValidationError) Key added in v0.0.28

Key function returns key value.

func (GetCaptchaReqValidationError) Reason added in v0.0.28

Reason function returns reason value.

type UnimplementedCommonServer

type UnimplementedCommonServer struct {
}

UnimplementedCommonServer must be embedded to have forward compatible implementations.

func (UnimplementedCommonServer) FireWallAddToWhitelist added in v0.0.30

func (UnimplementedCommonServer) FireWallBlockIP added in v0.0.31

func (UnimplementedCommonServer) FireWallUnblockIP added in v0.0.30

func (UnimplementedCommonServer) FireWallVerify added in v0.0.26

func (UnimplementedCommonServer) GetBlockedIPs added in v0.0.33

func (UnimplementedCommonServer) GetCaptcha

func (UnimplementedCommonServer) GetWhitelistedIPs added in v0.0.33

func (UnimplementedCommonServer) RemoveFromWhitelist added in v0.0.30

func (UnimplementedCommonServer) UpToken added in v0.0.34

func (UnimplementedCommonServer) UploadFile added in v0.0.36

func (UnimplementedCommonServer) VerifyCaptcha

type UnsafeCommonServer

type UnsafeCommonServer interface {
	// contains filtered or unexported methods
}

UnsafeCommonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommonServer will result in compilation errors.

type UpTokenRep added in v0.0.34

type UpTokenRep struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Token

func (*UpTokenRep) Descriptor deprecated added in v0.0.34

func (*UpTokenRep) Descriptor() ([]byte, []int)

Deprecated: Use UpTokenRep.ProtoReflect.Descriptor instead.

func (*UpTokenRep) GetToken added in v0.0.34

func (x *UpTokenRep) GetToken() string

func (*UpTokenRep) ProtoMessage added in v0.0.34

func (*UpTokenRep) ProtoMessage()

func (*UpTokenRep) ProtoReflect added in v0.0.34

func (x *UpTokenRep) ProtoReflect() protoreflect.Message

func (*UpTokenRep) Reset added in v0.0.34

func (x *UpTokenRep) Reset()

func (*UpTokenRep) String added in v0.0.34

func (x *UpTokenRep) String() string

func (*UpTokenRep) Validate added in v0.0.34

func (m *UpTokenRep) Validate() error

Validate checks the field values on UpTokenRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpTokenRep) ValidateAll added in v0.0.34

func (m *UpTokenRep) ValidateAll() error

ValidateAll checks the field values on UpTokenRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpTokenRepMultiError, or nil if none found.

type UpTokenRepMultiError added in v0.0.34

type UpTokenRepMultiError []error

UpTokenRepMultiError is an error wrapping multiple validation errors returned by UpTokenRep.ValidateAll() if the designated constraints aren't met.

func (UpTokenRepMultiError) AllErrors added in v0.0.34

func (m UpTokenRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpTokenRepMultiError) Error added in v0.0.34

func (m UpTokenRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpTokenRepValidationError added in v0.0.34

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

UpTokenRepValidationError is the validation error returned by UpTokenRep.Validate if the designated constraints aren't met.

func (UpTokenRepValidationError) Cause added in v0.0.34

func (e UpTokenRepValidationError) Cause() error

Cause function returns cause value.

func (UpTokenRepValidationError) Error added in v0.0.34

Error satisfies the builtin error interface

func (UpTokenRepValidationError) ErrorName added in v0.0.34

func (e UpTokenRepValidationError) ErrorName() string

ErrorName returns error name.

func (UpTokenRepValidationError) Field added in v0.0.34

Field function returns field value.

func (UpTokenRepValidationError) Key added in v0.0.34

Key function returns key value.

func (UpTokenRepValidationError) Reason added in v0.0.34

func (e UpTokenRepValidationError) Reason() string

Reason function returns reason value.

type UploadFileRep added in v0.0.36

type UploadFileRep struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

返回地址

func (*UploadFileRep) Descriptor deprecated added in v0.0.36

func (*UploadFileRep) Descriptor() ([]byte, []int)

Deprecated: Use UploadFileRep.ProtoReflect.Descriptor instead.

func (*UploadFileRep) GetFile added in v0.0.36

func (x *UploadFileRep) GetFile() string

func (*UploadFileRep) ProtoMessage added in v0.0.36

func (*UploadFileRep) ProtoMessage()

func (*UploadFileRep) ProtoReflect added in v0.0.36

func (x *UploadFileRep) ProtoReflect() protoreflect.Message

func (*UploadFileRep) Reset added in v0.0.36

func (x *UploadFileRep) Reset()

func (*UploadFileRep) String added in v0.0.36

func (x *UploadFileRep) String() string

func (*UploadFileRep) Validate added in v0.0.36

func (m *UploadFileRep) Validate() error

Validate checks the field values on UploadFileRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileRep) ValidateAll added in v0.0.36

func (m *UploadFileRep) ValidateAll() error

ValidateAll checks the field values on UploadFileRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileRepMultiError, or nil if none found.

type UploadFileRepMultiError added in v0.0.36

type UploadFileRepMultiError []error

UploadFileRepMultiError is an error wrapping multiple validation errors returned by UploadFileRep.ValidateAll() if the designated constraints aren't met.

func (UploadFileRepMultiError) AllErrors added in v0.0.36

func (m UploadFileRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileRepMultiError) Error added in v0.0.36

func (m UploadFileRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UploadFileRepValidationError added in v0.0.36

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

UploadFileRepValidationError is the validation error returned by UploadFileRep.Validate if the designated constraints aren't met.

func (UploadFileRepValidationError) Cause added in v0.0.36

Cause function returns cause value.

func (UploadFileRepValidationError) Error added in v0.0.36

Error satisfies the builtin error interface

func (UploadFileRepValidationError) ErrorName added in v0.0.36

func (e UploadFileRepValidationError) ErrorName() string

ErrorName returns error name.

func (UploadFileRepValidationError) Field added in v0.0.36

Field function returns field value.

func (UploadFileRepValidationError) Key added in v0.0.36

Key function returns key value.

func (UploadFileRepValidationError) Reason added in v0.0.36

Reason function returns reason value.

type UploadFileReq added in v0.0.36

type UploadFileReq struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

上传文件

func (*UploadFileReq) Descriptor deprecated added in v0.0.36

func (*UploadFileReq) Descriptor() ([]byte, []int)

Deprecated: Use UploadFileReq.ProtoReflect.Descriptor instead.

func (*UploadFileReq) GetFile added in v0.0.36

func (x *UploadFileReq) GetFile() string

func (*UploadFileReq) GetPath added in v0.0.36

func (x *UploadFileReq) GetPath() string

func (*UploadFileReq) ProtoMessage added in v0.0.36

func (*UploadFileReq) ProtoMessage()

func (*UploadFileReq) ProtoReflect added in v0.0.36

func (x *UploadFileReq) ProtoReflect() protoreflect.Message

func (*UploadFileReq) Reset added in v0.0.36

func (x *UploadFileReq) Reset()

func (*UploadFileReq) String added in v0.0.36

func (x *UploadFileReq) String() string

func (*UploadFileReq) Validate added in v0.0.36

func (m *UploadFileReq) Validate() error

Validate checks the field values on UploadFileReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileReq) ValidateAll added in v0.0.36

func (m *UploadFileReq) ValidateAll() error

ValidateAll checks the field values on UploadFileReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileReqMultiError, or nil if none found.

type UploadFileReqMultiError added in v0.0.36

type UploadFileReqMultiError []error

UploadFileReqMultiError is an error wrapping multiple validation errors returned by UploadFileReq.ValidateAll() if the designated constraints aren't met.

func (UploadFileReqMultiError) AllErrors added in v0.0.36

func (m UploadFileReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileReqMultiError) Error added in v0.0.36

func (m UploadFileReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UploadFileReqValidationError added in v0.0.36

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

UploadFileReqValidationError is the validation error returned by UploadFileReq.Validate if the designated constraints aren't met.

func (UploadFileReqValidationError) Cause added in v0.0.36

Cause function returns cause value.

func (UploadFileReqValidationError) Error added in v0.0.36

Error satisfies the builtin error interface

func (UploadFileReqValidationError) ErrorName added in v0.0.36

func (e UploadFileReqValidationError) ErrorName() string

ErrorName returns error name.

func (UploadFileReqValidationError) Field added in v0.0.36

Field function returns field value.

func (UploadFileReqValidationError) Key added in v0.0.36

Key function returns key value.

func (UploadFileReqValidationError) Reason added in v0.0.36

Reason function returns reason value.

type VerifyCaptchaRep added in v0.0.28

type VerifyCaptchaRep struct {

	// 状态
	Status bool `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

验证验证码

func (*VerifyCaptchaRep) Descriptor deprecated added in v0.0.28

func (*VerifyCaptchaRep) Descriptor() ([]byte, []int)

Deprecated: Use VerifyCaptchaRep.ProtoReflect.Descriptor instead.

func (*VerifyCaptchaRep) GetStatus added in v0.0.28

func (x *VerifyCaptchaRep) GetStatus() bool

func (*VerifyCaptchaRep) ProtoMessage added in v0.0.28

func (*VerifyCaptchaRep) ProtoMessage()

func (*VerifyCaptchaRep) ProtoReflect added in v0.0.28

func (x *VerifyCaptchaRep) ProtoReflect() protoreflect.Message

func (*VerifyCaptchaRep) Reset added in v0.0.28

func (x *VerifyCaptchaRep) Reset()

func (*VerifyCaptchaRep) String added in v0.0.28

func (x *VerifyCaptchaRep) String() string

func (*VerifyCaptchaRep) Validate added in v0.0.28

func (m *VerifyCaptchaRep) Validate() error

Validate checks the field values on VerifyCaptchaRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyCaptchaRep) ValidateAll added in v0.0.28

func (m *VerifyCaptchaRep) ValidateAll() error

ValidateAll checks the field values on VerifyCaptchaRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyCaptchaRepMultiError, or nil if none found.

type VerifyCaptchaRepMultiError added in v0.0.28

type VerifyCaptchaRepMultiError []error

VerifyCaptchaRepMultiError is an error wrapping multiple validation errors returned by VerifyCaptchaRep.ValidateAll() if the designated constraints aren't met.

func (VerifyCaptchaRepMultiError) AllErrors added in v0.0.28

func (m VerifyCaptchaRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyCaptchaRepMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type VerifyCaptchaRepValidationError added in v0.0.28

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

VerifyCaptchaRepValidationError is the validation error returned by VerifyCaptchaRep.Validate if the designated constraints aren't met.

func (VerifyCaptchaRepValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (VerifyCaptchaRepValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (VerifyCaptchaRepValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (VerifyCaptchaRepValidationError) Field added in v0.0.28

Field function returns field value.

func (VerifyCaptchaRepValidationError) Key added in v0.0.28

Key function returns key value.

func (VerifyCaptchaRepValidationError) Reason added in v0.0.28

Reason function returns reason value.

type VerifyCaptchaReq added in v0.0.28

type VerifyCaptchaReq struct {

	// 验证码ID
	CaptchaId string `protobuf:"bytes,2,opt,name=CaptchaId,proto3" json:"CaptchaId,omitempty"`
	// 回答
	Answer string `protobuf:"bytes,3,opt,name=Answer,proto3" json:"Answer,omitempty"`
	// IP
	LastIp string `protobuf:"bytes,4,opt,name=LastIp,proto3" json:"LastIp,omitempty"`
	// contains filtered or unexported fields
}

验证验证码

func (*VerifyCaptchaReq) Descriptor deprecated added in v0.0.28

func (*VerifyCaptchaReq) Descriptor() ([]byte, []int)

Deprecated: Use VerifyCaptchaReq.ProtoReflect.Descriptor instead.

func (*VerifyCaptchaReq) GetAnswer added in v0.0.28

func (x *VerifyCaptchaReq) GetAnswer() string

func (*VerifyCaptchaReq) GetCaptchaId added in v0.0.28

func (x *VerifyCaptchaReq) GetCaptchaId() string

func (*VerifyCaptchaReq) GetLastIp added in v0.0.28

func (x *VerifyCaptchaReq) GetLastIp() string

func (*VerifyCaptchaReq) ProtoMessage added in v0.0.28

func (*VerifyCaptchaReq) ProtoMessage()

func (*VerifyCaptchaReq) ProtoReflect added in v0.0.28

func (x *VerifyCaptchaReq) ProtoReflect() protoreflect.Message

func (*VerifyCaptchaReq) Reset added in v0.0.28

func (x *VerifyCaptchaReq) Reset()

func (*VerifyCaptchaReq) String added in v0.0.28

func (x *VerifyCaptchaReq) String() string

func (*VerifyCaptchaReq) Validate added in v0.0.28

func (m *VerifyCaptchaReq) Validate() error

Validate checks the field values on VerifyCaptchaReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VerifyCaptchaReq) ValidateAll added in v0.0.28

func (m *VerifyCaptchaReq) ValidateAll() error

ValidateAll checks the field values on VerifyCaptchaReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyCaptchaReqMultiError, or nil if none found.

type VerifyCaptchaReqMultiError added in v0.0.28

type VerifyCaptchaReqMultiError []error

VerifyCaptchaReqMultiError is an error wrapping multiple validation errors returned by VerifyCaptchaReq.ValidateAll() if the designated constraints aren't met.

func (VerifyCaptchaReqMultiError) AllErrors added in v0.0.28

func (m VerifyCaptchaReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VerifyCaptchaReqMultiError) Error added in v0.0.28

Error returns a concatenation of all the error messages it wraps.

type VerifyCaptchaReqValidationError added in v0.0.28

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

VerifyCaptchaReqValidationError is the validation error returned by VerifyCaptchaReq.Validate if the designated constraints aren't met.

func (VerifyCaptchaReqValidationError) Cause added in v0.0.28

Cause function returns cause value.

func (VerifyCaptchaReqValidationError) Error added in v0.0.28

Error satisfies the builtin error interface

func (VerifyCaptchaReqValidationError) ErrorName added in v0.0.28

ErrorName returns error name.

func (VerifyCaptchaReqValidationError) Field added in v0.0.28

Field function returns field value.

func (VerifyCaptchaReqValidationError) Key added in v0.0.28

Key function returns key value.

func (VerifyCaptchaReqValidationError) Reason added in v0.0.28

Reason function returns reason value.

Jump to

Keyboard shortcuts

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