Documentation ¶
Index ¶
- Variables
- func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)
- type AppGetIflytekKeyData
- func (*AppGetIflytekKeyData) Descriptor() ([]byte, []int)deprecated
- func (x *AppGetIflytekKeyData) GetApiKey() string
- func (x *AppGetIflytekKeyData) GetApiSecret() string
- func (x *AppGetIflytekKeyData) GetAppID() string
- func (*AppGetIflytekKeyData) ProtoMessage()
- func (x *AppGetIflytekKeyData) ProtoReflect() protoreflect.Message
- func (x *AppGetIflytekKeyData) Reset()
- func (x *AppGetIflytekKeyData) String() string
- type AppGetIflytekKeyReq
- type AppGetIflytekKeyRsp
- func (*AppGetIflytekKeyRsp) Descriptor() ([]byte, []int)deprecated
- func (x *AppGetIflytekKeyRsp) GetData() *AppGetIflytekKeyData
- func (x *AppGetIflytekKeyRsp) GetErrInfo() *ErrorInfo
- func (*AppGetIflytekKeyRsp) ProtoMessage()
- func (x *AppGetIflytekKeyRsp) ProtoReflect() protoreflect.Message
- func (x *AppGetIflytekKeyRsp) Reset()
- func (x *AppGetIflytekKeyRsp) String() string
- type AppLogReportReq
- func (*AppLogReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppLogReportReq) GetAppVersion() string
- func (x *AppLogReportReq) GetContent() string
- func (x *AppLogReportReq) GetLogType() string
- func (x *AppLogReportReq) GetPlatform() int32
- func (x *AppLogReportReq) GetUid() int64
- func (x *AppLogReportReq) GetUuid() string
- func (*AppLogReportReq) ProtoMessage()
- func (x *AppLogReportReq) ProtoReflect() protoreflect.Message
- func (x *AppLogReportReq) Reset()
- func (x *AppLogReportReq) String() string
- type AppLogReportRsp
- type AppQuestionFeedbackReq
- func (*AppQuestionFeedbackReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppQuestionFeedbackReq) GetContent() string
- func (x *AppQuestionFeedbackReq) GetEmail() string
- func (x *AppQuestionFeedbackReq) GetPlatform() int32
- func (x *AppQuestionFeedbackReq) GetUid() int64
- func (x *AppQuestionFeedbackReq) GetUuid() string
- func (*AppQuestionFeedbackReq) ProtoMessage()
- func (x *AppQuestionFeedbackReq) ProtoReflect() protoreflect.Message
- func (x *AppQuestionFeedbackReq) Reset()
- func (x *AppQuestionFeedbackReq) String() string
- type AppQuestionFeedbackRsp
- func (*AppQuestionFeedbackRsp) Descriptor() ([]byte, []int)deprecated
- func (x *AppQuestionFeedbackRsp) GetErrInfo() *ErrorInfo
- func (*AppQuestionFeedbackRsp) ProtoMessage()
- func (x *AppQuestionFeedbackRsp) ProtoReflect() protoreflect.Message
- func (x *AppQuestionFeedbackRsp) Reset()
- func (x *AppQuestionFeedbackRsp) String() string
- type AppServiceClient
- type AppServiceServer
- type ErrorInfo
- type UnimplementedAppServiceServer
- func (UnimplementedAppServiceServer) AppGetIflytekKey(context.Context, *AppGetIflytekKeyReq) (*AppGetIflytekKeyRsp, error)
- func (UnimplementedAppServiceServer) AppLogReport(context.Context, *AppLogReportReq) (*AppLogReportRsp, error)
- func (UnimplementedAppServiceServer) AppQuestionFeedback(context.Context, *AppQuestionFeedbackReq) (*AppQuestionFeedbackRsp, error)
- type UnsafeAppServiceServer
Constants ¶
This section is empty.
Variables ¶
var AppService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "apppb.AppService", HandlerType: (*AppServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AppLogReport", Handler: _AppService_AppLogReport_Handler, }, { MethodName: "AppGetIflytekKey", Handler: _AppService_AppGetIflytekKey_Handler, }, { MethodName: "AppQuestionFeedback", Handler: _AppService_AppQuestionFeedback_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "app.proto", }
AppService_ServiceDesc is the grpc.ServiceDesc for AppService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_app_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppServiceServer ¶
func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)
Types ¶
type AppGetIflytekKeyData ¶
type AppGetIflytekKeyData struct { AppID string `protobuf:"bytes,1,opt,name=appID,proto3" json:"appID,omitempty"` ApiSecret string `protobuf:"bytes,2,opt,name=apiSecret,proto3" json:"apiSecret,omitempty"` ApiKey string `protobuf:"bytes,3,opt,name=apiKey,proto3" json:"apiKey,omitempty"` // contains filtered or unexported fields }
func (*AppGetIflytekKeyData) Descriptor
deprecated
func (*AppGetIflytekKeyData) Descriptor() ([]byte, []int)
Deprecated: Use AppGetIflytekKeyData.ProtoReflect.Descriptor instead.
func (*AppGetIflytekKeyData) GetApiKey ¶
func (x *AppGetIflytekKeyData) GetApiKey() string
func (*AppGetIflytekKeyData) GetApiSecret ¶
func (x *AppGetIflytekKeyData) GetApiSecret() string
func (*AppGetIflytekKeyData) GetAppID ¶
func (x *AppGetIflytekKeyData) GetAppID() string
func (*AppGetIflytekKeyData) ProtoMessage ¶
func (*AppGetIflytekKeyData) ProtoMessage()
func (*AppGetIflytekKeyData) ProtoReflect ¶
func (x *AppGetIflytekKeyData) ProtoReflect() protoreflect.Message
func (*AppGetIflytekKeyData) Reset ¶
func (x *AppGetIflytekKeyData) Reset()
func (*AppGetIflytekKeyData) String ¶
func (x *AppGetIflytekKeyData) String() string
type AppGetIflytekKeyReq ¶
type AppGetIflytekKeyReq struct {
// contains filtered or unexported fields
}
func (*AppGetIflytekKeyReq) Descriptor
deprecated
func (*AppGetIflytekKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use AppGetIflytekKeyReq.ProtoReflect.Descriptor instead.
func (*AppGetIflytekKeyReq) ProtoMessage ¶
func (*AppGetIflytekKeyReq) ProtoMessage()
func (*AppGetIflytekKeyReq) ProtoReflect ¶
func (x *AppGetIflytekKeyReq) ProtoReflect() protoreflect.Message
func (*AppGetIflytekKeyReq) Reset ¶
func (x *AppGetIflytekKeyReq) Reset()
func (*AppGetIflytekKeyReq) String ¶
func (x *AppGetIflytekKeyReq) String() string
type AppGetIflytekKeyRsp ¶
type AppGetIflytekKeyRsp struct { ErrInfo *ErrorInfo `protobuf:"bytes,1,opt,name=errInfo,proto3" json:"errInfo,omitempty"` Data *AppGetIflytekKeyData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AppGetIflytekKeyRsp) Descriptor
deprecated
func (*AppGetIflytekKeyRsp) Descriptor() ([]byte, []int)
Deprecated: Use AppGetIflytekKeyRsp.ProtoReflect.Descriptor instead.
func (*AppGetIflytekKeyRsp) GetData ¶
func (x *AppGetIflytekKeyRsp) GetData() *AppGetIflytekKeyData
func (*AppGetIflytekKeyRsp) GetErrInfo ¶
func (x *AppGetIflytekKeyRsp) GetErrInfo() *ErrorInfo
func (*AppGetIflytekKeyRsp) ProtoMessage ¶
func (*AppGetIflytekKeyRsp) ProtoMessage()
func (*AppGetIflytekKeyRsp) ProtoReflect ¶
func (x *AppGetIflytekKeyRsp) ProtoReflect() protoreflect.Message
func (*AppGetIflytekKeyRsp) Reset ¶
func (x *AppGetIflytekKeyRsp) Reset()
func (*AppGetIflytekKeyRsp) String ¶
func (x *AppGetIflytekKeyRsp) String() string
type AppLogReportReq ¶
type AppLogReportReq struct { LogType string `protobuf:"bytes,1,opt,name=LogType,proto3" json:"LogType,omitempty"` Uid int64 `protobuf:"varint,2,opt,name=Uid,proto3" json:"Uid,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=Uuid,proto3" json:"Uuid,omitempty"` Platform int32 `protobuf:"varint,4,opt,name=Platform,proto3" json:"Platform,omitempty"` AppVersion string `protobuf:"bytes,5,opt,name=AppVersion,proto3" json:"AppVersion,omitempty"` Content string `protobuf:"bytes,6,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*AppLogReportReq) Descriptor
deprecated
func (*AppLogReportReq) Descriptor() ([]byte, []int)
Deprecated: Use AppLogReportReq.ProtoReflect.Descriptor instead.
func (*AppLogReportReq) GetAppVersion ¶
func (x *AppLogReportReq) GetAppVersion() string
func (*AppLogReportReq) GetContent ¶
func (x *AppLogReportReq) GetContent() string
func (*AppLogReportReq) GetLogType ¶
func (x *AppLogReportReq) GetLogType() string
func (*AppLogReportReq) GetPlatform ¶
func (x *AppLogReportReq) GetPlatform() int32
func (*AppLogReportReq) GetUid ¶
func (x *AppLogReportReq) GetUid() int64
func (*AppLogReportReq) GetUuid ¶
func (x *AppLogReportReq) GetUuid() string
func (*AppLogReportReq) ProtoMessage ¶
func (*AppLogReportReq) ProtoMessage()
func (*AppLogReportReq) ProtoReflect ¶
func (x *AppLogReportReq) ProtoReflect() protoreflect.Message
func (*AppLogReportReq) Reset ¶
func (x *AppLogReportReq) Reset()
func (*AppLogReportReq) String ¶
func (x *AppLogReportReq) String() string
type AppLogReportRsp ¶
type AppLogReportRsp struct { ErrInfo *ErrorInfo `protobuf:"bytes,1,opt,name=errInfo,proto3" json:"errInfo,omitempty"` // contains filtered or unexported fields }
func (*AppLogReportRsp) Descriptor
deprecated
func (*AppLogReportRsp) Descriptor() ([]byte, []int)
Deprecated: Use AppLogReportRsp.ProtoReflect.Descriptor instead.
func (*AppLogReportRsp) GetErrInfo ¶
func (x *AppLogReportRsp) GetErrInfo() *ErrorInfo
func (*AppLogReportRsp) ProtoMessage ¶
func (*AppLogReportRsp) ProtoMessage()
func (*AppLogReportRsp) ProtoReflect ¶
func (x *AppLogReportRsp) ProtoReflect() protoreflect.Message
func (*AppLogReportRsp) Reset ¶
func (x *AppLogReportRsp) Reset()
func (*AppLogReportRsp) String ¶
func (x *AppLogReportRsp) String() string
type AppQuestionFeedbackReq ¶
type AppQuestionFeedbackReq struct { Uid int64 `protobuf:"varint,1,opt,name=Uid,proto3" json:"Uid,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=Uuid,proto3" json:"Uuid,omitempty"` Platform int32 `protobuf:"varint,3,opt,name=Platform,proto3" json:"Platform,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Content string `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
意见反馈
func (*AppQuestionFeedbackReq) Descriptor
deprecated
func (*AppQuestionFeedbackReq) Descriptor() ([]byte, []int)
Deprecated: Use AppQuestionFeedbackReq.ProtoReflect.Descriptor instead.
func (*AppQuestionFeedbackReq) GetContent ¶
func (x *AppQuestionFeedbackReq) GetContent() string
func (*AppQuestionFeedbackReq) GetEmail ¶
func (x *AppQuestionFeedbackReq) GetEmail() string
func (*AppQuestionFeedbackReq) GetPlatform ¶
func (x *AppQuestionFeedbackReq) GetPlatform() int32
func (*AppQuestionFeedbackReq) GetUid ¶
func (x *AppQuestionFeedbackReq) GetUid() int64
func (*AppQuestionFeedbackReq) GetUuid ¶
func (x *AppQuestionFeedbackReq) GetUuid() string
func (*AppQuestionFeedbackReq) ProtoMessage ¶
func (*AppQuestionFeedbackReq) ProtoMessage()
func (*AppQuestionFeedbackReq) ProtoReflect ¶
func (x *AppQuestionFeedbackReq) ProtoReflect() protoreflect.Message
func (*AppQuestionFeedbackReq) Reset ¶
func (x *AppQuestionFeedbackReq) Reset()
func (*AppQuestionFeedbackReq) String ¶
func (x *AppQuestionFeedbackReq) String() string
type AppQuestionFeedbackRsp ¶
type AppQuestionFeedbackRsp struct { ErrInfo *ErrorInfo `protobuf:"bytes,1,opt,name=errInfo,proto3" json:"errInfo,omitempty"` // contains filtered or unexported fields }
func (*AppQuestionFeedbackRsp) Descriptor
deprecated
func (*AppQuestionFeedbackRsp) Descriptor() ([]byte, []int)
Deprecated: Use AppQuestionFeedbackRsp.ProtoReflect.Descriptor instead.
func (*AppQuestionFeedbackRsp) GetErrInfo ¶
func (x *AppQuestionFeedbackRsp) GetErrInfo() *ErrorInfo
func (*AppQuestionFeedbackRsp) ProtoMessage ¶
func (*AppQuestionFeedbackRsp) ProtoMessage()
func (*AppQuestionFeedbackRsp) ProtoReflect ¶
func (x *AppQuestionFeedbackRsp) ProtoReflect() protoreflect.Message
func (*AppQuestionFeedbackRsp) Reset ¶
func (x *AppQuestionFeedbackRsp) Reset()
func (*AppQuestionFeedbackRsp) String ¶
func (x *AppQuestionFeedbackRsp) String() string
type AppServiceClient ¶
type AppServiceClient interface { /// AppLogReport(ctx context.Context, in *AppLogReportReq, opts ...grpc.CallOption) (*AppLogReportRsp, error) /// AppGetIflytekKey(ctx context.Context, in *AppGetIflytekKeyReq, opts ...grpc.CallOption) (*AppGetIflytekKeyRsp, error) /// AppQuestionFeedback(ctx context.Context, in *AppQuestionFeedbackReq, opts ...grpc.CallOption) (*AppQuestionFeedbackRsp, error) }
AppServiceClient is the client API for AppService 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 NewAppServiceClient ¶
func NewAppServiceClient(cc grpc.ClientConnInterface) AppServiceClient
type AppServiceServer ¶
type AppServiceServer interface { /// AppLogReport(context.Context, *AppLogReportReq) (*AppLogReportRsp, error) /// AppGetIflytekKey(context.Context, *AppGetIflytekKeyReq) (*AppGetIflytekKeyRsp, error) /// AppQuestionFeedback(context.Context, *AppQuestionFeedbackReq) (*AppQuestionFeedbackRsp, error) // contains filtered or unexported methods }
AppServiceServer is the server API for AppService service. All implementations must embed UnimplementedAppServiceServer for forward compatibility
type ErrorInfo ¶
type ErrorInfo struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // contains filtered or unexported fields }
func (*ErrorInfo) Descriptor
deprecated
func (*ErrorInfo) GetErrCode ¶
func (*ErrorInfo) ProtoMessage ¶
func (*ErrorInfo) ProtoMessage()
func (*ErrorInfo) ProtoReflect ¶
func (x *ErrorInfo) ProtoReflect() protoreflect.Message
type UnimplementedAppServiceServer ¶
type UnimplementedAppServiceServer struct { }
UnimplementedAppServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAppServiceServer) AppGetIflytekKey ¶
func (UnimplementedAppServiceServer) AppGetIflytekKey(context.Context, *AppGetIflytekKeyReq) (*AppGetIflytekKeyRsp, error)
func (UnimplementedAppServiceServer) AppLogReport ¶
func (UnimplementedAppServiceServer) AppLogReport(context.Context, *AppLogReportReq) (*AppLogReportRsp, error)
func (UnimplementedAppServiceServer) AppQuestionFeedback ¶
func (UnimplementedAppServiceServer) AppQuestionFeedback(context.Context, *AppQuestionFeedbackReq) (*AppQuestionFeedbackRsp, error)
type UnsafeAppServiceServer ¶
type UnsafeAppServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAppServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServiceServer will result in compilation errors.