v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 is a generated liverpc stub package. This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.

It is generated from these files:

v1/Captcha.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCaptcha = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCaptcha   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type CaptchaCreateReq

type CaptchaCreateReq struct {
	// 宽度
	Width int64 `protobuf:"varint,1,opt,name=width,proto3" json:"width"`
	// 高度
	Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height"`
}

func (*CaptchaCreateReq) Descriptor

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

func (*CaptchaCreateReq) GetHeight

func (m *CaptchaCreateReq) GetHeight() int64

func (*CaptchaCreateReq) GetWidth

func (m *CaptchaCreateReq) GetWidth() int64

func (*CaptchaCreateReq) Marshal

func (m *CaptchaCreateReq) Marshal() (dAtA []byte, err error)

func (*CaptchaCreateReq) MarshalTo

func (m *CaptchaCreateReq) MarshalTo(dAtA []byte) (int, error)

func (*CaptchaCreateReq) ProtoMessage

func (*CaptchaCreateReq) ProtoMessage()

func (*CaptchaCreateReq) Reset

func (m *CaptchaCreateReq) Reset()

func (*CaptchaCreateReq) Size

func (m *CaptchaCreateReq) Size() (n int)

func (*CaptchaCreateReq) String

func (m *CaptchaCreateReq) String() string

func (*CaptchaCreateReq) Unmarshal

func (m *CaptchaCreateReq) Unmarshal(dAtA []byte) error

func (*CaptchaCreateReq) XXX_DiscardUnknown

func (m *CaptchaCreateReq) XXX_DiscardUnknown()

func (*CaptchaCreateReq) XXX_Marshal

func (m *CaptchaCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CaptchaCreateReq) XXX_Merge

func (dst *CaptchaCreateReq) XXX_Merge(src proto.Message)

func (*CaptchaCreateReq) XXX_Size

func (m *CaptchaCreateReq) XXX_Size() int

func (*CaptchaCreateReq) XXX_Unmarshal

func (m *CaptchaCreateReq) XXX_Unmarshal(b []byte) error

type CaptchaCreateResp

type CaptchaCreateResp struct {
	// code
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	// msg
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data *CaptchaCreateResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
}

func (*CaptchaCreateResp) Descriptor

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

func (*CaptchaCreateResp) GetCode

func (m *CaptchaCreateResp) GetCode() int64

func (*CaptchaCreateResp) GetData

func (*CaptchaCreateResp) GetMsg

func (m *CaptchaCreateResp) GetMsg() string

func (*CaptchaCreateResp) Marshal

func (m *CaptchaCreateResp) Marshal() (dAtA []byte, err error)

func (*CaptchaCreateResp) MarshalTo

func (m *CaptchaCreateResp) MarshalTo(dAtA []byte) (int, error)

func (*CaptchaCreateResp) ProtoMessage

func (*CaptchaCreateResp) ProtoMessage()

func (*CaptchaCreateResp) Reset

func (m *CaptchaCreateResp) Reset()

func (*CaptchaCreateResp) Size

func (m *CaptchaCreateResp) Size() (n int)

func (*CaptchaCreateResp) String

func (m *CaptchaCreateResp) String() string

func (*CaptchaCreateResp) Unmarshal

func (m *CaptchaCreateResp) Unmarshal(dAtA []byte) error

func (*CaptchaCreateResp) XXX_DiscardUnknown

func (m *CaptchaCreateResp) XXX_DiscardUnknown()

func (*CaptchaCreateResp) XXX_Marshal

func (m *CaptchaCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CaptchaCreateResp) XXX_Merge

func (dst *CaptchaCreateResp) XXX_Merge(src proto.Message)

func (*CaptchaCreateResp) XXX_Size

func (m *CaptchaCreateResp) XXX_Size() int

func (*CaptchaCreateResp) XXX_Unmarshal

func (m *CaptchaCreateResp) XXX_Unmarshal(b []byte) error

type CaptchaCreateResp_Data

type CaptchaCreateResp_Data struct {
	//
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
	//
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image"`
}

func (*CaptchaCreateResp_Data) Descriptor

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

func (*CaptchaCreateResp_Data) GetImage

func (m *CaptchaCreateResp_Data) GetImage() string

func (*CaptchaCreateResp_Data) GetToken

func (m *CaptchaCreateResp_Data) GetToken() string

func (*CaptchaCreateResp_Data) Marshal

func (m *CaptchaCreateResp_Data) Marshal() (dAtA []byte, err error)

func (*CaptchaCreateResp_Data) MarshalTo

func (m *CaptchaCreateResp_Data) MarshalTo(dAtA []byte) (int, error)

func (*CaptchaCreateResp_Data) ProtoMessage

func (*CaptchaCreateResp_Data) ProtoMessage()

func (*CaptchaCreateResp_Data) Reset

func (m *CaptchaCreateResp_Data) Reset()

func (*CaptchaCreateResp_Data) Size

func (m *CaptchaCreateResp_Data) Size() (n int)

func (*CaptchaCreateResp_Data) String

func (m *CaptchaCreateResp_Data) String() string

func (*CaptchaCreateResp_Data) Unmarshal

func (m *CaptchaCreateResp_Data) Unmarshal(dAtA []byte) error

func (*CaptchaCreateResp_Data) XXX_DiscardUnknown

func (m *CaptchaCreateResp_Data) XXX_DiscardUnknown()

func (*CaptchaCreateResp_Data) XXX_Marshal

func (m *CaptchaCreateResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CaptchaCreateResp_Data) XXX_Merge

func (dst *CaptchaCreateResp_Data) XXX_Merge(src proto.Message)

func (*CaptchaCreateResp_Data) XXX_Size

func (m *CaptchaCreateResp_Data) XXX_Size() int

func (*CaptchaCreateResp_Data) XXX_Unmarshal

func (m *CaptchaCreateResp_Data) XXX_Unmarshal(b []byte) error

type CaptchaRPCClient

type CaptchaRPCClient interface {
	// * 创建图片数字验证码
	//
	Create(ctx context.Context, req *CaptchaCreateReq, opts ...liverpc.CallOption) (resp *CaptchaCreateResp, err error)
}

func NewCaptchaRPCClient

func NewCaptchaRPCClient(client *liverpc.Client) CaptchaRPCClient

NewCaptchaRPCClient creates a client that implements the CaptchaRPCClient interface.

Jump to

Keyboard shortcuts

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