handler

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStoreHandler

type AppStoreHandler struct {
	//注意这里的类型是 IAppStoreDataService 接口类型
	AppStoreDataService service.IAppStoreDataService
}

func (*AppStoreHandler) AddAppStore

func (e *AppStoreHandler) AddAppStore(ctx context.Context, info *appStore.AppStoreInfo, rsp *appStore.Response) error

Call is a single request handler called via client.Call or the generated client code

func (*AppStoreHandler) AddInstallNum

func (e *AppStoreHandler) AddInstallNum(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.Response) error

添加安装统计

func (*AppStoreHandler) AddViewNum

func (e *AppStoreHandler) AddViewNum(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.Response) error

添加查询统计

func (*AppStoreHandler) DeleteAppStore

func (e *AppStoreHandler) DeleteAppStore(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.Response) error

func (*AppStoreHandler) FindAllAppStore

func (e *AppStoreHandler) FindAllAppStore(ctx context.Context, req *appStore.FindAll, rsp *appStore.AllAppStore) error

func (*AppStoreHandler) FindAppStoreByID

func (e *AppStoreHandler) FindAppStoreByID(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.AppStoreInfo) error

func (*AppStoreHandler) GetInstallNum

func (e *AppStoreHandler) GetInstallNum(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.Number) error

获取安装数量

func (*AppStoreHandler) GetViewNum

func (e *AppStoreHandler) GetViewNum(ctx context.Context, req *appStore.AppStoreId, rsp *appStore.Number) error

获取查询数量

func (*AppStoreHandler) UpdateAppStore

func (e *AppStoreHandler) UpdateAppStore(ctx context.Context, req *appStore.AppStoreInfo, rsp *appStore.Response) error

Jump to

Keyboard shortcuts

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