appStore

package
v0.0.0-...-7329380 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_appStore_appStore_proto protoreflect.FileDescriptor

Functions

func NewAppStoreEndpoints

func NewAppStoreEndpoints() []*api.Endpoint

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

Deprecated: Use AppImage.ProtoReflect.Descriptor instead.

func (*AppImage) GetAppId

func (x *AppImage) GetAppId() int64

func (*AppImage) GetAppImageSrc

func (x *AppImage) GetAppImageSrc() string

func (*AppImage) ProtoMessage

func (*AppImage) ProtoMessage()

func (*AppImage) ProtoReflect

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

func (*AppImage) Reset

func (x *AppImage) Reset()

func (*AppImage) String

func (x *AppImage) String() string

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

Deprecated: Use AppMiddle.ProtoReflect.Descriptor instead.

func (*AppMiddle) GetAppId

func (x *AppMiddle) GetAppId() int64

func (*AppMiddle) GetAppMiddleId

func (x *AppMiddle) GetAppMiddleId() int64

func (*AppMiddle) ProtoMessage

func (*AppMiddle) ProtoMessage()

func (*AppMiddle) ProtoReflect

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

func (*AppMiddle) Reset

func (x *AppMiddle) Reset()

func (*AppMiddle) String

func (x *AppMiddle) String() string

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

Deprecated: Use AppPod.ProtoReflect.Descriptor instead.

func (*AppPod) GetAppId

func (x *AppPod) GetAppId() int64

func (*AppPod) GetAppPodId

func (x *AppPod) GetAppPodId() int64

func (*AppPod) ProtoMessage

func (*AppPod) ProtoMessage()

func (*AppPod) ProtoReflect

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

func (*AppPod) Reset

func (x *AppPod) Reset()

func (*AppPod) String

func (x *AppPod) String() string

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

Deprecated: Use AppVolume.ProtoReflect.Descriptor instead.

func (*AppVolume) GetAppId

func (x *AppVolume) GetAppId() int64

func (*AppVolume) GetAppVolumeId

func (x *AppVolume) GetAppVolumeId() int64

func (*AppVolume) ProtoMessage

func (*AppVolume) ProtoMessage()

func (*AppVolume) ProtoReflect

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

func (*AppVolume) Reset

func (x *AppVolume) Reset()

func (*AppVolume) String

func (x *AppVolume) String() string

type FindAll

type FindAll struct {
	// contains filtered or unexported fields
}

func (*FindAll) Descriptor deprecated

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

Deprecated: Use FindAll.ProtoReflect.Descriptor instead.

func (*FindAll) ProtoMessage

func (*FindAll) ProtoMessage()

func (*FindAll) ProtoReflect

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

func (*FindAll) Reset

func (x *FindAll) Reset()

func (*FindAll) String

func (x *FindAll) String() string

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

Deprecated: Use Number.ProtoReflect.Descriptor instead.

func (*Number) GetNum

func (x *Number) GetNum() int64

func (*Number) ProtoMessage

func (*Number) ProtoMessage()

func (*Number) ProtoReflect

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

func (*Number) Reset

func (x *Number) Reset()

func (*Number) String

func (x *Number) String() string

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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