playlist

package
v0.0.0-...-e840c4d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: AGPL-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 Service

type Service struct {
	// contains filtered or unexported fields
}

func InitializeService

func InitializeService() *Service

func NewService

func NewService(repository *playlist.Repository, collabsService *collab.Service) *Service

func (Service) Create

func (s Service) Create(playlist *playlist.Playlist) (string, *exception.InternalServerError)

func (Service) Delete

func (s Service) Delete(playlist *playlist.Playlist) *exception.InternalServerError

func (Service) FindAll

func (Service) VerifyPlaylistAccess

func (s Service) VerifyPlaylistAccess(playlistId string, userId string) (playlist.Playlist, any)

func (Service) VerifyPlaylistOwner

func (s Service) VerifyPlaylistOwner(playlistId string, userId string) (playlist.Playlist, any)

Jump to

Keyboard shortcuts

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