Documentation ¶
Index ¶
- type Application
- func (a *Application) AddVideo2Collection(ctx context.Context, request *svapi.AddVideo2CollectionRequest) (*svapi.AddVideo2CollectionResponse, error)
- func (a *Application) CreateCollection(ctx context.Context, request *svapi.CreateCollectionRequest) (*svapi.CreateCollectionResponse, error)
- func (a *Application) ListCollection(ctx context.Context, request *svapi.ListCollectionRequest) (*svapi.ListCollectionResponse, error)
- func (a *Application) ListVideo4Collection(ctx context.Context, request *svapi.ListVideo4CollectionRequest) (*svapi.ListVideo4CollectionResponse, error)
- func (a *Application) RemoveCollection(ctx context.Context, request *svapi.RemoveCollectionRequest) (*svapi.RemoveCollectionResponse, error)
- func (a *Application) RemoveVideoFromCollection(ctx context.Context, request *svapi.RemoveVideoFromCollectionRequest) (*svapi.RemoveVideoFromCollectionResponse, error)
- func (a *Application) UpdateCollection(ctx context.Context, request *svapi.UpdateCollectionRequest) (*svapi.UpdateCollectionResponse, 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) AddVideo2Collection ¶
func (a *Application) AddVideo2Collection(ctx context.Context, request *svapi.AddVideo2CollectionRequest) (*svapi.AddVideo2CollectionResponse, error)
func (*Application) CreateCollection ¶
func (a *Application) CreateCollection(ctx context.Context, request *svapi.CreateCollectionRequest) (*svapi.CreateCollectionResponse, error)
func (*Application) ListCollection ¶
func (a *Application) ListCollection(ctx context.Context, request *svapi.ListCollectionRequest) (*svapi.ListCollectionResponse, error)
func (*Application) ListVideo4Collection ¶
func (a *Application) ListVideo4Collection(ctx context.Context, request *svapi.ListVideo4CollectionRequest) (*svapi.ListVideo4CollectionResponse, error)
func (*Application) RemoveCollection ¶
func (a *Application) RemoveCollection(ctx context.Context, request *svapi.RemoveCollectionRequest) (*svapi.RemoveCollectionResponse, error)
func (*Application) RemoveVideoFromCollection ¶
func (a *Application) RemoveVideoFromCollection(ctx context.Context, request *svapi.RemoveVideoFromCollectionRequest) (*svapi.RemoveVideoFromCollectionResponse, error)
func (*Application) UpdateCollection ¶
func (a *Application) UpdateCollection(ctx context.Context, request *svapi.UpdateCollectionRequest) (*svapi.UpdateCollectionResponse, error)
Click to show internal directories.
Click to hide internal directories.