Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
- type Bot
- type Bot_Captcha
- func (*Bot_Captcha) Descriptor() ([]byte, []int)deprecated
- func (x *Bot_Captcha) GetBotId() int64
- func (x *Bot_Captcha) GetCaptchaType() Bot_Captcha_CaptchaType
- func (m *Bot_Captcha) GetData() isBot_Captcha_Data
- func (x *Bot_Captcha) GetImage() []byte
- func (x *Bot_Captcha) GetUrl() string
- func (*Bot_Captcha) ProtoMessage()
- func (x *Bot_Captcha) ProtoReflect() protoreflect.Message
- func (x *Bot_Captcha) Reset()
- func (x *Bot_Captcha) String() string
- type Bot_Captcha_CaptchaType
- func (Bot_Captcha_CaptchaType) Descriptor() protoreflect.EnumDescriptor
- func (x Bot_Captcha_CaptchaType) Enum() *Bot_Captcha_CaptchaType
- func (Bot_Captcha_CaptchaType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Bot_Captcha_CaptchaType) Number() protoreflect.EnumNumber
- func (x Bot_Captcha_CaptchaType) String() string
- func (Bot_Captcha_CaptchaType) Type() protoreflect.EnumType
- type Bot_Captcha_Image
- type Bot_Captcha_Url
- type CreateBotReq
- func (*CreateBotReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBotReq) GetBotId() int64
- func (x *CreateBotReq) GetPassword() string
- func (*CreateBotReq) ProtoMessage()
- func (x *CreateBotReq) ProtoReflect() protoreflect.Message
- func (x *CreateBotReq) Reset()
- func (x *CreateBotReq) String() string
- type CreateBotResp
- type DeleteBotReq
- type DeleteBotResp
- type DeletePluginReq
- type DeletePluginResp
- type FetchQRCodeReq
- type GetAllVersionReq
- type GetAllVersionResp
- func (*GetAllVersionResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllVersionResp) GetAllVersion() []*GetAllVersionResp_AllVersion
- func (x *GetAllVersionResp) GetUsedVersion() *GetAllVersionResp_UsedVersion
- func (*GetAllVersionResp) ProtoMessage()
- func (x *GetAllVersionResp) ProtoReflect() protoreflect.Message
- func (x *GetAllVersionResp) Reset()
- func (x *GetAllVersionResp) String() string
- type GetAllVersionResp_AllVersion
- func (*GetAllVersionResp_AllVersion) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllVersionResp_AllVersion) GetAppVersion() []string
- func (x *GetAllVersionResp_AllVersion) GetPlatform() string
- func (*GetAllVersionResp_AllVersion) ProtoMessage()
- func (x *GetAllVersionResp_AllVersion) ProtoReflect() protoreflect.Message
- func (x *GetAllVersionResp_AllVersion) Reset()
- func (x *GetAllVersionResp_AllVersion) String() string
- type GetAllVersionResp_UsedVersion
- func (*GetAllVersionResp_UsedVersion) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllVersionResp_UsedVersion) GetAppVersion() string
- func (x *GetAllVersionResp_UsedVersion) GetPlatform() string
- func (x *GetAllVersionResp_UsedVersion) GetSignServer() string
- func (*GetAllVersionResp_UsedVersion) ProtoMessage()
- func (x *GetAllVersionResp_UsedVersion) ProtoReflect() protoreflect.Message
- func (x *GetAllVersionResp_UsedVersion) Reset()
- func (x *GetAllVersionResp_UsedVersion) String() string
- type HttpServiceClient
- type HttpServiceServer
- type ListBotReq
- type ListBotResp
- type ListPluginReq
- type ListPluginResp
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)deprecated
- func (x *Plugin) GetApiFilter() []int32
- func (x *Plugin) GetDisabled() bool
- func (x *Plugin) GetEventFilter() []int32
- func (x *Plugin) GetExtraHeader() []*Plugin_Header
- func (x *Plugin) GetJson() bool
- func (x *Plugin) GetName() string
- func (x *Plugin) GetProtocol() int32
- func (x *Plugin) GetRegexFilter() string
- func (x *Plugin) GetRegexReplace() string
- func (x *Plugin) GetUrls() []string
- func (*Plugin) ProtoMessage()
- func (x *Plugin) ProtoReflect() protoreflect.Message
- func (x *Plugin) Reset()
- func (x *Plugin) String() string
- type Plugin_Header
- func (*Plugin_Header) Descriptor() ([]byte, []int)deprecated
- func (x *Plugin_Header) GetKey() string
- func (x *Plugin_Header) GetValue() []string
- func (*Plugin_Header) ProtoMessage()
- func (x *Plugin_Header) ProtoReflect() protoreflect.Message
- func (x *Plugin_Header) Reset()
- func (x *Plugin_Header) String() string
- type QRCodeLoginResp
- func (*QRCodeLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *QRCodeLoginResp) GetImageData() []byte
- func (x *QRCodeLoginResp) GetSig() []byte
- func (x *QRCodeLoginResp) GetState() QRCodeLoginResp_QRCodeLoginState
- func (*QRCodeLoginResp) ProtoMessage()
- func (x *QRCodeLoginResp) ProtoReflect() protoreflect.Message
- func (x *QRCodeLoginResp) Reset()
- func (x *QRCodeLoginResp) String() string
- type QRCodeLoginResp_QRCodeLoginState
- func (QRCodeLoginResp_QRCodeLoginState) Descriptor() protoreflect.EnumDescriptor
- func (x QRCodeLoginResp_QRCodeLoginState) Enum() *QRCodeLoginResp_QRCodeLoginState
- func (QRCodeLoginResp_QRCodeLoginState) EnumDescriptor() ([]byte, []int)deprecated
- func (x QRCodeLoginResp_QRCodeLoginState) Number() protoreflect.EnumNumber
- func (x QRCodeLoginResp_QRCodeLoginState) String() string
- func (QRCodeLoginResp_QRCodeLoginState) Type() protoreflect.EnumType
- type QueryQRCodeStatusReq
- func (*QueryQRCodeStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *QueryQRCodeStatusReq) GetBotId() int64
- func (x *QueryQRCodeStatusReq) GetSig() []byte
- func (*QueryQRCodeStatusReq) ProtoMessage()
- func (x *QueryQRCodeStatusReq) ProtoReflect() protoreflect.Message
- func (x *QueryQRCodeStatusReq) Reset()
- func (x *QueryQRCodeStatusReq) String() string
- type SavePluginReq
- type SavePluginResp
- type SetBaseInfoReq
- func (*SetBaseInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetBaseInfoReq) GetAppVersion() string
- func (x *SetBaseInfoReq) GetPlatform() string
- func (x *SetBaseInfoReq) GetSignServer() string
- func (*SetBaseInfoReq) ProtoMessage()
- func (x *SetBaseInfoReq) ProtoReflect() protoreflect.Message
- func (x *SetBaseInfoReq) Reset()
- func (x *SetBaseInfoReq) String() string
- type SetBaseInfoResp
- type SolveCaptchaReq
- func (*SolveCaptchaReq) Descriptor() ([]byte, []int)deprecated
- func (x *SolveCaptchaReq) GetBotId() int64
- func (x *SolveCaptchaReq) GetResult() string
- func (*SolveCaptchaReq) ProtoMessage()
- func (x *SolveCaptchaReq) ProtoReflect() protoreflect.Message
- func (x *SolveCaptchaReq) Reset()
- func (x *SolveCaptchaReq) String() string
- type SolveCaptchaResp
- type UnimplementedHttpServiceServer
- func (UnimplementedHttpServiceServer) CreateBot(context.Context, *CreateBotReq) (*CreateBotResp, error)
- func (UnimplementedHttpServiceServer) DeleteBot(context.Context, *DeleteBotReq) (*DeleteBotResp, error)
- func (UnimplementedHttpServiceServer) DeletePlugin(context.Context, *DeletePluginReq) (*DeletePluginResp, error)
- func (UnimplementedHttpServiceServer) FetchQRCode(context.Context, *FetchQRCodeReq) (*QRCodeLoginResp, error)
- func (UnimplementedHttpServiceServer) GetAllVersion(context.Context, *GetAllVersionReq) (*GetAllVersionResp, error)
- func (UnimplementedHttpServiceServer) ListBot(context.Context, *ListBotReq) (*ListBotResp, error)
- func (UnimplementedHttpServiceServer) ListPlugin(context.Context, *ListPluginReq) (*ListPluginResp, error)
- func (UnimplementedHttpServiceServer) QueryQRCodeStatus(context.Context, *QueryQRCodeStatusReq) (*QRCodeLoginResp, error)
- func (UnimplementedHttpServiceServer) SavePlugin(context.Context, *SavePluginReq) (*SavePluginResp, error)
- func (UnimplementedHttpServiceServer) SetBaseInfo(context.Context, *SetBaseInfoReq) (*SetBaseInfoResp, error)
- func (UnimplementedHttpServiceServer) SolveCaptcha(context.Context, *SolveCaptchaReq) (*SolveCaptchaResp, error)
- type UnsafeHttpServiceServer
Constants ¶
const ( HttpService_CreateBot_FullMethodName = "/dto.HttpService/CreateBot" HttpService_DeleteBot_FullMethodName = "/dto.HttpService/DeleteBot" HttpService_ListBot_FullMethodName = "/dto.HttpService/ListBot" HttpService_SolveCaptcha_FullMethodName = "/dto.HttpService/SolveCaptcha" HttpService_FetchQRCode_FullMethodName = "/dto.HttpService/FetchQRCode" HttpService_QueryQRCodeStatus_FullMethodName = "/dto.HttpService/QueryQRCodeStatus" HttpService_ListPlugin_FullMethodName = "/dto.HttpService/ListPlugin" HttpService_SavePlugin_FullMethodName = "/dto.HttpService/SavePlugin" HttpService_DeletePlugin_FullMethodName = "/dto.HttpService/DeletePlugin" HttpService_SetBaseInfo_FullMethodName = "/dto.HttpService/SetBaseInfo" HttpService_GetAllVersion_FullMethodName = "/dto.HttpService/GetAllVersion" )
Variables ¶
var ( Bot_Captcha_CaptchaType_name = map[int32]string{ 0: "PIC_CAPTCHA", 1: "SLIDER_CAPTCHA", 2: "UNSAFE_DEVICE_LOGIN_VERIFY", 4: "SMS", } Bot_Captcha_CaptchaType_value = map[string]int32{ "PIC_CAPTCHA": 0, "SLIDER_CAPTCHA": 1, "UNSAFE_DEVICE_LOGIN_VERIFY": 2, "SMS": 4, } )
Enum value maps for Bot_Captcha_CaptchaType.
var ( QRCodeLoginResp_QRCodeLoginState_name = map[int32]string{ 0: "Unknown", 1: "QRCodeImageFetch", 2: "QRCodeWaitingForScan", 3: "QRCodeWaitingForConfirm", 4: "QRCodeTimeout", 5: "QRCodeConfirmed", 6: "QRCodeCanceled", } QRCodeLoginResp_QRCodeLoginState_value = map[string]int32{ "Unknown": 0, "QRCodeImageFetch": 1, "QRCodeWaitingForScan": 2, "QRCodeWaitingForConfirm": 3, "QRCodeTimeout": 4, "QRCodeConfirmed": 5, "QRCodeCanceled": 6, } )
Enum value maps for QRCodeLoginResp_QRCodeLoginState.
var File_http_dto_proto protoreflect.FileDescriptor
var HttpService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dto.HttpService", HandlerType: (*HttpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateBot", Handler: _HttpService_CreateBot_Handler, }, { MethodName: "DeleteBot", Handler: _HttpService_DeleteBot_Handler, }, { MethodName: "ListBot", Handler: _HttpService_ListBot_Handler, }, { MethodName: "SolveCaptcha", Handler: _HttpService_SolveCaptcha_Handler, }, { MethodName: "FetchQRCode", Handler: _HttpService_FetchQRCode_Handler, }, { MethodName: "QueryQRCodeStatus", Handler: _HttpService_QueryQRCodeStatus_Handler, }, { MethodName: "ListPlugin", Handler: _HttpService_ListPlugin_Handler, }, { MethodName: "SavePlugin", Handler: _HttpService_SavePlugin_Handler, }, { MethodName: "DeletePlugin", Handler: _HttpService_DeletePlugin_Handler, }, { MethodName: "SetBaseInfo", Handler: _HttpService_SetBaseInfo_Handler, }, { MethodName: "GetAllVersion", Handler: _HttpService_GetAllVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "http_dto.proto", }
HttpService_ServiceDesc is the grpc.ServiceDesc for HttpService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHttpServiceServer ¶
func RegisterHttpServiceServer(s grpc.ServiceRegistrar, srv HttpServiceServer)
Types ¶
type Bot ¶
type Bot struct { BotId int64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` IsOnline bool `protobuf:"varint,2,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"` Captcha *Bot_Captcha `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*Bot) Descriptor
deprecated
func (*Bot) GetCaptcha ¶
func (x *Bot) GetCaptcha() *Bot_Captcha
func (*Bot) GetIsOnline ¶
func (*Bot) ProtoMessage ¶
func (*Bot) ProtoMessage()
func (*Bot) ProtoReflect ¶
func (x *Bot) ProtoReflect() protoreflect.Message
type Bot_Captcha ¶
type Bot_Captcha struct { BotId int64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` CaptchaType Bot_Captcha_CaptchaType `` /* 128-byte string literal not displayed */ // Types that are assignable to Data: // // *Bot_Captcha_Url // *Bot_Captcha_Image Data isBot_Captcha_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*Bot_Captcha) Descriptor
deprecated
func (*Bot_Captcha) Descriptor() ([]byte, []int)
Deprecated: Use Bot_Captcha.ProtoReflect.Descriptor instead.
func (*Bot_Captcha) GetBotId ¶
func (x *Bot_Captcha) GetBotId() int64
func (*Bot_Captcha) GetCaptchaType ¶
func (x *Bot_Captcha) GetCaptchaType() Bot_Captcha_CaptchaType
func (*Bot_Captcha) GetData ¶
func (m *Bot_Captcha) GetData() isBot_Captcha_Data
func (*Bot_Captcha) GetImage ¶
func (x *Bot_Captcha) GetImage() []byte
func (*Bot_Captcha) GetUrl ¶
func (x *Bot_Captcha) GetUrl() string
func (*Bot_Captcha) ProtoMessage ¶
func (*Bot_Captcha) ProtoMessage()
func (*Bot_Captcha) ProtoReflect ¶
func (x *Bot_Captcha) ProtoReflect() protoreflect.Message
func (*Bot_Captcha) Reset ¶
func (x *Bot_Captcha) Reset()
func (*Bot_Captcha) String ¶
func (x *Bot_Captcha) String() string
type Bot_Captcha_CaptchaType ¶
type Bot_Captcha_CaptchaType int32
const ( Bot_Captcha_PIC_CAPTCHA Bot_Captcha_CaptchaType = 0 Bot_Captcha_SLIDER_CAPTCHA Bot_Captcha_CaptchaType = 1 Bot_Captcha_UNSAFE_DEVICE_LOGIN_VERIFY Bot_Captcha_CaptchaType = 2 Bot_Captcha_SMS Bot_Captcha_CaptchaType = 4 )
func (Bot_Captcha_CaptchaType) Descriptor ¶
func (Bot_Captcha_CaptchaType) Descriptor() protoreflect.EnumDescriptor
func (Bot_Captcha_CaptchaType) Enum ¶
func (x Bot_Captcha_CaptchaType) Enum() *Bot_Captcha_CaptchaType
func (Bot_Captcha_CaptchaType) EnumDescriptor
deprecated
func (Bot_Captcha_CaptchaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Bot_Captcha_CaptchaType.Descriptor instead.
func (Bot_Captcha_CaptchaType) Number ¶
func (x Bot_Captcha_CaptchaType) Number() protoreflect.EnumNumber
func (Bot_Captcha_CaptchaType) String ¶
func (x Bot_Captcha_CaptchaType) String() string
func (Bot_Captcha_CaptchaType) Type ¶
func (Bot_Captcha_CaptchaType) Type() protoreflect.EnumType
type Bot_Captcha_Image ¶
type Bot_Captcha_Image struct {
Image []byte `protobuf:"bytes,4,opt,name=image,proto3,oneof"`
}
type Bot_Captcha_Url ¶
type Bot_Captcha_Url struct {
Url string `protobuf:"bytes,3,opt,name=url,proto3,oneof"`
}
type CreateBotReq ¶
type CreateBotReq struct { BotId int64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
创建机器人 /bot/create/v1/
func (*CreateBotReq) Descriptor
deprecated
func (*CreateBotReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateBotReq.ProtoReflect.Descriptor instead.
func (*CreateBotReq) GetBotId ¶
func (x *CreateBotReq) GetBotId() int64
func (*CreateBotReq) GetPassword ¶
func (x *CreateBotReq) GetPassword() string
func (*CreateBotReq) ProtoMessage ¶
func (*CreateBotReq) ProtoMessage()
func (*CreateBotReq) ProtoReflect ¶
func (x *CreateBotReq) ProtoReflect() protoreflect.Message
func (*CreateBotReq) Reset ¶
func (x *CreateBotReq) Reset()
func (*CreateBotReq) String ¶
func (x *CreateBotReq) String() string
type CreateBotResp ¶
type CreateBotResp struct {
// contains filtered or unexported fields
}
func (*CreateBotResp) Descriptor
deprecated
func (*CreateBotResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateBotResp.ProtoReflect.Descriptor instead.
func (*CreateBotResp) ProtoMessage ¶
func (*CreateBotResp) ProtoMessage()
func (*CreateBotResp) ProtoReflect ¶
func (x *CreateBotResp) ProtoReflect() protoreflect.Message
func (*CreateBotResp) Reset ¶
func (x *CreateBotResp) Reset()
func (*CreateBotResp) String ¶
func (x *CreateBotResp) String() string
type DeleteBotReq ¶
type DeleteBotReq struct { BotId int64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // contains filtered or unexported fields }
删除机器人 /bot/delete/v1/
func (*DeleteBotReq) Descriptor
deprecated
func (*DeleteBotReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBotReq.ProtoReflect.Descriptor instead.
func (*DeleteBotReq) GetBotId ¶
func (x *DeleteBotReq) GetBotId() int64
func (*DeleteBotReq) ProtoMessage ¶
func (*DeleteBotReq) ProtoMessage()
func (*DeleteBotReq) ProtoReflect ¶
func (x *DeleteBotReq) ProtoReflect() protoreflect.Message
func (*DeleteBotReq) Reset ¶
func (x *DeleteBotReq) Reset()
func (*DeleteBotReq) String ¶
func (x *DeleteBotReq) String() string
type DeleteBotResp ¶
type DeleteBotResp struct {
// contains filtered or unexported fields
}
func (*DeleteBotResp) Descriptor
deprecated
func (*DeleteBotResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBotResp.ProtoReflect.Descriptor instead.
func (*DeleteBotResp) ProtoMessage ¶
func (*DeleteBotResp) ProtoMessage()
func (*DeleteBotResp) ProtoReflect ¶
func (x *DeleteBotResp) ProtoReflect() protoreflect.Message
func (*DeleteBotResp) Reset ¶
func (x *DeleteBotResp) Reset()
func (*DeleteBotResp) String ¶
func (x *DeleteBotResp) String() string
type DeletePluginReq ¶
type DeletePluginReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeletePluginReq) Descriptor
deprecated
func (*DeletePluginReq) Descriptor() ([]byte, []int)
Deprecated: Use DeletePluginReq.ProtoReflect.Descriptor instead.
func (*DeletePluginReq) GetName ¶
func (x *DeletePluginReq) GetName() string
func (*DeletePluginReq) ProtoMessage ¶
func (*DeletePluginReq) ProtoMessage()
func (*DeletePluginReq) ProtoReflect ¶
func (x *DeletePluginReq) ProtoReflect() protoreflect.Message
func (*DeletePluginReq) Reset ¶
func (x *DeletePluginReq) Reset()
func (*DeletePluginReq) String ¶
func (x *DeletePluginReq) String() string
type DeletePluginResp ¶
type DeletePluginResp struct {
// contains filtered or unexported fields
}
func (*DeletePluginResp) Descriptor
deprecated
func (*DeletePluginResp) Descriptor() ([]byte, []int)
Deprecated: Use DeletePluginResp.ProtoReflect.Descriptor instead.
func (*DeletePluginResp) ProtoMessage ¶
func (*DeletePluginResp) ProtoMessage()
func (*DeletePluginResp) ProtoReflect ¶
func (x *DeletePluginResp) ProtoReflect() protoreflect.Message
func (*DeletePluginResp) Reset ¶
func (x *DeletePluginResp) Reset()
func (*DeletePluginResp) String ¶
func (x *DeletePluginResp) String() string
type FetchQRCodeReq ¶
type FetchQRCodeReq struct { DeviceSeed int64 `protobuf:"varint,1,opt,name=device_seed,json=deviceSeed,proto3" json:"device_seed,omitempty"` // contains filtered or unexported fields }
获取二维码 /qrcode/fetch/v1/
func (*FetchQRCodeReq) Descriptor
deprecated
func (*FetchQRCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use FetchQRCodeReq.ProtoReflect.Descriptor instead.
func (*FetchQRCodeReq) GetDeviceSeed ¶
func (x *FetchQRCodeReq) GetDeviceSeed() int64
func (*FetchQRCodeReq) ProtoMessage ¶
func (*FetchQRCodeReq) ProtoMessage()
func (*FetchQRCodeReq) ProtoReflect ¶
func (x *FetchQRCodeReq) ProtoReflect() protoreflect.Message
func (*FetchQRCodeReq) Reset ¶
func (x *FetchQRCodeReq) Reset()
func (*FetchQRCodeReq) String ¶
func (x *FetchQRCodeReq) String() string
type GetAllVersionReq ¶
type GetAllVersionReq struct {
// contains filtered or unexported fields
}
获取版本信息
func (*GetAllVersionReq) Descriptor
deprecated
func (*GetAllVersionReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllVersionReq.ProtoReflect.Descriptor instead.
func (*GetAllVersionReq) ProtoMessage ¶
func (*GetAllVersionReq) ProtoMessage()
func (*GetAllVersionReq) ProtoReflect ¶
func (x *GetAllVersionReq) ProtoReflect() protoreflect.Message
func (*GetAllVersionReq) Reset ¶
func (x *GetAllVersionReq) Reset()
func (*GetAllVersionReq) String ¶
func (x *GetAllVersionReq) String() string
type GetAllVersionResp ¶
type GetAllVersionResp struct { AllVersion []*GetAllVersionResp_AllVersion `protobuf:"bytes,1,rep,name=all_version,json=allVersion,proto3" json:"all_version,omitempty"` UsedVersion *GetAllVersionResp_UsedVersion `protobuf:"bytes,2,opt,name=used_version,json=usedVersion,proto3" json:"used_version,omitempty"` // contains filtered or unexported fields }
func (*GetAllVersionResp) Descriptor
deprecated
func (*GetAllVersionResp) Descriptor() ([]byte, []int)
Deprecated: Use GetAllVersionResp.ProtoReflect.Descriptor instead.
func (*GetAllVersionResp) GetAllVersion ¶
func (x *GetAllVersionResp) GetAllVersion() []*GetAllVersionResp_AllVersion
func (*GetAllVersionResp) GetUsedVersion ¶
func (x *GetAllVersionResp) GetUsedVersion() *GetAllVersionResp_UsedVersion
func (*GetAllVersionResp) ProtoMessage ¶
func (*GetAllVersionResp) ProtoMessage()
func (*GetAllVersionResp) ProtoReflect ¶
func (x *GetAllVersionResp) ProtoReflect() protoreflect.Message
func (*GetAllVersionResp) Reset ¶
func (x *GetAllVersionResp) Reset()
func (*GetAllVersionResp) String ¶
func (x *GetAllVersionResp) String() string
type GetAllVersionResp_AllVersion ¶
type GetAllVersionResp_AllVersion struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` AppVersion []string `protobuf:"bytes,2,rep,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` // contains filtered or unexported fields }
func (*GetAllVersionResp_AllVersion) Descriptor
deprecated
func (*GetAllVersionResp_AllVersion) Descriptor() ([]byte, []int)
Deprecated: Use GetAllVersionResp_AllVersion.ProtoReflect.Descriptor instead.
func (*GetAllVersionResp_AllVersion) GetAppVersion ¶
func (x *GetAllVersionResp_AllVersion) GetAppVersion() []string
func (*GetAllVersionResp_AllVersion) GetPlatform ¶
func (x *GetAllVersionResp_AllVersion) GetPlatform() string
func (*GetAllVersionResp_AllVersion) ProtoMessage ¶
func (*GetAllVersionResp_AllVersion) ProtoMessage()
func (*GetAllVersionResp_AllVersion) ProtoReflect ¶
func (x *GetAllVersionResp_AllVersion) ProtoReflect() protoreflect.Message
func (*GetAllVersionResp_AllVersion) Reset ¶
func (x *GetAllVersionResp_AllVersion) Reset()
func (*GetAllVersionResp_AllVersion) String ¶
func (x *GetAllVersionResp_AllVersion) String() string
type GetAllVersionResp_UsedVersion ¶
type GetAllVersionResp_UsedVersion struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` AppVersion string `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` SignServer string `protobuf:"bytes,3,opt,name=sign_server,json=signServer,proto3" json:"sign_server,omitempty"` // contains filtered or unexported fields }
func (*GetAllVersionResp_UsedVersion) Descriptor
deprecated
func (*GetAllVersionResp_UsedVersion) Descriptor() ([]byte, []int)
Deprecated: Use GetAllVersionResp_UsedVersion.ProtoReflect.Descriptor instead.
func (*GetAllVersionResp_UsedVersion) GetAppVersion ¶
func (x *GetAllVersionResp_UsedVersion) GetAppVersion() string
func (*GetAllVersionResp_UsedVersion) GetPlatform ¶
func (x *GetAllVersionResp_UsedVersion) GetPlatform() string
func (*GetAllVersionResp_UsedVersion) GetSignServer ¶
func (x *GetAllVersionResp_UsedVersion) GetSignServer() string
func (*GetAllVersionResp_UsedVersion) ProtoMessage ¶
func (*GetAllVersionResp_UsedVersion) ProtoMessage()
func (*GetAllVersionResp_UsedVersion) ProtoReflect ¶
func (x *GetAllVersionResp_UsedVersion) ProtoReflect() protoreflect.Message
func (*GetAllVersionResp_UsedVersion) Reset ¶
func (x *GetAllVersionResp_UsedVersion) Reset()
func (*GetAllVersionResp_UsedVersion) String ¶
func (x *GetAllVersionResp_UsedVersion) String() string
type HttpServiceClient ¶
type HttpServiceClient interface { CreateBot(ctx context.Context, in *CreateBotReq, opts ...grpc.CallOption) (*CreateBotResp, error) DeleteBot(ctx context.Context, in *DeleteBotReq, opts ...grpc.CallOption) (*DeleteBotResp, error) ListBot(ctx context.Context, in *ListBotReq, opts ...grpc.CallOption) (*ListBotResp, error) SolveCaptcha(ctx context.Context, in *SolveCaptchaReq, opts ...grpc.CallOption) (*SolveCaptchaResp, error) FetchQRCode(ctx context.Context, in *FetchQRCodeReq, opts ...grpc.CallOption) (*QRCodeLoginResp, error) QueryQRCodeStatus(ctx context.Context, in *QueryQRCodeStatusReq, opts ...grpc.CallOption) (*QRCodeLoginResp, error) ListPlugin(ctx context.Context, in *ListPluginReq, opts ...grpc.CallOption) (*ListPluginResp, error) SavePlugin(ctx context.Context, in *SavePluginReq, opts ...grpc.CallOption) (*SavePluginResp, error) DeletePlugin(ctx context.Context, in *DeletePluginReq, opts ...grpc.CallOption) (*DeletePluginResp, error) SetBaseInfo(ctx context.Context, in *SetBaseInfoReq, opts ...grpc.CallOption) (*SetBaseInfoResp, error) GetAllVersion(ctx context.Context, in *GetAllVersionReq, opts ...grpc.CallOption) (*GetAllVersionResp, error) }
HttpServiceClient is the client API for HttpService 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 NewHttpServiceClient ¶
func NewHttpServiceClient(cc grpc.ClientConnInterface) HttpServiceClient
type HttpServiceServer ¶
type HttpServiceServer interface { CreateBot(context.Context, *CreateBotReq) (*CreateBotResp, error) DeleteBot(context.Context, *DeleteBotReq) (*DeleteBotResp, error) ListBot(context.Context, *ListBotReq) (*ListBotResp, error) SolveCaptcha(context.Context, *SolveCaptchaReq) (*SolveCaptchaResp, error) FetchQRCode(context.Context, *FetchQRCodeReq) (*QRCodeLoginResp, error) QueryQRCodeStatus(context.Context, *QueryQRCodeStatusReq) (*QRCodeLoginResp, error) ListPlugin(context.Context, *ListPluginReq) (*ListPluginResp, error) SavePlugin(context.Context, *SavePluginReq) (*SavePluginResp, error) DeletePlugin(context.Context, *DeletePluginReq) (*DeletePluginResp, error) SetBaseInfo(context.Context, *SetBaseInfoReq) (*SetBaseInfoResp, error) GetAllVersion(context.Context, *GetAllVersionReq) (*GetAllVersionResp, error) // contains filtered or unexported methods }
HttpServiceServer is the server API for HttpService service. All implementations must embed UnimplementedHttpServiceServer for forward compatibility
type ListBotReq ¶
type ListBotReq struct {
// contains filtered or unexported fields
}
查询机器人 /bot/list/v1/
func (*ListBotReq) Descriptor
deprecated
func (*ListBotReq) Descriptor() ([]byte, []int)
Deprecated: Use ListBotReq.ProtoReflect.Descriptor instead.
func (*ListBotReq) ProtoMessage ¶
func (*ListBotReq) ProtoMessage()
func (*ListBotReq) ProtoReflect ¶
func (x *ListBotReq) ProtoReflect() protoreflect.Message
func (*ListBotReq) Reset ¶
func (x *ListBotReq) Reset()
func (*ListBotReq) String ¶
func (x *ListBotReq) String() string
type ListBotResp ¶
type ListBotResp struct { BotList []*Bot `protobuf:"bytes,1,rep,name=bot_list,json=botList,proto3" json:"bot_list,omitempty"` // contains filtered or unexported fields }
func (*ListBotResp) Descriptor
deprecated
func (*ListBotResp) Descriptor() ([]byte, []int)
Deprecated: Use ListBotResp.ProtoReflect.Descriptor instead.
func (*ListBotResp) GetBotList ¶
func (x *ListBotResp) GetBotList() []*Bot
func (*ListBotResp) ProtoMessage ¶
func (*ListBotResp) ProtoMessage()
func (*ListBotResp) ProtoReflect ¶
func (x *ListBotResp) ProtoReflect() protoreflect.Message
func (*ListBotResp) Reset ¶
func (x *ListBotResp) Reset()
func (*ListBotResp) String ¶
func (x *ListBotResp) String() string
type ListPluginReq ¶
type ListPluginReq struct {
// contains filtered or unexported fields
}
func (*ListPluginReq) Descriptor
deprecated
func (*ListPluginReq) Descriptor() ([]byte, []int)
Deprecated: Use ListPluginReq.ProtoReflect.Descriptor instead.
func (*ListPluginReq) ProtoMessage ¶
func (*ListPluginReq) ProtoMessage()
func (*ListPluginReq) ProtoReflect ¶
func (x *ListPluginReq) ProtoReflect() protoreflect.Message
func (*ListPluginReq) Reset ¶
func (x *ListPluginReq) Reset()
func (*ListPluginReq) String ¶
func (x *ListPluginReq) String() string
type ListPluginResp ¶
type ListPluginResp struct { Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // contains filtered or unexported fields }
func (*ListPluginResp) Descriptor
deprecated
func (*ListPluginResp) Descriptor() ([]byte, []int)
Deprecated: Use ListPluginResp.ProtoReflect.Descriptor instead.
func (*ListPluginResp) GetPlugins ¶
func (x *ListPluginResp) GetPlugins() []*Plugin
func (*ListPluginResp) ProtoMessage ¶
func (*ListPluginResp) ProtoMessage()
func (*ListPluginResp) ProtoReflect ¶
func (x *ListPluginResp) ProtoReflect() protoreflect.Message
func (*ListPluginResp) Reset ¶
func (x *ListPluginResp) Reset()
func (*ListPluginResp) String ¶
func (x *ListPluginResp) String() string
type Plugin ¶
type Plugin struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"` Json bool `protobuf:"varint,3,opt,name=json,proto3" json:"json,omitempty"` Protocol int32 `protobuf:"varint,4,opt,name=protocol,proto3" json:"protocol,omitempty"` Urls []string `protobuf:"bytes,5,rep,name=urls,proto3" json:"urls,omitempty"` EventFilter []int32 `protobuf:"varint,6,rep,packed,name=event_filter,json=eventFilter,proto3" json:"event_filter,omitempty"` ApiFilter []int32 `protobuf:"varint,7,rep,packed,name=api_filter,json=apiFilter,proto3" json:"api_filter,omitempty"` RegexFilter string `protobuf:"bytes,8,opt,name=regex_filter,json=regexFilter,proto3" json:"regex_filter,omitempty"` RegexReplace string `protobuf:"bytes,9,opt,name=regex_replace,json=regexReplace,proto3" json:"regex_replace,omitempty"` ExtraHeader []*Plugin_Header `protobuf:"bytes,10,rep,name=extra_header,json=extraHeader,proto3" json:"extra_header,omitempty"` // contains filtered or unexported fields }
func (*Plugin) Descriptor
deprecated
func (*Plugin) GetApiFilter ¶
func (*Plugin) GetDisabled ¶
func (*Plugin) GetEventFilter ¶
func (*Plugin) GetExtraHeader ¶
func (x *Plugin) GetExtraHeader() []*Plugin_Header
func (*Plugin) GetProtocol ¶
func (*Plugin) GetRegexFilter ¶
func (*Plugin) GetRegexReplace ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) ProtoReflect ¶
func (x *Plugin) ProtoReflect() protoreflect.Message
type Plugin_Header ¶
type Plugin_Header struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Plugin_Header) Descriptor
deprecated
func (*Plugin_Header) Descriptor() ([]byte, []int)
Deprecated: Use Plugin_Header.ProtoReflect.Descriptor instead.
func (*Plugin_Header) GetKey ¶
func (x *Plugin_Header) GetKey() string
func (*Plugin_Header) GetValue ¶
func (x *Plugin_Header) GetValue() []string
func (*Plugin_Header) ProtoMessage ¶
func (*Plugin_Header) ProtoMessage()
func (*Plugin_Header) ProtoReflect ¶
func (x *Plugin_Header) ProtoReflect() protoreflect.Message
func (*Plugin_Header) Reset ¶
func (x *Plugin_Header) Reset()
func (*Plugin_Header) String ¶
func (x *Plugin_Header) String() string
type QRCodeLoginResp ¶
type QRCodeLoginResp struct { State QRCodeLoginResp_QRCodeLoginState `protobuf:"varint,1,opt,name=state,proto3,enum=dto.QRCodeLoginResp_QRCodeLoginState" json:"state,omitempty"` ImageData []byte `protobuf:"bytes,2,opt,name=image_data,json=imageData,proto3" json:"image_data,omitempty"` Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
二维码登陆响应(获取和查询统一)
func (*QRCodeLoginResp) Descriptor
deprecated
func (*QRCodeLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use QRCodeLoginResp.ProtoReflect.Descriptor instead.
func (*QRCodeLoginResp) GetImageData ¶
func (x *QRCodeLoginResp) GetImageData() []byte
func (*QRCodeLoginResp) GetSig ¶
func (x *QRCodeLoginResp) GetSig() []byte
func (*QRCodeLoginResp) GetState ¶
func (x *QRCodeLoginResp) GetState() QRCodeLoginResp_QRCodeLoginState
func (*QRCodeLoginResp) ProtoMessage ¶
func (*QRCodeLoginResp) ProtoMessage()
func (*QRCodeLoginResp) ProtoReflect ¶
func (x *QRCodeLoginResp) ProtoReflect() protoreflect.Message
func (*QRCodeLoginResp) Reset ¶
func (x *QRCodeLoginResp) Reset()
func (*QRCodeLoginResp) String ¶
func (x *QRCodeLoginResp) String() string
type QRCodeLoginResp_QRCodeLoginState ¶
type QRCodeLoginResp_QRCodeLoginState int32
const ( QRCodeLoginResp_Unknown QRCodeLoginResp_QRCodeLoginState = 0 QRCodeLoginResp_QRCodeImageFetch QRCodeLoginResp_QRCodeLoginState = 1 QRCodeLoginResp_QRCodeWaitingForScan QRCodeLoginResp_QRCodeLoginState = 2 // 等待扫描 QRCodeLoginResp_QRCodeWaitingForConfirm QRCodeLoginResp_QRCodeLoginState = 3 // 扫码成功,请确认登陆 QRCodeLoginResp_QRCodeTimeout QRCodeLoginResp_QRCodeLoginState = 4 // 二维码过期 QRCodeLoginResp_QRCodeConfirmed QRCodeLoginResp_QRCodeLoginState = 5 // 已确认登陆 QRCodeLoginResp_QRCodeCanceled QRCodeLoginResp_QRCodeLoginState = 6 // 扫码被用户取消 )
func (QRCodeLoginResp_QRCodeLoginState) Descriptor ¶
func (QRCodeLoginResp_QRCodeLoginState) Descriptor() protoreflect.EnumDescriptor
func (QRCodeLoginResp_QRCodeLoginState) Enum ¶
func (x QRCodeLoginResp_QRCodeLoginState) Enum() *QRCodeLoginResp_QRCodeLoginState
func (QRCodeLoginResp_QRCodeLoginState) EnumDescriptor
deprecated
func (QRCodeLoginResp_QRCodeLoginState) EnumDescriptor() ([]byte, []int)
Deprecated: Use QRCodeLoginResp_QRCodeLoginState.Descriptor instead.
func (QRCodeLoginResp_QRCodeLoginState) Number ¶
func (x QRCodeLoginResp_QRCodeLoginState) Number() protoreflect.EnumNumber
func (QRCodeLoginResp_QRCodeLoginState) String ¶
func (x QRCodeLoginResp_QRCodeLoginState) String() string
func (QRCodeLoginResp_QRCodeLoginState) Type ¶
func (QRCodeLoginResp_QRCodeLoginState) Type() protoreflect.EnumType
type QueryQRCodeStatusReq ¶
type QueryQRCodeStatusReq struct { Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` BotId int64 `protobuf:"varint,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` // contains filtered or unexported fields }
查询二维码状态 /qrcode/query/v1/
func (*QueryQRCodeStatusReq) Descriptor
deprecated
func (*QueryQRCodeStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use QueryQRCodeStatusReq.ProtoReflect.Descriptor instead.
func (*QueryQRCodeStatusReq) GetBotId ¶
func (x *QueryQRCodeStatusReq) GetBotId() int64
func (*QueryQRCodeStatusReq) GetSig ¶
func (x *QueryQRCodeStatusReq) GetSig() []byte
func (*QueryQRCodeStatusReq) ProtoMessage ¶
func (*QueryQRCodeStatusReq) ProtoMessage()
func (*QueryQRCodeStatusReq) ProtoReflect ¶
func (x *QueryQRCodeStatusReq) ProtoReflect() protoreflect.Message
func (*QueryQRCodeStatusReq) Reset ¶
func (x *QueryQRCodeStatusReq) Reset()
func (*QueryQRCodeStatusReq) String ¶
func (x *QueryQRCodeStatusReq) String() string
type SavePluginReq ¶
type SavePluginReq struct { Plugin *Plugin `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // contains filtered or unexported fields }
func (*SavePluginReq) Descriptor
deprecated
func (*SavePluginReq) Descriptor() ([]byte, []int)
Deprecated: Use SavePluginReq.ProtoReflect.Descriptor instead.
func (*SavePluginReq) GetPlugin ¶
func (x *SavePluginReq) GetPlugin() *Plugin
func (*SavePluginReq) ProtoMessage ¶
func (*SavePluginReq) ProtoMessage()
func (*SavePluginReq) ProtoReflect ¶
func (x *SavePluginReq) ProtoReflect() protoreflect.Message
func (*SavePluginReq) Reset ¶
func (x *SavePluginReq) Reset()
func (*SavePluginReq) String ¶
func (x *SavePluginReq) String() string
type SavePluginResp ¶
type SavePluginResp struct {
// contains filtered or unexported fields
}
func (*SavePluginResp) Descriptor
deprecated
func (*SavePluginResp) Descriptor() ([]byte, []int)
Deprecated: Use SavePluginResp.ProtoReflect.Descriptor instead.
func (*SavePluginResp) ProtoMessage ¶
func (*SavePluginResp) ProtoMessage()
func (*SavePluginResp) ProtoReflect ¶
func (x *SavePluginResp) ProtoReflect() protoreflect.Message
func (*SavePluginResp) Reset ¶
func (x *SavePluginResp) Reset()
func (*SavePluginResp) String ¶
func (x *SavePluginResp) String() string
type SetBaseInfoReq ¶
type SetBaseInfoReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` AppVersion string `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` SignServer string `protobuf:"bytes,3,opt,name=sign_server,json=signServer,proto3" json:"sign_server,omitempty"` // contains filtered or unexported fields }
func (*SetBaseInfoReq) Descriptor
deprecated
func (*SetBaseInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use SetBaseInfoReq.ProtoReflect.Descriptor instead.
func (*SetBaseInfoReq) GetAppVersion ¶
func (x *SetBaseInfoReq) GetAppVersion() string
func (*SetBaseInfoReq) GetPlatform ¶
func (x *SetBaseInfoReq) GetPlatform() string
func (*SetBaseInfoReq) GetSignServer ¶
func (x *SetBaseInfoReq) GetSignServer() string
func (*SetBaseInfoReq) ProtoMessage ¶
func (*SetBaseInfoReq) ProtoMessage()
func (*SetBaseInfoReq) ProtoReflect ¶
func (x *SetBaseInfoReq) ProtoReflect() protoreflect.Message
func (*SetBaseInfoReq) Reset ¶
func (x *SetBaseInfoReq) Reset()
func (*SetBaseInfoReq) String ¶
func (x *SetBaseInfoReq) String() string
type SetBaseInfoResp ¶
type SetBaseInfoResp struct {
// contains filtered or unexported fields
}
func (*SetBaseInfoResp) Descriptor
deprecated
func (*SetBaseInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use SetBaseInfoResp.ProtoReflect.Descriptor instead.
func (*SetBaseInfoResp) ProtoMessage ¶
func (*SetBaseInfoResp) ProtoMessage()
func (*SetBaseInfoResp) ProtoReflect ¶
func (x *SetBaseInfoResp) ProtoReflect() protoreflect.Message
func (*SetBaseInfoResp) Reset ¶
func (x *SetBaseInfoResp) Reset()
func (*SetBaseInfoResp) String ¶
func (x *SetBaseInfoResp) String() string
type SolveCaptchaReq ¶
type SolveCaptchaReq struct { BotId int64 `protobuf:"varint,1,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"` Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
处理验证码 /captcha/solve/v1/
func (*SolveCaptchaReq) Descriptor
deprecated
func (*SolveCaptchaReq) Descriptor() ([]byte, []int)
Deprecated: Use SolveCaptchaReq.ProtoReflect.Descriptor instead.
func (*SolveCaptchaReq) GetBotId ¶
func (x *SolveCaptchaReq) GetBotId() int64
func (*SolveCaptchaReq) GetResult ¶
func (x *SolveCaptchaReq) GetResult() string
func (*SolveCaptchaReq) ProtoMessage ¶
func (*SolveCaptchaReq) ProtoMessage()
func (*SolveCaptchaReq) ProtoReflect ¶
func (x *SolveCaptchaReq) ProtoReflect() protoreflect.Message
func (*SolveCaptchaReq) Reset ¶
func (x *SolveCaptchaReq) Reset()
func (*SolveCaptchaReq) String ¶
func (x *SolveCaptchaReq) String() string
type SolveCaptchaResp ¶
type SolveCaptchaResp struct {
// contains filtered or unexported fields
}
func (*SolveCaptchaResp) Descriptor
deprecated
func (*SolveCaptchaResp) Descriptor() ([]byte, []int)
Deprecated: Use SolveCaptchaResp.ProtoReflect.Descriptor instead.
func (*SolveCaptchaResp) ProtoMessage ¶
func (*SolveCaptchaResp) ProtoMessage()
func (*SolveCaptchaResp) ProtoReflect ¶
func (x *SolveCaptchaResp) ProtoReflect() protoreflect.Message
func (*SolveCaptchaResp) Reset ¶
func (x *SolveCaptchaResp) Reset()
func (*SolveCaptchaResp) String ¶
func (x *SolveCaptchaResp) String() string
type UnimplementedHttpServiceServer ¶
type UnimplementedHttpServiceServer struct { }
UnimplementedHttpServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHttpServiceServer) CreateBot ¶
func (UnimplementedHttpServiceServer) CreateBot(context.Context, *CreateBotReq) (*CreateBotResp, error)
func (UnimplementedHttpServiceServer) DeleteBot ¶
func (UnimplementedHttpServiceServer) DeleteBot(context.Context, *DeleteBotReq) (*DeleteBotResp, error)
func (UnimplementedHttpServiceServer) DeletePlugin ¶
func (UnimplementedHttpServiceServer) DeletePlugin(context.Context, *DeletePluginReq) (*DeletePluginResp, error)
func (UnimplementedHttpServiceServer) FetchQRCode ¶
func (UnimplementedHttpServiceServer) FetchQRCode(context.Context, *FetchQRCodeReq) (*QRCodeLoginResp, error)
func (UnimplementedHttpServiceServer) GetAllVersion ¶
func (UnimplementedHttpServiceServer) GetAllVersion(context.Context, *GetAllVersionReq) (*GetAllVersionResp, error)
func (UnimplementedHttpServiceServer) ListBot ¶
func (UnimplementedHttpServiceServer) ListBot(context.Context, *ListBotReq) (*ListBotResp, error)
func (UnimplementedHttpServiceServer) ListPlugin ¶
func (UnimplementedHttpServiceServer) ListPlugin(context.Context, *ListPluginReq) (*ListPluginResp, error)
func (UnimplementedHttpServiceServer) QueryQRCodeStatus ¶
func (UnimplementedHttpServiceServer) QueryQRCodeStatus(context.Context, *QueryQRCodeStatusReq) (*QRCodeLoginResp, error)
func (UnimplementedHttpServiceServer) SavePlugin ¶
func (UnimplementedHttpServiceServer) SavePlugin(context.Context, *SavePluginReq) (*SavePluginResp, error)
func (UnimplementedHttpServiceServer) SetBaseInfo ¶
func (UnimplementedHttpServiceServer) SetBaseInfo(context.Context, *SetBaseInfoReq) (*SetBaseInfoResp, error)
func (UnimplementedHttpServiceServer) SolveCaptcha ¶
func (UnimplementedHttpServiceServer) SolveCaptcha(context.Context, *SolveCaptchaReq) (*SolveCaptchaResp, error)
type UnsafeHttpServiceServer ¶
type UnsafeHttpServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHttpServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HttpServiceServer will result in compilation errors.