apppb

package
v0.0.0-...-9a5bcbd Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead.

func (*ErrorInfo) GetErrCode

func (x *ErrorInfo) GetErrCode() int32

func (*ErrorInfo) GetErrMsg

func (x *ErrorInfo) GetErrMsg() string

func (*ErrorInfo) ProtoMessage

func (*ErrorInfo) ProtoMessage()

func (*ErrorInfo) ProtoReflect

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

func (*ErrorInfo) Reset

func (x *ErrorInfo) Reset()

func (*ErrorInfo) String

func (x *ErrorInfo) String() string

type UnimplementedAppServiceServer

type UnimplementedAppServiceServer struct {
}

UnimplementedAppServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppServiceServer) AppGetIflytekKey

func (UnimplementedAppServiceServer) AppLogReport

func (UnimplementedAppServiceServer) AppQuestionFeedback

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.

Jump to

Keyboard shortcuts

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