Documentation ¶
Index ¶
- type Application
- func (a *Application) AddFavorite(ctx context.Context, request *v1.AddFavoriteRequest) (*v1.AddFavoriteResponse, error)
- func (a *Application) CountFavorite(ctx context.Context, request *v1.CountFavoriteRequest) (*v1.CountFavoriteResponse, error)
- func (a *Application) IsFavorite(ctx context.Context, request *v1.IsFavoriteRequest) (*v1.IsFavoriteResponse, error)
- func (a *Application) ListFavorite(ctx context.Context, request *v1.ListFavoriteRequest) (*v1.ListFavoriteResponse, error)
- func (a *Application) RemoveFavorite(ctx context.Context, request *v1.RemoveFavoriteRequest) (*v1.RemoveFavoriteResponse, error)
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)
Click to show internal directories.
Click to hide internal directories.