favoriteapp

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	v1.UnimplementedFavoriteServiceServer
	// contains filtered or unexported fields
}

func New

func New(favoriteService favoriteserviceiface.FavoriteService) *Application

func (*Application) AddFavorite

func (a *Application) AddFavorite(ctx context.Context, request *v1.AddFavoriteRequest) (*v1.AddFavoriteResponse, error)

func (*Application) CountFavorite

func (a *Application) CountFavorite(ctx context.Context, request *v1.CountFavoriteRequest) (*v1.CountFavoriteResponse, error)

func (*Application) IsFavorite

func (a *Application) IsFavorite(ctx context.Context, request *v1.IsFavoriteRequest) (*v1.IsFavoriteResponse, error)

func (*Application) ListFavorite

func (a *Application) ListFavorite(ctx context.Context, request *v1.ListFavoriteRequest) (*v1.ListFavoriteResponse, error)

func (*Application) RemoveFavorite

func (a *Application) RemoveFavorite(ctx context.Context, request *v1.RemoveFavoriteRequest) (*v1.RemoveFavoriteResponse, error)

Jump to

Keyboard shortcuts

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