Documentation ¶
Index ¶
- Variables
- func NewAppStoreEndpoints() []*api.Endpoint
- func RegisterAppStoreHandler(s server.Server, hdlr AppStoreHandler, opts ...server.HandlerOption) error
- type AllAppStore
- type AppComment
- func (*AppComment) Descriptor() ([]byte, []int)deprecated
- func (x *AppComment) GetAppCommentDetail() string
- func (x *AppComment) GetAppCommentTitle() string
- func (x *AppComment) GetAppId() int64
- func (x *AppComment) GetAppUserId() int64
- func (*AppComment) ProtoMessage()
- func (x *AppComment) ProtoReflect() protoreflect.Message
- func (x *AppComment) Reset()
- func (x *AppComment) String() string
- type AppImage
- type AppMiddle
- type AppPod
- type AppStoreHandler
- type AppStoreId
- type AppStoreInfo
- func (*AppStoreInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppStoreInfo) GetAppCategoryId() int64
- func (x *AppStoreInfo) GetAppCheck() bool
- func (x *AppStoreInfo) GetAppComment() []*AppComment
- func (x *AppStoreInfo) GetAppDescribe() string
- func (x *AppStoreInfo) GetAppDetail() string
- func (x *AppStoreInfo) GetAppImage() []*AppImage
- func (x *AppStoreInfo) GetAppInstall() int64
- func (x *AppStoreInfo) GetAppIsvId() int64
- func (x *AppStoreInfo) GetAppMiddle() []*AppMiddle
- func (x *AppStoreInfo) GetAppPod() []*AppPod
- func (x *AppStoreInfo) GetAppPrice() float32
- func (x *AppStoreInfo) GetAppSku() string
- func (x *AppStoreInfo) GetAppTitle() string
- func (x *AppStoreInfo) GetAppViews() int64
- func (x *AppStoreInfo) GetAppVolume() []*AppVolume
- func (x *AppStoreInfo) GetId() int64
- func (*AppStoreInfo) ProtoMessage()
- func (x *AppStoreInfo) ProtoReflect() protoreflect.Message
- func (x *AppStoreInfo) Reset()
- func (x *AppStoreInfo) String() string
- type AppStoreService
- type AppVolume
- type FindAll
- type Number
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_appStore_appStore_proto protoreflect.FileDescriptor
Functions ¶
func NewAppStoreEndpoints ¶
func RegisterAppStoreHandler ¶
func RegisterAppStoreHandler(s server.Server, hdlr AppStoreHandler, opts ...server.HandlerOption) error
Types ¶
type AllAppStore ¶
type AllAppStore struct { AppStoreInfo []*AppStoreInfo `protobuf:"bytes,1,rep,name=appStore_info,json=appStoreInfo,proto3" json:"appStore_info,omitempty"` // contains filtered or unexported fields }
func (*AllAppStore) Descriptor
deprecated
func (*AllAppStore) Descriptor() ([]byte, []int)
Deprecated: Use AllAppStore.ProtoReflect.Descriptor instead.
func (*AllAppStore) GetAppStoreInfo ¶
func (x *AllAppStore) GetAppStoreInfo() []*AppStoreInfo
func (*AllAppStore) ProtoMessage ¶
func (*AllAppStore) ProtoMessage()
func (*AllAppStore) ProtoReflect ¶
func (x *AllAppStore) ProtoReflect() protoreflect.Message
func (*AllAppStore) Reset ¶
func (x *AllAppStore) Reset()
func (*AllAppStore) String ¶
func (x *AllAppStore) String() string
type AppComment ¶
type AppComment struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppCommentTitle string `protobuf:"bytes,2,opt,name=app_comment_title,json=appCommentTitle,proto3" json:"app_comment_title,omitempty"` AppCommentDetail string `protobuf:"bytes,3,opt,name=app_comment_detail,json=appCommentDetail,proto3" json:"app_comment_detail,omitempty"` AppUserId int64 `protobuf:"varint,4,opt,name=app_user_id,json=appUserId,proto3" json:"app_user_id,omitempty"` // contains filtered or unexported fields }
func (*AppComment) Descriptor
deprecated
func (*AppComment) Descriptor() ([]byte, []int)
Deprecated: Use AppComment.ProtoReflect.Descriptor instead.
func (*AppComment) GetAppCommentDetail ¶
func (x *AppComment) GetAppCommentDetail() string
func (*AppComment) GetAppCommentTitle ¶
func (x *AppComment) GetAppCommentTitle() string
func (*AppComment) GetAppId ¶
func (x *AppComment) GetAppId() int64
func (*AppComment) GetAppUserId ¶
func (x *AppComment) GetAppUserId() int64
func (*AppComment) ProtoMessage ¶
func (*AppComment) ProtoMessage()
func (*AppComment) ProtoReflect ¶
func (x *AppComment) ProtoReflect() protoreflect.Message
func (*AppComment) Reset ¶
func (x *AppComment) Reset()
func (*AppComment) String ¶
func (x *AppComment) String() string
type AppImage ¶
type AppImage struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppImageSrc string `protobuf:"bytes,2,opt,name=app_image_src,json=appImageSrc,proto3" json:"app_image_src,omitempty"` // contains filtered or unexported fields }
func (*AppImage) Descriptor
deprecated
func (*AppImage) GetAppImageSrc ¶
func (*AppImage) ProtoMessage ¶
func (*AppImage) ProtoMessage()
func (*AppImage) ProtoReflect ¶
func (x *AppImage) ProtoReflect() protoreflect.Message
type AppMiddle ¶
type AppMiddle struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppMiddleId int64 `protobuf:"varint,2,opt,name=app_middle_id,json=appMiddleId,proto3" json:"app_middle_id,omitempty"` // contains filtered or unexported fields }
func (*AppMiddle) Descriptor
deprecated
func (*AppMiddle) GetAppMiddleId ¶
func (*AppMiddle) ProtoMessage ¶
func (*AppMiddle) ProtoMessage()
func (*AppMiddle) ProtoReflect ¶
func (x *AppMiddle) ProtoReflect() protoreflect.Message
type AppPod ¶
type AppPod struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppPodId int64 `protobuf:"varint,2,opt,name=app_pod_id,json=appPodId,proto3" json:"app_pod_id,omitempty"` // contains filtered or unexported fields }
func (*AppPod) Descriptor
deprecated
func (*AppPod) GetAppPodId ¶
func (*AppPod) ProtoMessage ¶
func (*AppPod) ProtoMessage()
func (*AppPod) ProtoReflect ¶
func (x *AppPod) ProtoReflect() protoreflect.Message
type AppStoreHandler ¶
type AppStoreHandler interface { //对外提供添加服务 AddAppStore(context.Context, *AppStoreInfo, *Response) error DeleteAppStore(context.Context, *AppStoreId, *Response) error UpdateAppStore(context.Context, *AppStoreInfo, *Response) error FindAppStoreByID(context.Context, *AppStoreId, *AppStoreInfo) error FindAllAppStore(context.Context, *FindAll, *AllAppStore) error //添加常用的接口 AddInstallNum(context.Context, *AppStoreId, *Response) error GetInstallNum(context.Context, *AppStoreId, *Number) error AddViewNum(context.Context, *AppStoreId, *Response) error GetViewNum(context.Context, *AppStoreId, *Number) error }
type AppStoreId ¶
type AppStoreId struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AppStoreId) Descriptor
deprecated
func (*AppStoreId) Descriptor() ([]byte, []int)
Deprecated: Use AppStoreId.ProtoReflect.Descriptor instead.
func (*AppStoreId) GetId ¶
func (x *AppStoreId) GetId() int64
func (*AppStoreId) ProtoMessage ¶
func (*AppStoreId) ProtoMessage()
func (*AppStoreId) ProtoReflect ¶
func (x *AppStoreId) ProtoReflect() protoreflect.Message
func (*AppStoreId) Reset ¶
func (x *AppStoreId) Reset()
func (*AppStoreId) String ¶
func (x *AppStoreId) String() string
type AppStoreInfo ¶
type AppStoreInfo struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AppSku string `protobuf:"bytes,2,opt,name=app_sku,json=appSku,proto3" json:"app_sku,omitempty"` AppTitle string `protobuf:"bytes,3,opt,name=app_title,json=appTitle,proto3" json:"app_title,omitempty"` AppDescribe string `protobuf:"bytes,4,opt,name=app_describe,json=appDescribe,proto3" json:"app_describe,omitempty"` AppDetail string `protobuf:"bytes,5,opt,name=app_detail,json=appDetail,proto3" json:"app_detail,omitempty"` AppPrice float32 `protobuf:"fixed32,6,opt,name=app_price,json=appPrice,proto3" json:"app_price,omitempty"` AppInstall int64 `protobuf:"varint,7,opt,name=app_install,json=appInstall,proto3" json:"app_install,omitempty"` AppViews int64 `protobuf:"varint,8,opt,name=app_views,json=appViews,proto3" json:"app_views,omitempty"` AppCheck bool `protobuf:"varint,9,opt,name=app_check,json=appCheck,proto3" json:"app_check,omitempty"` AppCategoryId int64 `protobuf:"varint,10,opt,name=app_category_id,json=appCategoryId,proto3" json:"app_category_id,omitempty"` AppIsvId int64 `protobuf:"varint,11,opt,name=app_isv_id,json=appIsvId,proto3" json:"app_isv_id,omitempty"` AppImage []*AppImage `protobuf:"bytes,12,rep,name=app_image,json=appImage,proto3" json:"app_image,omitempty"` AppPod []*AppPod `protobuf:"bytes,13,rep,name=app_pod,json=appPod,proto3" json:"app_pod,omitempty"` AppMiddle []*AppMiddle `protobuf:"bytes,14,rep,name=app_middle,json=appMiddle,proto3" json:"app_middle,omitempty"` AppVolume []*AppVolume `protobuf:"bytes,15,rep,name=app_volume,json=appVolume,proto3" json:"app_volume,omitempty"` AppComment []*AppComment `protobuf:"bytes,16,rep,name=app_comment,json=appComment,proto3" json:"app_comment,omitempty"` // contains filtered or unexported fields }
func (*AppStoreInfo) Descriptor
deprecated
func (*AppStoreInfo) Descriptor() ([]byte, []int)
Deprecated: Use AppStoreInfo.ProtoReflect.Descriptor instead.
func (*AppStoreInfo) GetAppCategoryId ¶
func (x *AppStoreInfo) GetAppCategoryId() int64
func (*AppStoreInfo) GetAppCheck ¶
func (x *AppStoreInfo) GetAppCheck() bool
func (*AppStoreInfo) GetAppComment ¶
func (x *AppStoreInfo) GetAppComment() []*AppComment
func (*AppStoreInfo) GetAppDescribe ¶
func (x *AppStoreInfo) GetAppDescribe() string
func (*AppStoreInfo) GetAppDetail ¶
func (x *AppStoreInfo) GetAppDetail() string
func (*AppStoreInfo) GetAppImage ¶
func (x *AppStoreInfo) GetAppImage() []*AppImage
func (*AppStoreInfo) GetAppInstall ¶
func (x *AppStoreInfo) GetAppInstall() int64
func (*AppStoreInfo) GetAppIsvId ¶
func (x *AppStoreInfo) GetAppIsvId() int64
func (*AppStoreInfo) GetAppMiddle ¶
func (x *AppStoreInfo) GetAppMiddle() []*AppMiddle
func (*AppStoreInfo) GetAppPod ¶
func (x *AppStoreInfo) GetAppPod() []*AppPod
func (*AppStoreInfo) GetAppPrice ¶
func (x *AppStoreInfo) GetAppPrice() float32
func (*AppStoreInfo) GetAppSku ¶
func (x *AppStoreInfo) GetAppSku() string
func (*AppStoreInfo) GetAppTitle ¶
func (x *AppStoreInfo) GetAppTitle() string
func (*AppStoreInfo) GetAppViews ¶
func (x *AppStoreInfo) GetAppViews() int64
func (*AppStoreInfo) GetAppVolume ¶
func (x *AppStoreInfo) GetAppVolume() []*AppVolume
func (*AppStoreInfo) GetId ¶
func (x *AppStoreInfo) GetId() int64
func (*AppStoreInfo) ProtoMessage ¶
func (*AppStoreInfo) ProtoMessage()
func (*AppStoreInfo) ProtoReflect ¶
func (x *AppStoreInfo) ProtoReflect() protoreflect.Message
func (*AppStoreInfo) Reset ¶
func (x *AppStoreInfo) Reset()
func (*AppStoreInfo) String ¶
func (x *AppStoreInfo) String() string
type AppStoreService ¶
type AppStoreService interface { //对外提供添加服务 AddAppStore(ctx context.Context, in *AppStoreInfo, opts ...client.CallOption) (*Response, error) DeleteAppStore(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*Response, error) UpdateAppStore(ctx context.Context, in *AppStoreInfo, opts ...client.CallOption) (*Response, error) FindAppStoreByID(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*AppStoreInfo, error) FindAllAppStore(ctx context.Context, in *FindAll, opts ...client.CallOption) (*AllAppStore, error) //添加常用的接口 AddInstallNum(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*Response, error) GetInstallNum(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*Number, error) AddViewNum(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*Response, error) GetViewNum(ctx context.Context, in *AppStoreId, opts ...client.CallOption) (*Number, error) }
func NewAppStoreService ¶
func NewAppStoreService(name string, c client.Client) AppStoreService
type AppVolume ¶
type AppVolume struct { AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` AppVolumeId int64 `protobuf:"varint,2,opt,name=app_volume_id,json=appVolumeId,proto3" json:"app_volume_id,omitempty"` // contains filtered or unexported fields }
func (*AppVolume) Descriptor
deprecated
func (*AppVolume) GetAppVolumeId ¶
func (*AppVolume) ProtoMessage ¶
func (*AppVolume) ProtoMessage()
func (*AppVolume) ProtoReflect ¶
func (x *AppVolume) ProtoReflect() protoreflect.Message
type FindAll ¶
type FindAll struct {
// contains filtered or unexported fields
}
func (*FindAll) Descriptor
deprecated
func (*FindAll) ProtoMessage ¶
func (*FindAll) ProtoMessage()
func (*FindAll) ProtoReflect ¶
func (x *FindAll) ProtoReflect() protoreflect.Message
type Number ¶
type Number struct { Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*Number) Descriptor
deprecated
func (*Number) ProtoMessage ¶
func (*Number) ProtoMessage()
func (*Number) ProtoReflect ¶
func (x *Number) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.