Documentation ¶
Index ¶
- type Application
- func (a *Application) AddVideo2Collection(ctx context.Context, request *v1.AddVideo2CollectionRequest) (*v1.AddVideo2CollectionResponse, error)
- func (a *Application) CreateCollection(ctx context.Context, request *v1.CreateCollectionRequest) (*v1.CreateCollectionResponse, error)
- func (a *Application) GetCollectionById(ctx context.Context, request *v1.GetCollectionByIdRequest) (*v1.GetCollectionByIdResponse, error)
- func (a *Application) IsCollected(ctx context.Context, request *v1.IsCollectedRequest) (*v1.IsCollectedResponse, error)
- func (a *Application) ListCollection(ctx context.Context, request *v1.ListCollectionRequest) (*v1.ListCollectionResponse, error)
- func (a *Application) ListCollectionVideo(ctx context.Context, request *v1.ListCollectionVideoRequest) (*v1.ListCollectionVideoResponse, error)
- func (a *Application) RemoveCollection(ctx context.Context, request *v1.RemoveCollectionRequest) (*v1.RemoveCollectionResponse, error)
- func (a *Application) RemoveVideoFromCollection(ctx context.Context, request *v1.RemoveVideoFromCollectionRequest) (*v1.RemoveVideoFromCollectionResponse, error)
- func (a *Application) UpdateCollection(ctx context.Context, request *v1.UpdateCollectionRequest) (*v1.UpdateCollectionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { v1.UnimplementedCollectionServiceServer // contains filtered or unexported fields }
func New ¶
func New(collection collectionserviceiface.CollectionService) *Application
func (*Application) AddVideo2Collection ¶
func (a *Application) AddVideo2Collection(ctx context.Context, request *v1.AddVideo2CollectionRequest) (*v1.AddVideo2CollectionResponse, error)
func (*Application) CreateCollection ¶
func (a *Application) CreateCollection(ctx context.Context, request *v1.CreateCollectionRequest) (*v1.CreateCollectionResponse, error)
func (*Application) GetCollectionById ¶
func (a *Application) GetCollectionById(ctx context.Context, request *v1.GetCollectionByIdRequest) (*v1.GetCollectionByIdResponse, error)
func (*Application) IsCollected ¶ added in v0.1.6
func (a *Application) IsCollected(ctx context.Context, request *v1.IsCollectedRequest) (*v1.IsCollectedResponse, error)
func (*Application) ListCollection ¶
func (a *Application) ListCollection(ctx context.Context, request *v1.ListCollectionRequest) (*v1.ListCollectionResponse, error)
func (*Application) ListCollectionVideo ¶
func (a *Application) ListCollectionVideo(ctx context.Context, request *v1.ListCollectionVideoRequest) (*v1.ListCollectionVideoResponse, error)
func (*Application) RemoveCollection ¶
func (a *Application) RemoveCollection(ctx context.Context, request *v1.RemoveCollectionRequest) (*v1.RemoveCollectionResponse, error)
func (*Application) RemoveVideoFromCollection ¶
func (a *Application) RemoveVideoFromCollection(ctx context.Context, request *v1.RemoveVideoFromCollectionRequest) (*v1.RemoveVideoFromCollectionResponse, error)
func (*Application) UpdateCollection ¶
func (a *Application) UpdateCollection(ctx context.Context, request *v1.UpdateCollectionRequest) (*v1.UpdateCollectionResponse, error)
Click to show internal directories.
Click to hide internal directories.