Documentation
¶
Overview ¶
nolint
Index ¶
- type CaptchaIterator
- type CaptchaServiceClient
- func (c *CaptchaServiceClient) CaptchaIterator(ctx context.Context, req *smartcaptcha.ListCaptchasRequest, ...) *CaptchaIterator
- func (c *CaptchaServiceClient) Create(ctx context.Context, in *smartcaptcha.CreateCaptchaRequest, ...) (*operation.Operation, error)
- func (c *CaptchaServiceClient) Delete(ctx context.Context, in *smartcaptcha.DeleteCaptchaRequest, ...) (*operation.Operation, error)
- func (c *CaptchaServiceClient) Get(ctx context.Context, in *smartcaptcha.GetCaptchaRequest, ...) (*smartcaptcha.Captcha, error)
- func (c *CaptchaServiceClient) GetSecretKey(ctx context.Context, in *smartcaptcha.GetCaptchaRequest, ...) (*smartcaptcha.CaptchaSecretKey, error)
- func (c *CaptchaServiceClient) List(ctx context.Context, in *smartcaptcha.ListCaptchasRequest, ...) (*smartcaptcha.ListCaptchasResponse, error)
- func (c *CaptchaServiceClient) Update(ctx context.Context, in *smartcaptcha.UpdateCaptchaRequest, ...) (*operation.Operation, error)
- type SmartCaptcha
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaIterator ¶
type CaptchaIterator struct {
// contains filtered or unexported fields
}
func (*CaptchaIterator) Error ¶
func (it *CaptchaIterator) Error() error
func (*CaptchaIterator) Next ¶
func (it *CaptchaIterator) Next() bool
func (*CaptchaIterator) Take ¶
func (it *CaptchaIterator) Take(size int64) ([]*smartcaptcha.Captcha, error)
func (*CaptchaIterator) TakeAll ¶
func (it *CaptchaIterator) TakeAll() ([]*smartcaptcha.Captcha, error)
func (*CaptchaIterator) Value ¶
func (it *CaptchaIterator) Value() *smartcaptcha.Captcha
type CaptchaServiceClient ¶
type CaptchaServiceClient struct {
// contains filtered or unexported fields
}
CaptchaServiceClient is a smartcaptcha.CaptchaServiceClient with lazy GRPC connection initialization.
func (*CaptchaServiceClient) CaptchaIterator ¶
func (c *CaptchaServiceClient) CaptchaIterator(ctx context.Context, req *smartcaptcha.ListCaptchasRequest, opts ...grpc.CallOption) *CaptchaIterator
func (*CaptchaServiceClient) Create ¶
func (c *CaptchaServiceClient) Create(ctx context.Context, in *smartcaptcha.CreateCaptchaRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements smartcaptcha.CaptchaServiceClient
func (*CaptchaServiceClient) Delete ¶
func (c *CaptchaServiceClient) Delete(ctx context.Context, in *smartcaptcha.DeleteCaptchaRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements smartcaptcha.CaptchaServiceClient
func (*CaptchaServiceClient) Get ¶
func (c *CaptchaServiceClient) Get(ctx context.Context, in *smartcaptcha.GetCaptchaRequest, opts ...grpc.CallOption) (*smartcaptcha.Captcha, error)
Get implements smartcaptcha.CaptchaServiceClient
func (*CaptchaServiceClient) GetSecretKey ¶
func (c *CaptchaServiceClient) GetSecretKey(ctx context.Context, in *smartcaptcha.GetCaptchaRequest, opts ...grpc.CallOption) (*smartcaptcha.CaptchaSecretKey, error)
GetSecretKey implements smartcaptcha.CaptchaServiceClient
func (*CaptchaServiceClient) List ¶
func (c *CaptchaServiceClient) List(ctx context.Context, in *smartcaptcha.ListCaptchasRequest, opts ...grpc.CallOption) (*smartcaptcha.ListCaptchasResponse, error)
List implements smartcaptcha.CaptchaServiceClient
func (*CaptchaServiceClient) Update ¶
func (c *CaptchaServiceClient) Update(ctx context.Context, in *smartcaptcha.UpdateCaptchaRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements smartcaptcha.CaptchaServiceClient
type SmartCaptcha ¶
type SmartCaptcha struct {
// contains filtered or unexported fields
}
SmartCaptcha provides access to "smartcaptcha" component of Yandex.Cloud
func NewSmartCaptcha ¶
func NewSmartCaptcha(g func(ctx context.Context) (*grpc.ClientConn, error)) *SmartCaptcha
NewSmartCaptcha creates instance of SmartCaptcha
func (*SmartCaptcha) Captcha ¶
func (s *SmartCaptcha) Captcha() *CaptchaServiceClient
Captcha gets CaptchaService client
Click to show internal directories.
Click to hide internal directories.