Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)
- type ApiKeyInfo
- func (*ApiKeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ApiKeyInfo) GetApiId() string
- func (x *ApiKeyInfo) GetApiKey() string
- func (x *ApiKeyInfo) GetAppId() string
- func (x *ApiKeyInfo) GetAppType() string
- func (x *ApiKeyInfo) GetCreatedAt() int64
- func (x *ApiKeyInfo) GetOrgId() string
- func (x *ApiKeyInfo) GetUserId() string
- func (*ApiKeyInfo) ProtoMessage()
- func (x *ApiKeyInfo) ProtoReflect() protoreflect.Message
- func (x *ApiKeyInfo) Reset()
- func (x *ApiKeyInfo) String() string
- type ApiKeyInfoList
- func (*ApiKeyInfoList) Descriptor() ([]byte, []int)deprecated
- func (x *ApiKeyInfoList) GetInfo() []*ApiKeyInfo
- func (x *ApiKeyInfoList) GetTotal() int64
- func (*ApiKeyInfoList) ProtoMessage()
- func (x *ApiKeyInfoList) ProtoReflect() protoreflect.Message
- func (x *ApiKeyInfoList) Reset()
- func (x *ApiKeyInfoList) String() string
- type AppInfo
- func (*AppInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppInfo) GetAppId() string
- func (x *AppInfo) GetAppType() string
- func (x *AppInfo) GetCreatedAt() int64
- func (x *AppInfo) GetPublishType() string
- func (*AppInfo) ProtoMessage()
- func (x *AppInfo) ProtoReflect() protoreflect.Message
- func (x *AppInfo) Reset()
- func (x *AppInfo) String() string
- type AppList
- type AppServiceClient
- type AppServiceServer
- type AppUrlCreateReq
- type AppUrlDeleteReq
- type AppUrlInfo
- func (*AppUrlInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppUrlInfo) GetAppId() string
- func (x *AppUrlInfo) GetAppType() string
- func (x *AppUrlInfo) GetCopyright() string
- func (x *AppUrlInfo) GetCopyrightEnable() bool
- func (x *AppUrlInfo) GetCreatedAt() int64
- func (x *AppUrlInfo) GetDisclaimer() string
- func (x *AppUrlInfo) GetDisclaimerEnable() bool
- func (x *AppUrlInfo) GetExpiredAt() int64
- func (x *AppUrlInfo) GetName() string
- func (x *AppUrlInfo) GetOrgId() string
- func (x *AppUrlInfo) GetPrivacyPolicy() string
- func (x *AppUrlInfo) GetPrivacyPolicyEnable() bool
- func (x *AppUrlInfo) GetStatus() bool
- func (x *AppUrlInfo) GetSuffix() string
- func (x *AppUrlInfo) GetUrlId() string
- func (x *AppUrlInfo) GetUserId() string
- func (*AppUrlInfo) ProtoMessage()
- func (x *AppUrlInfo) ProtoReflect() protoreflect.Message
- func (x *AppUrlInfo) Reset()
- func (x *AppUrlInfo) String() string
- type AppUrlStatusSwitchReq
- func (*AppUrlStatusSwitchReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppUrlStatusSwitchReq) GetStatus() bool
- func (x *AppUrlStatusSwitchReq) GetUrlId() string
- func (*AppUrlStatusSwitchReq) ProtoMessage()
- func (x *AppUrlStatusSwitchReq) ProtoReflect() protoreflect.Message
- func (x *AppUrlStatusSwitchReq) Reset()
- func (x *AppUrlStatusSwitchReq) String() string
- type AppUrlUpdateReq
- type ChangeExplorationAppFavoriteReq
- func (*ChangeExplorationAppFavoriteReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeExplorationAppFavoriteReq) GetAppId() string
- func (x *ChangeExplorationAppFavoriteReq) GetAppType() string
- func (x *ChangeExplorationAppFavoriteReq) GetIsFavorite() bool
- func (x *ChangeExplorationAppFavoriteReq) GetOrgId() string
- func (x *ChangeExplorationAppFavoriteReq) GetUserId() string
- func (*ChangeExplorationAppFavoriteReq) ProtoMessage()
- func (x *ChangeExplorationAppFavoriteReq) ProtoReflect() protoreflect.Message
- func (x *ChangeExplorationAppFavoriteReq) Reset()
- func (x *ChangeExplorationAppFavoriteReq) String() string
- type DelApiKeyReq
- type DeleteAppReq
- func (*DeleteAppReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppReq) GetAppId() string
- func (x *DeleteAppReq) GetAppType() string
- func (*DeleteAppReq) ProtoMessage()
- func (x *DeleteAppReq) ProtoReflect() protoreflect.Message
- func (x *DeleteAppReq) Reset()
- func (x *DeleteAppReq) String() string
- type ExplorationAppInfo
- func (*ExplorationAppInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExplorationAppInfo) GetAppId() string
- func (x *ExplorationAppInfo) GetAppType() string
- func (x *ExplorationAppInfo) GetCreatedAt() int64
- func (x *ExplorationAppInfo) GetIsFavorite() bool
- func (x *ExplorationAppInfo) GetPublishType() string
- func (x *ExplorationAppInfo) GetUpdatedAt() int64
- func (x *ExplorationAppInfo) GetUserId() string
- func (*ExplorationAppInfo) ProtoMessage()
- func (x *ExplorationAppInfo) ProtoReflect() protoreflect.Message
- func (x *ExplorationAppInfo) Reset()
- func (x *ExplorationAppInfo) String() string
- type ExplorationAppList
- func (*ExplorationAppList) Descriptor() ([]byte, []int)deprecated
- func (x *ExplorationAppList) GetInfos() []*ExplorationAppInfo
- func (x *ExplorationAppList) GetTotal() int64
- func (*ExplorationAppList) ProtoMessage()
- func (x *ExplorationAppList) ProtoReflect() protoreflect.Message
- func (x *ExplorationAppList) Reset()
- func (x *ExplorationAppList) String() string
- type GenApiKeyReq
- func (*GenApiKeyReq) Descriptor() ([]byte, []int)deprecated
- func (x *GenApiKeyReq) GetAppId() string
- func (x *GenApiKeyReq) GetAppType() string
- func (x *GenApiKeyReq) GetOrgId() string
- func (x *GenApiKeyReq) GetUserId() string
- func (*GenApiKeyReq) ProtoMessage()
- func (x *GenApiKeyReq) ProtoReflect() protoreflect.Message
- func (x *GenApiKeyReq) Reset()
- func (x *GenApiKeyReq) String() string
- type GetApiKeyByKeyReq
- type GetApiKeyListReq
- func (*GetApiKeyListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetApiKeyListReq) GetAppId() string
- func (x *GetApiKeyListReq) GetAppType() string
- func (x *GetApiKeyListReq) GetOrgId() string
- func (x *GetApiKeyListReq) GetUserId() string
- func (*GetApiKeyListReq) ProtoMessage()
- func (x *GetApiKeyListReq) ProtoReflect() protoreflect.Message
- func (x *GetApiKeyListReq) Reset()
- func (x *GetApiKeyListReq) String() string
- type GetAppListByIdsReq
- func (*GetAppListByIdsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppListByIdsReq) GetAppIdsList() []string
- func (*GetAppListByIdsReq) ProtoMessage()
- func (x *GetAppListByIdsReq) ProtoReflect() protoreflect.Message
- func (x *GetAppListByIdsReq) Reset()
- func (x *GetAppListByIdsReq) String() string
- type GetAppListReq
- func (*GetAppListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppListReq) GetAppType() string
- func (x *GetAppListReq) GetOrgId() string
- func (x *GetAppListReq) GetUserId() string
- func (*GetAppListReq) ProtoMessage()
- func (x *GetAppListReq) ProtoReflect() protoreflect.Message
- func (x *GetAppListReq) Reset()
- func (x *GetAppListReq) String() string
- type GetAppUrlInfoBySuffixReq
- func (*GetAppUrlInfoBySuffixReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppUrlInfoBySuffixReq) GetSuffix() string
- func (*GetAppUrlInfoBySuffixReq) ProtoMessage()
- func (x *GetAppUrlInfoBySuffixReq) ProtoReflect() protoreflect.Message
- func (x *GetAppUrlInfoBySuffixReq) Reset()
- func (x *GetAppUrlInfoBySuffixReq) String() string
- type GetAppUrlListReq
- func (*GetAppUrlListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppUrlListReq) GetAppId() string
- func (x *GetAppUrlListReq) GetAppType() string
- func (*GetAppUrlListReq) ProtoMessage()
- func (x *GetAppUrlListReq) ProtoReflect() protoreflect.Message
- func (x *GetAppUrlListReq) Reset()
- func (x *GetAppUrlListReq) String() string
- type GetAppUrlListResp
- func (*GetAppUrlListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppUrlListResp) GetAppUrlInfos() []*AppUrlInfo
- func (x *GetAppUrlListResp) GetTotal() int64
- func (*GetAppUrlListResp) ProtoMessage()
- func (x *GetAppUrlListResp) ProtoReflect() protoreflect.Message
- func (x *GetAppUrlListResp) Reset()
- func (x *GetAppUrlListResp) String() string
- type GetExplorationAppListReq
- func (*GetExplorationAppListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetExplorationAppListReq) GetAppType() string
- func (x *GetExplorationAppListReq) GetName() string
- func (x *GetExplorationAppListReq) GetSearchType() string
- func (x *GetExplorationAppListReq) GetUserId() string
- func (*GetExplorationAppListReq) ProtoMessage()
- func (x *GetExplorationAppListReq) ProtoReflect() protoreflect.Message
- func (x *GetExplorationAppListReq) Reset()
- func (x *GetExplorationAppListReq) String() string
- type PublishAppReq
- func (*PublishAppReq) Descriptor() ([]byte, []int)deprecated
- func (x *PublishAppReq) GetAppId() string
- func (x *PublishAppReq) GetAppType() string
- func (x *PublishAppReq) GetOrgId() string
- func (x *PublishAppReq) GetPublishType() string
- func (x *PublishAppReq) GetUserId() string
- func (*PublishAppReq) ProtoMessage()
- func (x *PublishAppReq) ProtoReflect() protoreflect.Message
- func (x *PublishAppReq) Reset()
- func (x *PublishAppReq) String() string
- type RecordAppHistoryReq
- func (*RecordAppHistoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *RecordAppHistoryReq) GetAppId() string
- func (x *RecordAppHistoryReq) GetAppType() string
- func (x *RecordAppHistoryReq) GetUserId() string
- func (*RecordAppHistoryReq) ProtoMessage()
- func (x *RecordAppHistoryReq) ProtoReflect() protoreflect.Message
- func (x *RecordAppHistoryReq) Reset()
- func (x *RecordAppHistoryReq) String() string
- type UnPublishAppReq
- func (*UnPublishAppReq) Descriptor() ([]byte, []int)deprecated
- func (x *UnPublishAppReq) GetAppId() string
- func (x *UnPublishAppReq) GetAppType() string
- func (x *UnPublishAppReq) GetUserId() string
- func (*UnPublishAppReq) ProtoMessage()
- func (x *UnPublishAppReq) ProtoReflect() protoreflect.Message
- func (x *UnPublishAppReq) Reset()
- func (x *UnPublishAppReq) String() string
- type UnimplementedAppServiceServer
- func (UnimplementedAppServiceServer) AppUrlCreate(context.Context, *AppUrlCreateReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) AppUrlDelete(context.Context, *AppUrlDeleteReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) AppUrlStatusSwitch(context.Context, *AppUrlStatusSwitchReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) AppUrlUpdate(context.Context, *AppUrlUpdateReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) ChangeExplorationAppFavorite(context.Context, *ChangeExplorationAppFavoriteReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) DelApiKey(context.Context, *DelApiKeyReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) DeleteApp(context.Context, *DeleteAppReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) GenApiKey(context.Context, *GenApiKeyReq) (*ApiKeyInfo, error)
- func (UnimplementedAppServiceServer) GetApiKeyByKey(context.Context, *GetApiKeyByKeyReq) (*ApiKeyInfo, error)
- func (UnimplementedAppServiceServer) GetApiKeyList(context.Context, *GetApiKeyListReq) (*ApiKeyInfoList, error)
- func (UnimplementedAppServiceServer) GetAppList(context.Context, *GetAppListReq) (*AppList, error)
- func (UnimplementedAppServiceServer) GetAppListByIds(context.Context, *GetAppListByIdsReq) (*AppList, error)
- func (UnimplementedAppServiceServer) GetAppUrlInfoBySuffix(context.Context, *GetAppUrlInfoBySuffixReq) (*AppUrlInfo, error)
- func (UnimplementedAppServiceServer) GetAppUrlList(context.Context, *GetAppUrlListReq) (*GetAppUrlListResp, error)
- func (UnimplementedAppServiceServer) GetExplorationAppList(context.Context, *GetExplorationAppListReq) (*ExplorationAppList, error)
- func (UnimplementedAppServiceServer) PublishApp(context.Context, *PublishAppReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) RecordAppHistory(context.Context, *RecordAppHistoryReq) (*emptypb.Empty, error)
- func (UnimplementedAppServiceServer) UnPublishApp(context.Context, *UnPublishAppReq) (*emptypb.Empty, error)
- type UnsafeAppServiceServer
Constants ¶
const ( AppService_GenApiKey_FullMethodName = "/app_service.AppService/GenApiKey" AppService_GetApiKeyList_FullMethodName = "/app_service.AppService/GetApiKeyList" AppService_DelApiKey_FullMethodName = "/app_service.AppService/DelApiKey" AppService_GetApiKeyByKey_FullMethodName = "/app_service.AppService/GetApiKeyByKey" AppService_GetExplorationAppList_FullMethodName = "/app_service.AppService/GetExplorationAppList" AppService_ChangeExplorationAppFavorite_FullMethodName = "/app_service.AppService/ChangeExplorationAppFavorite" AppService_RecordAppHistory_FullMethodName = "/app_service.AppService/RecordAppHistory" AppService_PublishApp_FullMethodName = "/app_service.AppService/PublishApp" AppService_UnPublishApp_FullMethodName = "/app_service.AppService/UnPublishApp" AppService_GetAppList_FullMethodName = "/app_service.AppService/GetAppList" AppService_GetAppListByIds_FullMethodName = "/app_service.AppService/GetAppListByIds" AppService_DeleteApp_FullMethodName = "/app_service.AppService/DeleteApp" AppService_AppUrlCreate_FullMethodName = "/app_service.AppService/AppUrlCreate" AppService_AppUrlDelete_FullMethodName = "/app_service.AppService/AppUrlDelete" AppService_AppUrlUpdate_FullMethodName = "/app_service.AppService/AppUrlUpdate" AppService_GetAppUrlList_FullMethodName = "/app_service.AppService/GetAppUrlList" AppService_GetAppUrlInfoBySuffix_FullMethodName = "/app_service.AppService/GetAppUrlInfoBySuffix" AppService_AppUrlStatusSwitch_FullMethodName = "/app_service.AppService/AppUrlStatusSwitch" )
Variables ¶
var AppService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "app_service.AppService", HandlerType: (*AppServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenApiKey", Handler: _AppService_GenApiKey_Handler, }, { MethodName: "GetApiKeyList", Handler: _AppService_GetApiKeyList_Handler, }, { MethodName: "DelApiKey", Handler: _AppService_DelApiKey_Handler, }, { MethodName: "GetApiKeyByKey", Handler: _AppService_GetApiKeyByKey_Handler, }, { MethodName: "GetExplorationAppList", Handler: _AppService_GetExplorationAppList_Handler, }, { MethodName: "ChangeExplorationAppFavorite", Handler: _AppService_ChangeExplorationAppFavorite_Handler, }, { MethodName: "RecordAppHistory", Handler: _AppService_RecordAppHistory_Handler, }, { MethodName: "PublishApp", Handler: _AppService_PublishApp_Handler, }, { MethodName: "UnPublishApp", Handler: _AppService_UnPublishApp_Handler, }, { MethodName: "GetAppList", Handler: _AppService_GetAppList_Handler, }, { MethodName: "GetAppListByIds", Handler: _AppService_GetAppListByIds_Handler, }, { MethodName: "DeleteApp", Handler: _AppService_DeleteApp_Handler, }, { MethodName: "AppUrlCreate", Handler: _AppService_AppUrlCreate_Handler, }, { MethodName: "AppUrlDelete", Handler: _AppService_AppUrlDelete_Handler, }, { MethodName: "AppUrlUpdate", Handler: _AppService_AppUrlUpdate_Handler, }, { MethodName: "GetAppUrlList", Handler: _AppService_GetAppUrlList_Handler, }, { MethodName: "GetAppUrlInfoBySuffix", Handler: _AppService_GetAppUrlInfoBySuffix_Handler, }, { MethodName: "AppUrlStatusSwitch", Handler: _AppService_AppUrlStatusSwitch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/app-service/app-service.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_proto_app_service_app_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppServiceServer ¶
func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)
Types ¶
type ApiKeyInfo ¶
type ApiKeyInfo struct {
ApiId string `protobuf:"bytes,1,opt,name=apiId,proto3" json:"apiId,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,4,opt,name=orgId,proto3" json:"orgId,omitempty"`
AppId string `protobuf:"bytes,5,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,6,opt,name=appType,proto3" json:"appType,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
func (*ApiKeyInfo) Descriptor
deprecated
func (*ApiKeyInfo) Descriptor() ([]byte, []int)
Deprecated: Use ApiKeyInfo.ProtoReflect.Descriptor instead.
func (*ApiKeyInfo) GetApiId ¶
func (x *ApiKeyInfo) GetApiId() string
func (*ApiKeyInfo) GetApiKey ¶
func (x *ApiKeyInfo) GetApiKey() string
func (*ApiKeyInfo) GetAppId ¶
func (x *ApiKeyInfo) GetAppId() string
func (*ApiKeyInfo) GetAppType ¶
func (x *ApiKeyInfo) GetAppType() string
func (*ApiKeyInfo) GetCreatedAt ¶
func (x *ApiKeyInfo) GetCreatedAt() int64
func (*ApiKeyInfo) GetOrgId ¶
func (x *ApiKeyInfo) GetOrgId() string
func (*ApiKeyInfo) GetUserId ¶
func (x *ApiKeyInfo) GetUserId() string
func (*ApiKeyInfo) ProtoMessage ¶
func (*ApiKeyInfo) ProtoMessage()
func (*ApiKeyInfo) ProtoReflect ¶
func (x *ApiKeyInfo) ProtoReflect() protoreflect.Message
func (*ApiKeyInfo) Reset ¶
func (x *ApiKeyInfo) Reset()
func (*ApiKeyInfo) String ¶
func (x *ApiKeyInfo) String() string
type ApiKeyInfoList ¶
type ApiKeyInfoList struct {
Info []*ApiKeyInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ApiKeyInfoList) Descriptor
deprecated
func (*ApiKeyInfoList) Descriptor() ([]byte, []int)
Deprecated: Use ApiKeyInfoList.ProtoReflect.Descriptor instead.
func (*ApiKeyInfoList) GetInfo ¶
func (x *ApiKeyInfoList) GetInfo() []*ApiKeyInfo
func (*ApiKeyInfoList) GetTotal ¶
func (x *ApiKeyInfoList) GetTotal() int64
func (*ApiKeyInfoList) ProtoMessage ¶
func (*ApiKeyInfoList) ProtoMessage()
func (*ApiKeyInfoList) ProtoReflect ¶
func (x *ApiKeyInfoList) ProtoReflect() protoreflect.Message
func (*ApiKeyInfoList) Reset ¶
func (x *ApiKeyInfoList) Reset()
func (*ApiKeyInfoList) String ¶
func (x *ApiKeyInfoList) String() string
type AppInfo ¶
type AppInfo struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
PublishType string `protobuf:"bytes,4,opt,name=publishType,proto3" json:"publishType,omitempty"`
// contains filtered or unexported fields
}
func (*AppInfo) Descriptor
deprecated
func (*AppInfo) GetAppType ¶
func (*AppInfo) GetCreatedAt ¶
func (*AppInfo) GetPublishType ¶
func (*AppInfo) ProtoMessage ¶
func (*AppInfo) ProtoMessage()
func (*AppInfo) ProtoReflect ¶
func (x *AppInfo) ProtoReflect() protoreflect.Message
type AppList ¶
type AppList struct {
Infos []*AppInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*AppList) Descriptor
deprecated
func (*AppList) ProtoMessage ¶
func (*AppList) ProtoMessage()
func (*AppList) ProtoReflect ¶
func (x *AppList) ProtoReflect() protoreflect.Message
type AppServiceClient ¶
type AppServiceClient interface {
// --- apiKey ---
GenApiKey(ctx context.Context, in *GenApiKeyReq, opts ...grpc.CallOption) (*ApiKeyInfo, error)
GetApiKeyList(ctx context.Context, in *GetApiKeyListReq, opts ...grpc.CallOption) (*ApiKeyInfoList, error)
DelApiKey(ctx context.Context, in *DelApiKeyReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetApiKeyByKey(ctx context.Context, in *GetApiKeyByKeyReq, opts ...grpc.CallOption) (*ApiKeyInfo, error)
// --- exploration ---
GetExplorationAppList(ctx context.Context, in *GetExplorationAppListReq, opts ...grpc.CallOption) (*ExplorationAppList, error)
ChangeExplorationAppFavorite(ctx context.Context, in *ChangeExplorationAppFavoriteReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
RecordAppHistory(ctx context.Context, in *RecordAppHistoryReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// --- app ---
PublishApp(ctx context.Context, in *PublishAppReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
UnPublishApp(ctx context.Context, in *UnPublishAppReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetAppList(ctx context.Context, in *GetAppListReq, opts ...grpc.CallOption) (*AppList, error)
GetAppListByIds(ctx context.Context, in *GetAppListByIdsReq, opts ...grpc.CallOption) (*AppList, error)
DeleteApp(ctx context.Context, in *DeleteAppReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
// --- url ---
AppUrlCreate(ctx context.Context, in *AppUrlCreateReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
AppUrlDelete(ctx context.Context, in *AppUrlDeleteReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
AppUrlUpdate(ctx context.Context, in *AppUrlUpdateReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetAppUrlList(ctx context.Context, in *GetAppUrlListReq, opts ...grpc.CallOption) (*GetAppUrlListResp, error)
GetAppUrlInfoBySuffix(ctx context.Context, in *GetAppUrlInfoBySuffixReq, opts ...grpc.CallOption) (*AppUrlInfo, error)
AppUrlStatusSwitch(ctx context.Context, in *AppUrlStatusSwitchReq, opts ...grpc.CallOption) (*emptypb.Empty, 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 {
// --- apiKey ---
GenApiKey(context.Context, *GenApiKeyReq) (*ApiKeyInfo, error)
GetApiKeyList(context.Context, *GetApiKeyListReq) (*ApiKeyInfoList, error)
DelApiKey(context.Context, *DelApiKeyReq) (*emptypb.Empty, error)
GetApiKeyByKey(context.Context, *GetApiKeyByKeyReq) (*ApiKeyInfo, error)
// --- exploration ---
GetExplorationAppList(context.Context, *GetExplorationAppListReq) (*ExplorationAppList, error)
ChangeExplorationAppFavorite(context.Context, *ChangeExplorationAppFavoriteReq) (*emptypb.Empty, error)
RecordAppHistory(context.Context, *RecordAppHistoryReq) (*emptypb.Empty, error)
// --- app ---
PublishApp(context.Context, *PublishAppReq) (*emptypb.Empty, error)
UnPublishApp(context.Context, *UnPublishAppReq) (*emptypb.Empty, error)
GetAppList(context.Context, *GetAppListReq) (*AppList, error)
GetAppListByIds(context.Context, *GetAppListByIdsReq) (*AppList, error)
DeleteApp(context.Context, *DeleteAppReq) (*emptypb.Empty, error)
// --- url ---
AppUrlCreate(context.Context, *AppUrlCreateReq) (*emptypb.Empty, error)
AppUrlDelete(context.Context, *AppUrlDeleteReq) (*emptypb.Empty, error)
AppUrlUpdate(context.Context, *AppUrlUpdateReq) (*emptypb.Empty, error)
GetAppUrlList(context.Context, *GetAppUrlListReq) (*GetAppUrlListResp, error)
GetAppUrlInfoBySuffix(context.Context, *GetAppUrlInfoBySuffixReq) (*AppUrlInfo, error)
AppUrlStatusSwitch(context.Context, *AppUrlStatusSwitchReq) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
AppServiceServer is the server API for AppService service. All implementations must embed UnimplementedAppServiceServer for forward compatibility.
type AppUrlCreateReq ¶ added in v0.1.7
type AppUrlCreateReq struct {
AppUrlInfo *AppUrlInfo `protobuf:"bytes,1,opt,name=appUrlInfo,proto3" json:"appUrlInfo,omitempty"`
// contains filtered or unexported fields
}
func (*AppUrlCreateReq) Descriptor
deprecated
added in
v0.1.7
func (*AppUrlCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use AppUrlCreateReq.ProtoReflect.Descriptor instead.
func (*AppUrlCreateReq) GetAppUrlInfo ¶ added in v0.1.7
func (x *AppUrlCreateReq) GetAppUrlInfo() *AppUrlInfo
func (*AppUrlCreateReq) ProtoMessage ¶ added in v0.1.7
func (*AppUrlCreateReq) ProtoMessage()
func (*AppUrlCreateReq) ProtoReflect ¶ added in v0.1.7
func (x *AppUrlCreateReq) ProtoReflect() protoreflect.Message
func (*AppUrlCreateReq) Reset ¶ added in v0.1.7
func (x *AppUrlCreateReq) Reset()
func (*AppUrlCreateReq) String ¶ added in v0.1.7
func (x *AppUrlCreateReq) String() string
type AppUrlDeleteReq ¶ added in v0.1.7
type AppUrlDeleteReq struct {
UrlId string `protobuf:"bytes,1,opt,name=urlId,proto3" json:"urlId,omitempty"`
// contains filtered or unexported fields
}
func (*AppUrlDeleteReq) Descriptor
deprecated
added in
v0.1.7
func (*AppUrlDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use AppUrlDeleteReq.ProtoReflect.Descriptor instead.
func (*AppUrlDeleteReq) GetUrlId ¶ added in v0.1.7
func (x *AppUrlDeleteReq) GetUrlId() string
func (*AppUrlDeleteReq) ProtoMessage ¶ added in v0.1.7
func (*AppUrlDeleteReq) ProtoMessage()
func (*AppUrlDeleteReq) ProtoReflect ¶ added in v0.1.7
func (x *AppUrlDeleteReq) ProtoReflect() protoreflect.Message
func (*AppUrlDeleteReq) Reset ¶ added in v0.1.7
func (x *AppUrlDeleteReq) Reset()
func (*AppUrlDeleteReq) String ¶ added in v0.1.7
func (x *AppUrlDeleteReq) String() string
type AppUrlInfo ¶ added in v0.1.7
type AppUrlInfo struct {
UrlId string `protobuf:"bytes,1,opt,name=urlId,proto3" json:"urlId,omitempty"`
AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,3,opt,name=appType,proto3" json:"appType,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
ExpiredAt int64 `protobuf:"varint,6,opt,name=expiredAt,proto3" json:"expiredAt,omitempty"`
Copyright string `protobuf:"bytes,7,opt,name=copyright,proto3" json:"copyright,omitempty"`
CopyrightEnable bool `protobuf:"varint,8,opt,name=copyrightEnable,proto3" json:"copyrightEnable,omitempty"`
PrivacyPolicy string `protobuf:"bytes,9,opt,name=privacyPolicy,proto3" json:"privacyPolicy,omitempty"`
PrivacyPolicyEnable bool `protobuf:"varint,10,opt,name=privacyPolicyEnable,proto3" json:"privacyPolicyEnable,omitempty"`
Disclaimer string `protobuf:"bytes,11,opt,name=disclaimer,proto3" json:"disclaimer,omitempty"`
DisclaimerEnable bool `protobuf:"varint,12,opt,name=disclaimerEnable,proto3" json:"disclaimerEnable,omitempty"`
Suffix string `protobuf:"bytes,13,opt,name=suffix,proto3" json:"suffix,omitempty"`
Status bool `protobuf:"varint,14,opt,name=status,proto3" json:"status,omitempty"`
UserId string `protobuf:"bytes,15,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,16,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*AppUrlInfo) Descriptor
deprecated
added in
v0.1.7
func (*AppUrlInfo) Descriptor() ([]byte, []int)
Deprecated: Use AppUrlInfo.ProtoReflect.Descriptor instead.
func (*AppUrlInfo) GetAppId ¶ added in v0.1.7
func (x *AppUrlInfo) GetAppId() string
func (*AppUrlInfo) GetAppType ¶ added in v0.1.7
func (x *AppUrlInfo) GetAppType() string
func (*AppUrlInfo) GetCopyright ¶ added in v0.1.7
func (x *AppUrlInfo) GetCopyright() string
func (*AppUrlInfo) GetCopyrightEnable ¶ added in v0.1.7
func (x *AppUrlInfo) GetCopyrightEnable() bool
func (*AppUrlInfo) GetCreatedAt ¶ added in v0.1.7
func (x *AppUrlInfo) GetCreatedAt() int64
func (*AppUrlInfo) GetDisclaimer ¶ added in v0.1.7
func (x *AppUrlInfo) GetDisclaimer() string
func (*AppUrlInfo) GetDisclaimerEnable ¶ added in v0.1.7
func (x *AppUrlInfo) GetDisclaimerEnable() bool
func (*AppUrlInfo) GetExpiredAt ¶ added in v0.1.7
func (x *AppUrlInfo) GetExpiredAt() int64
func (*AppUrlInfo) GetName ¶ added in v0.1.7
func (x *AppUrlInfo) GetName() string
func (*AppUrlInfo) GetOrgId ¶ added in v0.1.7
func (x *AppUrlInfo) GetOrgId() string
func (*AppUrlInfo) GetPrivacyPolicy ¶ added in v0.1.7
func (x *AppUrlInfo) GetPrivacyPolicy() string
func (*AppUrlInfo) GetPrivacyPolicyEnable ¶ added in v0.1.7
func (x *AppUrlInfo) GetPrivacyPolicyEnable() bool
func (*AppUrlInfo) GetStatus ¶ added in v0.1.7
func (x *AppUrlInfo) GetStatus() bool
func (*AppUrlInfo) GetSuffix ¶ added in v0.1.7
func (x *AppUrlInfo) GetSuffix() string
func (*AppUrlInfo) GetUrlId ¶ added in v0.1.7
func (x *AppUrlInfo) GetUrlId() string
func (*AppUrlInfo) GetUserId ¶ added in v0.1.7
func (x *AppUrlInfo) GetUserId() string
func (*AppUrlInfo) ProtoMessage ¶ added in v0.1.7
func (*AppUrlInfo) ProtoMessage()
func (*AppUrlInfo) ProtoReflect ¶ added in v0.1.7
func (x *AppUrlInfo) ProtoReflect() protoreflect.Message
func (*AppUrlInfo) Reset ¶ added in v0.1.7
func (x *AppUrlInfo) Reset()
func (*AppUrlInfo) String ¶ added in v0.1.7
func (x *AppUrlInfo) String() string
type AppUrlStatusSwitchReq ¶ added in v0.1.7
type AppUrlStatusSwitchReq struct {
UrlId string `protobuf:"bytes,1,opt,name=urlId,proto3" json:"urlId,omitempty"`
Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*AppUrlStatusSwitchReq) Descriptor
deprecated
added in
v0.1.7
func (*AppUrlStatusSwitchReq) Descriptor() ([]byte, []int)
Deprecated: Use AppUrlStatusSwitchReq.ProtoReflect.Descriptor instead.
func (*AppUrlStatusSwitchReq) GetStatus ¶ added in v0.1.7
func (x *AppUrlStatusSwitchReq) GetStatus() bool
func (*AppUrlStatusSwitchReq) GetUrlId ¶ added in v0.1.7
func (x *AppUrlStatusSwitchReq) GetUrlId() string
func (*AppUrlStatusSwitchReq) ProtoMessage ¶ added in v0.1.7
func (*AppUrlStatusSwitchReq) ProtoMessage()
func (*AppUrlStatusSwitchReq) ProtoReflect ¶ added in v0.1.7
func (x *AppUrlStatusSwitchReq) ProtoReflect() protoreflect.Message
func (*AppUrlStatusSwitchReq) Reset ¶ added in v0.1.7
func (x *AppUrlStatusSwitchReq) Reset()
func (*AppUrlStatusSwitchReq) String ¶ added in v0.1.7
func (x *AppUrlStatusSwitchReq) String() string
type AppUrlUpdateReq ¶ added in v0.1.7
type AppUrlUpdateReq struct {
AppUrlInfo *AppUrlInfo `protobuf:"bytes,1,opt,name=appUrlInfo,proto3" json:"appUrlInfo,omitempty"`
// contains filtered or unexported fields
}
func (*AppUrlUpdateReq) Descriptor
deprecated
added in
v0.1.7
func (*AppUrlUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use AppUrlUpdateReq.ProtoReflect.Descriptor instead.
func (*AppUrlUpdateReq) GetAppUrlInfo ¶ added in v0.1.7
func (x *AppUrlUpdateReq) GetAppUrlInfo() *AppUrlInfo
func (*AppUrlUpdateReq) ProtoMessage ¶ added in v0.1.7
func (*AppUrlUpdateReq) ProtoMessage()
func (*AppUrlUpdateReq) ProtoReflect ¶ added in v0.1.7
func (x *AppUrlUpdateReq) ProtoReflect() protoreflect.Message
func (*AppUrlUpdateReq) Reset ¶ added in v0.1.7
func (x *AppUrlUpdateReq) Reset()
func (*AppUrlUpdateReq) String ¶ added in v0.1.7
func (x *AppUrlUpdateReq) String() string
type ChangeExplorationAppFavoriteReq ¶
type ChangeExplorationAppFavoriteReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
IsFavorite bool `protobuf:"varint,3,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,5,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*ChangeExplorationAppFavoriteReq) Descriptor
deprecated
func (*ChangeExplorationAppFavoriteReq) Descriptor() ([]byte, []int)
Deprecated: Use ChangeExplorationAppFavoriteReq.ProtoReflect.Descriptor instead.
func (*ChangeExplorationAppFavoriteReq) GetAppId ¶
func (x *ChangeExplorationAppFavoriteReq) GetAppId() string
func (*ChangeExplorationAppFavoriteReq) GetAppType ¶
func (x *ChangeExplorationAppFavoriteReq) GetAppType() string
func (*ChangeExplorationAppFavoriteReq) GetIsFavorite ¶
func (x *ChangeExplorationAppFavoriteReq) GetIsFavorite() bool
func (*ChangeExplorationAppFavoriteReq) GetOrgId ¶
func (x *ChangeExplorationAppFavoriteReq) GetOrgId() string
func (*ChangeExplorationAppFavoriteReq) GetUserId ¶
func (x *ChangeExplorationAppFavoriteReq) GetUserId() string
func (*ChangeExplorationAppFavoriteReq) ProtoMessage ¶
func (*ChangeExplorationAppFavoriteReq) ProtoMessage()
func (*ChangeExplorationAppFavoriteReq) ProtoReflect ¶
func (x *ChangeExplorationAppFavoriteReq) ProtoReflect() protoreflect.Message
func (*ChangeExplorationAppFavoriteReq) Reset ¶
func (x *ChangeExplorationAppFavoriteReq) Reset()
func (*ChangeExplorationAppFavoriteReq) String ¶
func (x *ChangeExplorationAppFavoriteReq) String() string
type DelApiKeyReq ¶
type DelApiKeyReq struct {
ApiId string `protobuf:"bytes,1,opt,name=apiId,proto3" json:"apiId,omitempty"`
// contains filtered or unexported fields
}
func (*DelApiKeyReq) Descriptor
deprecated
func (*DelApiKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use DelApiKeyReq.ProtoReflect.Descriptor instead.
func (*DelApiKeyReq) GetApiId ¶
func (x *DelApiKeyReq) GetApiId() string
func (*DelApiKeyReq) ProtoMessage ¶
func (*DelApiKeyReq) ProtoMessage()
func (*DelApiKeyReq) ProtoReflect ¶
func (x *DelApiKeyReq) ProtoReflect() protoreflect.Message
func (*DelApiKeyReq) Reset ¶
func (x *DelApiKeyReq) Reset()
func (*DelApiKeyReq) String ¶
func (x *DelApiKeyReq) String() string
type DeleteAppReq ¶
type DeleteAppReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAppReq) Descriptor
deprecated
func (*DeleteAppReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppReq.ProtoReflect.Descriptor instead.
func (*DeleteAppReq) GetAppId ¶
func (x *DeleteAppReq) GetAppId() string
func (*DeleteAppReq) GetAppType ¶
func (x *DeleteAppReq) GetAppType() string
func (*DeleteAppReq) ProtoMessage ¶
func (*DeleteAppReq) ProtoMessage()
func (*DeleteAppReq) ProtoReflect ¶
func (x *DeleteAppReq) ProtoReflect() protoreflect.Message
func (*DeleteAppReq) Reset ¶
func (x *DeleteAppReq) Reset()
func (*DeleteAppReq) String ¶
func (x *DeleteAppReq) String() string
type ExplorationAppInfo ¶
type ExplorationAppInfo struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt int64 `protobuf:"varint,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
IsFavorite bool `protobuf:"varint,5,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"`
PublishType string `protobuf:"bytes,6,opt,name=publishType,proto3" json:"publishType,omitempty"`
UserId string `protobuf:"bytes,7,opt,name=userId,proto3" json:"userId,omitempty"`
// contains filtered or unexported fields
}
func (*ExplorationAppInfo) Descriptor
deprecated
func (*ExplorationAppInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExplorationAppInfo.ProtoReflect.Descriptor instead.
func (*ExplorationAppInfo) GetAppId ¶
func (x *ExplorationAppInfo) GetAppId() string
func (*ExplorationAppInfo) GetAppType ¶
func (x *ExplorationAppInfo) GetAppType() string
func (*ExplorationAppInfo) GetCreatedAt ¶
func (x *ExplorationAppInfo) GetCreatedAt() int64
func (*ExplorationAppInfo) GetIsFavorite ¶
func (x *ExplorationAppInfo) GetIsFavorite() bool
func (*ExplorationAppInfo) GetPublishType ¶
func (x *ExplorationAppInfo) GetPublishType() string
func (*ExplorationAppInfo) GetUpdatedAt ¶
func (x *ExplorationAppInfo) GetUpdatedAt() int64
func (*ExplorationAppInfo) GetUserId ¶ added in v0.2.1
func (x *ExplorationAppInfo) GetUserId() string
func (*ExplorationAppInfo) ProtoMessage ¶
func (*ExplorationAppInfo) ProtoMessage()
func (*ExplorationAppInfo) ProtoReflect ¶
func (x *ExplorationAppInfo) ProtoReflect() protoreflect.Message
func (*ExplorationAppInfo) Reset ¶
func (x *ExplorationAppInfo) Reset()
func (*ExplorationAppInfo) String ¶
func (x *ExplorationAppInfo) String() string
type ExplorationAppList ¶
type ExplorationAppList struct {
Infos []*ExplorationAppInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ExplorationAppList) Descriptor
deprecated
func (*ExplorationAppList) Descriptor() ([]byte, []int)
Deprecated: Use ExplorationAppList.ProtoReflect.Descriptor instead.
func (*ExplorationAppList) GetInfos ¶
func (x *ExplorationAppList) GetInfos() []*ExplorationAppInfo
func (*ExplorationAppList) GetTotal ¶
func (x *ExplorationAppList) GetTotal() int64
func (*ExplorationAppList) ProtoMessage ¶
func (*ExplorationAppList) ProtoMessage()
func (*ExplorationAppList) ProtoReflect ¶
func (x *ExplorationAppList) ProtoReflect() protoreflect.Message
func (*ExplorationAppList) Reset ¶
func (x *ExplorationAppList) Reset()
func (*ExplorationAppList) String ¶
func (x *ExplorationAppList) String() string
type GenApiKeyReq ¶
type GenApiKeyReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,4,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*GenApiKeyReq) Descriptor
deprecated
func (*GenApiKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use GenApiKeyReq.ProtoReflect.Descriptor instead.
func (*GenApiKeyReq) GetAppId ¶
func (x *GenApiKeyReq) GetAppId() string
func (*GenApiKeyReq) GetAppType ¶
func (x *GenApiKeyReq) GetAppType() string
func (*GenApiKeyReq) GetOrgId ¶
func (x *GenApiKeyReq) GetOrgId() string
func (*GenApiKeyReq) GetUserId ¶
func (x *GenApiKeyReq) GetUserId() string
func (*GenApiKeyReq) ProtoMessage ¶
func (*GenApiKeyReq) ProtoMessage()
func (*GenApiKeyReq) ProtoReflect ¶
func (x *GenApiKeyReq) ProtoReflect() protoreflect.Message
func (*GenApiKeyReq) Reset ¶
func (x *GenApiKeyReq) Reset()
func (*GenApiKeyReq) String ¶
func (x *GenApiKeyReq) String() string
type GetApiKeyByKeyReq ¶
type GetApiKeyByKeyReq struct {
ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
// contains filtered or unexported fields
}
func (*GetApiKeyByKeyReq) Descriptor
deprecated
func (*GetApiKeyByKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use GetApiKeyByKeyReq.ProtoReflect.Descriptor instead.
func (*GetApiKeyByKeyReq) GetApiKey ¶
func (x *GetApiKeyByKeyReq) GetApiKey() string
func (*GetApiKeyByKeyReq) ProtoMessage ¶
func (*GetApiKeyByKeyReq) ProtoMessage()
func (*GetApiKeyByKeyReq) ProtoReflect ¶
func (x *GetApiKeyByKeyReq) ProtoReflect() protoreflect.Message
func (*GetApiKeyByKeyReq) Reset ¶
func (x *GetApiKeyByKeyReq) Reset()
func (*GetApiKeyByKeyReq) String ¶
func (x *GetApiKeyByKeyReq) String() string
type GetApiKeyListReq ¶
type GetApiKeyListReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,4,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*GetApiKeyListReq) Descriptor
deprecated
func (*GetApiKeyListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetApiKeyListReq.ProtoReflect.Descriptor instead.
func (*GetApiKeyListReq) GetAppId ¶
func (x *GetApiKeyListReq) GetAppId() string
func (*GetApiKeyListReq) GetAppType ¶
func (x *GetApiKeyListReq) GetAppType() string
func (*GetApiKeyListReq) GetOrgId ¶
func (x *GetApiKeyListReq) GetOrgId() string
func (*GetApiKeyListReq) GetUserId ¶
func (x *GetApiKeyListReq) GetUserId() string
func (*GetApiKeyListReq) ProtoMessage ¶
func (*GetApiKeyListReq) ProtoMessage()
func (*GetApiKeyListReq) ProtoReflect ¶
func (x *GetApiKeyListReq) ProtoReflect() protoreflect.Message
func (*GetApiKeyListReq) Reset ¶
func (x *GetApiKeyListReq) Reset()
func (*GetApiKeyListReq) String ¶
func (x *GetApiKeyListReq) String() string
type GetAppListByIdsReq ¶
type GetAppListByIdsReq struct {
AppIdsList []string `protobuf:"bytes,1,rep,name=appIdsList,proto3" json:"appIdsList,omitempty"`
// contains filtered or unexported fields
}
func (*GetAppListByIdsReq) Descriptor
deprecated
func (*GetAppListByIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAppListByIdsReq.ProtoReflect.Descriptor instead.
func (*GetAppListByIdsReq) GetAppIdsList ¶
func (x *GetAppListByIdsReq) GetAppIdsList() []string
func (*GetAppListByIdsReq) ProtoMessage ¶
func (*GetAppListByIdsReq) ProtoMessage()
func (*GetAppListByIdsReq) ProtoReflect ¶
func (x *GetAppListByIdsReq) ProtoReflect() protoreflect.Message
func (*GetAppListByIdsReq) Reset ¶
func (x *GetAppListByIdsReq) Reset()
func (*GetAppListByIdsReq) String ¶
func (x *GetAppListByIdsReq) String() string
type GetAppListReq ¶
type GetAppListReq struct {
AppType string `protobuf:"bytes,1,opt,name=appType,proto3" json:"appType,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,3,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*GetAppListReq) Descriptor
deprecated
func (*GetAppListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAppListReq.ProtoReflect.Descriptor instead.
func (*GetAppListReq) GetAppType ¶
func (x *GetAppListReq) GetAppType() string
func (*GetAppListReq) GetOrgId ¶
func (x *GetAppListReq) GetOrgId() string
func (*GetAppListReq) GetUserId ¶
func (x *GetAppListReq) GetUserId() string
func (*GetAppListReq) ProtoMessage ¶
func (*GetAppListReq) ProtoMessage()
func (*GetAppListReq) ProtoReflect ¶
func (x *GetAppListReq) ProtoReflect() protoreflect.Message
func (*GetAppListReq) Reset ¶
func (x *GetAppListReq) Reset()
func (*GetAppListReq) String ¶
func (x *GetAppListReq) String() string
type GetAppUrlInfoBySuffixReq ¶ added in v0.1.7
type GetAppUrlInfoBySuffixReq struct {
Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"`
// contains filtered or unexported fields
}
func (*GetAppUrlInfoBySuffixReq) Descriptor
deprecated
added in
v0.1.7
func (*GetAppUrlInfoBySuffixReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAppUrlInfoBySuffixReq.ProtoReflect.Descriptor instead.
func (*GetAppUrlInfoBySuffixReq) GetSuffix ¶ added in v0.1.7
func (x *GetAppUrlInfoBySuffixReq) GetSuffix() string
func (*GetAppUrlInfoBySuffixReq) ProtoMessage ¶ added in v0.1.7
func (*GetAppUrlInfoBySuffixReq) ProtoMessage()
func (*GetAppUrlInfoBySuffixReq) ProtoReflect ¶ added in v0.1.7
func (x *GetAppUrlInfoBySuffixReq) ProtoReflect() protoreflect.Message
func (*GetAppUrlInfoBySuffixReq) Reset ¶ added in v0.1.7
func (x *GetAppUrlInfoBySuffixReq) Reset()
func (*GetAppUrlInfoBySuffixReq) String ¶ added in v0.1.7
func (x *GetAppUrlInfoBySuffixReq) String() string
type GetAppUrlListReq ¶ added in v0.1.7
type GetAppUrlListReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
// contains filtered or unexported fields
}
func (*GetAppUrlListReq) Descriptor
deprecated
added in
v0.1.7
func (*GetAppUrlListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAppUrlListReq.ProtoReflect.Descriptor instead.
func (*GetAppUrlListReq) GetAppId ¶ added in v0.1.7
func (x *GetAppUrlListReq) GetAppId() string
func (*GetAppUrlListReq) GetAppType ¶ added in v0.1.7
func (x *GetAppUrlListReq) GetAppType() string
func (*GetAppUrlListReq) ProtoMessage ¶ added in v0.1.7
func (*GetAppUrlListReq) ProtoMessage()
func (*GetAppUrlListReq) ProtoReflect ¶ added in v0.1.7
func (x *GetAppUrlListReq) ProtoReflect() protoreflect.Message
func (*GetAppUrlListReq) Reset ¶ added in v0.1.7
func (x *GetAppUrlListReq) Reset()
func (*GetAppUrlListReq) String ¶ added in v0.1.7
func (x *GetAppUrlListReq) String() string
type GetAppUrlListResp ¶ added in v0.1.7
type GetAppUrlListResp struct {
AppUrlInfos []*AppUrlInfo `protobuf:"bytes,1,rep,name=appUrlInfos,proto3" json:"appUrlInfos,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*GetAppUrlListResp) Descriptor
deprecated
added in
v0.1.7
func (*GetAppUrlListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetAppUrlListResp.ProtoReflect.Descriptor instead.
func (*GetAppUrlListResp) GetAppUrlInfos ¶ added in v0.1.7
func (x *GetAppUrlListResp) GetAppUrlInfos() []*AppUrlInfo
func (*GetAppUrlListResp) GetTotal ¶ added in v0.1.7
func (x *GetAppUrlListResp) GetTotal() int64
func (*GetAppUrlListResp) ProtoMessage ¶ added in v0.1.7
func (*GetAppUrlListResp) ProtoMessage()
func (*GetAppUrlListResp) ProtoReflect ¶ added in v0.1.7
func (x *GetAppUrlListResp) ProtoReflect() protoreflect.Message
func (*GetAppUrlListResp) Reset ¶ added in v0.1.7
func (x *GetAppUrlListResp) Reset()
func (*GetAppUrlListResp) String ¶ added in v0.1.7
func (x *GetAppUrlListResp) String() string
type GetExplorationAppListReq ¶
type GetExplorationAppListReq struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
SearchType string `protobuf:"bytes,3,opt,name=searchType,proto3" json:"searchType,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
// contains filtered or unexported fields
}
func (*GetExplorationAppListReq) Descriptor
deprecated
func (*GetExplorationAppListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetExplorationAppListReq.ProtoReflect.Descriptor instead.
func (*GetExplorationAppListReq) GetAppType ¶
func (x *GetExplorationAppListReq) GetAppType() string
func (*GetExplorationAppListReq) GetName ¶
func (x *GetExplorationAppListReq) GetName() string
func (*GetExplorationAppListReq) GetSearchType ¶
func (x *GetExplorationAppListReq) GetSearchType() string
func (*GetExplorationAppListReq) GetUserId ¶
func (x *GetExplorationAppListReq) GetUserId() string
func (*GetExplorationAppListReq) ProtoMessage ¶
func (*GetExplorationAppListReq) ProtoMessage()
func (*GetExplorationAppListReq) ProtoReflect ¶
func (x *GetExplorationAppListReq) ProtoReflect() protoreflect.Message
func (*GetExplorationAppListReq) Reset ¶
func (x *GetExplorationAppListReq) Reset()
func (*GetExplorationAppListReq) String ¶
func (x *GetExplorationAppListReq) String() string
type PublishAppReq ¶
type PublishAppReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
PublishType string `protobuf:"bytes,3,opt,name=publishType,proto3" json:"publishType,omitempty"`
UserId string `protobuf:"bytes,4,opt,name=userId,proto3" json:"userId,omitempty"`
OrgId string `protobuf:"bytes,5,opt,name=orgId,proto3" json:"orgId,omitempty"`
// contains filtered or unexported fields
}
func (*PublishAppReq) Descriptor
deprecated
func (*PublishAppReq) Descriptor() ([]byte, []int)
Deprecated: Use PublishAppReq.ProtoReflect.Descriptor instead.
func (*PublishAppReq) GetAppId ¶
func (x *PublishAppReq) GetAppId() string
func (*PublishAppReq) GetAppType ¶
func (x *PublishAppReq) GetAppType() string
func (*PublishAppReq) GetOrgId ¶
func (x *PublishAppReq) GetOrgId() string
func (*PublishAppReq) GetPublishType ¶
func (x *PublishAppReq) GetPublishType() string
func (*PublishAppReq) GetUserId ¶
func (x *PublishAppReq) GetUserId() string
func (*PublishAppReq) ProtoMessage ¶
func (*PublishAppReq) ProtoMessage()
func (*PublishAppReq) ProtoReflect ¶
func (x *PublishAppReq) ProtoReflect() protoreflect.Message
func (*PublishAppReq) Reset ¶
func (x *PublishAppReq) Reset()
func (*PublishAppReq) String ¶
func (x *PublishAppReq) String() string
type RecordAppHistoryReq ¶
type RecordAppHistoryReq struct {
UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,3,opt,name=appType,proto3" json:"appType,omitempty"`
// contains filtered or unexported fields
}
func (*RecordAppHistoryReq) Descriptor
deprecated
func (*RecordAppHistoryReq) Descriptor() ([]byte, []int)
Deprecated: Use RecordAppHistoryReq.ProtoReflect.Descriptor instead.
func (*RecordAppHistoryReq) GetAppId ¶
func (x *RecordAppHistoryReq) GetAppId() string
func (*RecordAppHistoryReq) GetAppType ¶
func (x *RecordAppHistoryReq) GetAppType() string
func (*RecordAppHistoryReq) GetUserId ¶
func (x *RecordAppHistoryReq) GetUserId() string
func (*RecordAppHistoryReq) ProtoMessage ¶
func (*RecordAppHistoryReq) ProtoMessage()
func (*RecordAppHistoryReq) ProtoReflect ¶
func (x *RecordAppHistoryReq) ProtoReflect() protoreflect.Message
func (*RecordAppHistoryReq) Reset ¶
func (x *RecordAppHistoryReq) Reset()
func (*RecordAppHistoryReq) String ¶
func (x *RecordAppHistoryReq) String() string
type UnPublishAppReq ¶ added in v0.1.3
type UnPublishAppReq struct {
AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
AppType string `protobuf:"bytes,2,opt,name=appType,proto3" json:"appType,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
// contains filtered or unexported fields
}
func (*UnPublishAppReq) Descriptor
deprecated
added in
v0.1.3
func (*UnPublishAppReq) Descriptor() ([]byte, []int)
Deprecated: Use UnPublishAppReq.ProtoReflect.Descriptor instead.
func (*UnPublishAppReq) GetAppId ¶ added in v0.1.3
func (x *UnPublishAppReq) GetAppId() string
func (*UnPublishAppReq) GetAppType ¶ added in v0.1.3
func (x *UnPublishAppReq) GetAppType() string
func (*UnPublishAppReq) GetUserId ¶ added in v0.1.3
func (x *UnPublishAppReq) GetUserId() string
func (*UnPublishAppReq) ProtoMessage ¶ added in v0.1.3
func (*UnPublishAppReq) ProtoMessage()
func (*UnPublishAppReq) ProtoReflect ¶ added in v0.1.3
func (x *UnPublishAppReq) ProtoReflect() protoreflect.Message
func (*UnPublishAppReq) Reset ¶ added in v0.1.3
func (x *UnPublishAppReq) Reset()
func (*UnPublishAppReq) String ¶ added in v0.1.3
func (x *UnPublishAppReq) String() string
type UnimplementedAppServiceServer ¶
type UnimplementedAppServiceServer struct{}
UnimplementedAppServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAppServiceServer) AppUrlCreate ¶ added in v0.1.7
func (UnimplementedAppServiceServer) AppUrlCreate(context.Context, *AppUrlCreateReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) AppUrlDelete ¶ added in v0.1.7
func (UnimplementedAppServiceServer) AppUrlDelete(context.Context, *AppUrlDeleteReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) AppUrlStatusSwitch ¶ added in v0.1.7
func (UnimplementedAppServiceServer) AppUrlStatusSwitch(context.Context, *AppUrlStatusSwitchReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) AppUrlUpdate ¶ added in v0.1.7
func (UnimplementedAppServiceServer) AppUrlUpdate(context.Context, *AppUrlUpdateReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) ChangeExplorationAppFavorite ¶
func (UnimplementedAppServiceServer) ChangeExplorationAppFavorite(context.Context, *ChangeExplorationAppFavoriteReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) DelApiKey ¶
func (UnimplementedAppServiceServer) DelApiKey(context.Context, *DelApiKeyReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) DeleteApp ¶
func (UnimplementedAppServiceServer) DeleteApp(context.Context, *DeleteAppReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) GenApiKey ¶
func (UnimplementedAppServiceServer) GenApiKey(context.Context, *GenApiKeyReq) (*ApiKeyInfo, error)
func (UnimplementedAppServiceServer) GetApiKeyByKey ¶
func (UnimplementedAppServiceServer) GetApiKeyByKey(context.Context, *GetApiKeyByKeyReq) (*ApiKeyInfo, error)
func (UnimplementedAppServiceServer) GetApiKeyList ¶
func (UnimplementedAppServiceServer) GetApiKeyList(context.Context, *GetApiKeyListReq) (*ApiKeyInfoList, error)
func (UnimplementedAppServiceServer) GetAppList ¶
func (UnimplementedAppServiceServer) GetAppList(context.Context, *GetAppListReq) (*AppList, error)
func (UnimplementedAppServiceServer) GetAppListByIds ¶
func (UnimplementedAppServiceServer) GetAppListByIds(context.Context, *GetAppListByIdsReq) (*AppList, error)
func (UnimplementedAppServiceServer) GetAppUrlInfoBySuffix ¶ added in v0.1.7
func (UnimplementedAppServiceServer) GetAppUrlInfoBySuffix(context.Context, *GetAppUrlInfoBySuffixReq) (*AppUrlInfo, error)
func (UnimplementedAppServiceServer) GetAppUrlList ¶ added in v0.1.7
func (UnimplementedAppServiceServer) GetAppUrlList(context.Context, *GetAppUrlListReq) (*GetAppUrlListResp, error)
func (UnimplementedAppServiceServer) GetExplorationAppList ¶
func (UnimplementedAppServiceServer) GetExplorationAppList(context.Context, *GetExplorationAppListReq) (*ExplorationAppList, error)
func (UnimplementedAppServiceServer) PublishApp ¶
func (UnimplementedAppServiceServer) PublishApp(context.Context, *PublishAppReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) RecordAppHistory ¶
func (UnimplementedAppServiceServer) RecordAppHistory(context.Context, *RecordAppHistoryReq) (*emptypb.Empty, error)
func (UnimplementedAppServiceServer) UnPublishApp ¶ added in v0.1.3
func (UnimplementedAppServiceServer) UnPublishApp(context.Context, *UnPublishAppReq) (*emptypb.Empty, 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.