controller

package
v0.0.0-...-0494513 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	v1.UnsafeAppServiceServer
	// contains filtered or unexported fields
}

Controller represents struct that implements ProfileServiceServer.

func New

func New(svc *service.Service) Controller

func (Controller) AddAppPermission

func (Controller) AddAppScore

func (Controller) AddAppSubscription

func (Controller) AddAppTag

func (Controller) CreateApp

func (Controller) CreateAppReview

func (c Controller) CreateAppReview(
	ctx context.Context,
	req *v1.CreateAppReviewRequest,
) (*v1.CreateAppReviewResponse, error)

func (Controller) DeleteApp

func (Controller) DeleteAppReview

func (c Controller) DeleteAppReview(
	ctx context.Context,
	req *v1.DeleteAppReviewRequest,
) (*v1.DeleteAppReviewResponse, error)

func (Controller) DeleteAppToken

func (c Controller) DeleteAppToken(
	ctx context.Context,
	request *v1.DeleteAppTokenRequest,
) (*v1.DeleteAppTokenResponse, error)

func (Controller) DisableApp

func (Controller) DownvoteAppReview

func (Controller) EnableApp

func (Controller) FeatureApp

func (c Controller) FeatureApp(
	ctx context.Context,
	req *v1.FeatureAppRequest,
) (*v1.FeatureAppResponse, error)

func (Controller) GenerateAppToken

func (c Controller) GenerateAppToken(
	ctx context.Context,
	request *v1.GenerateAppTokenRequest,
) (*v1.GenerateAppTokenResponse, error)

func (Controller) GenerateUserScopedAppToken

func (c Controller) GenerateUserScopedAppToken(
	ctx context.Context,
	request *v1.GenerateUserScopedAppTokenRequest,
) (*v1.GenerateUserScopedAppTokenResponse, error)

func (Controller) GetApp

func (c Controller) GetApp(ctx context.Context, req *v1.GetAppRequest) (*v1.GetAppResponse, error)

func (Controller) GetAppCounters

func (c Controller) GetAppCounters(
	ctx context.Context,
	req *v1.GetAppCountersRequest,
) (*v1.GetAppCountersResponse, error)

func (Controller) GetAppPermissions

func (Controller) GetAppReview

func (Controller) GetAppReviews

func (c Controller) GetAppReviews(
	ctx context.Context,
	req *v1.GetAppReviewsRequest,
) (*v1.GetAppReviewsResponse, error)

func (Controller) GetAppSubscriptions

func (Controller) GetAppTags

func (Controller) GetAppTokens

func (c Controller) GetAppTokens(
	ctx context.Context,
	request *v1.GetAppTokensRequest,
) (*v1.GetAppTokensResponse, error)

func (Controller) GetAppUserContext

func (c Controller) GetAppUserContext(
	ctx context.Context,
	req *v1.GetAppUserContextRequest,
) (_ *v1.GetAppUserContextResponse, err error)

func (Controller) GetApps

func (Controller) GetAppsEnabledByDefault

func (Controller) GetCircleApps

func (c Controller) GetCircleApps(
	ctx context.Context,
	req *v1.GetCircleAppsRequest,
) (*v1.GetCircleAppsResponse, error)

func (Controller) GetEnabledApps

func (c Controller) GetEnabledApps(ctx context.Context, req *v1.GetEnabledAppsRequest) (
	*v1.GetEnabledAppsResponse, error,
)

func (Controller) GetFeaturedApps

func (c Controller) GetFeaturedApps(
	ctx context.Context,
	req *v1.GetFeaturedAppsRequest,
) (*v1.GetFeaturedAppsResponse, error)

func (Controller) GetLastUsedApps

func (c Controller) GetLastUsedApps(
	ctx context.Context,
	req *v1.GetLastUsedAppsRequest,
) (*v1.GetLastUsedAppsResponse, error)

func (Controller) GetMyApps

func (Controller) GetPermissions

func (c Controller) GetPermissions(
	ctx context.Context,
	req *v1.GetPermissionsRequest,
) (*v1.GetPermissionsResponse, error)

func (Controller) GetSavedApps

func (Controller) GetSubscriptions

func (Controller) GetTags

func (Controller) GetTrendingApps

func (c Controller) GetTrendingApps(ctx context.Context, req *v1.GetTrendingAppsRequest) (
	*v1.GetTrendingAppsResponse, error,
)

func (Controller) IssueAppToken

func (c Controller) IssueAppToken(
	ctx context.Context,
	request *v1.IssueAppTokenRequest,
) (*v1.IssueAppTokenResponse, error)

func (Controller) MakeAppEnabledByDefault

func (Controller) Register

func (c Controller) Register(reg grpc.ServiceRegistrar)

func (Controller) RemoveAppPermission

func (Controller) RemoveAppSubscription

func (Controller) RemoveAppTag

func (Controller) RevokeAppToken

func (c Controller) RevokeAppToken(
	ctx context.Context,
	request *v1.RevokeAppTokenRequest,
) (*v1.RevokeAppTokenResponse, error)

func (Controller) SaveApp

func (Controller) SearchApps

func (Controller) UndownvoteAppReview

func (Controller) UnfeatureApp

func (c Controller) UnfeatureApp(
	ctx context.Context,
	req *v1.UnfeatureAppRequest,
) (*v1.UnfeatureAppResponse, error)

func (Controller) UnsaveApp

func (Controller) UnupvoteApp

func (Controller) UnupvoteAppReview

func (Controller) UpdateApp

func (Controller) UpvoteApp

func (Controller) UpvoteAppReview

func (c Controller) UpvoteAppReview(
	ctx context.Context,
	req *v1.UpvoteAppReviewRequest,
) (*v1.UpvoteAppReviewResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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