Documentation ¶
Index ¶
- type Application
- func (a *Application) AddFavorite(ctx context.Context, request *svapi.AddFavoriteRequest) (*svapi.AddFavoriteResponse, error)
- func (a *Application) ListFavoriteVideo(ctx context.Context, request *svapi.ListFavoriteVideoRequest) (*svapi.ListFavoriteVideoResponse, error)
- func (a *Application) RemoveFavorite(ctx context.Context, request *svapi.RemoveFavoriteRequest) (*svapi.RemoveFavoriteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(core *svcoreadapter.Adapter, videoService videoserviceiface.VideoService) *Application
func (*Application) AddFavorite ¶
func (a *Application) AddFavorite(ctx context.Context, request *svapi.AddFavoriteRequest) (*svapi.AddFavoriteResponse, error)
func (*Application) ListFavoriteVideo ¶
func (a *Application) ListFavoriteVideo(ctx context.Context, request *svapi.ListFavoriteVideoRequest) (*svapi.ListFavoriteVideoResponse, error)
func (*Application) RemoveFavorite ¶
func (a *Application) RemoveFavorite(ctx context.Context, request *svapi.RemoveFavoriteRequest) (*svapi.RemoveFavoriteResponse, error)
Click to show internal directories.
Click to hide internal directories.