Documentation ¶
Index ¶
- type Service
- func (s Service) AddAudio(author, title string) (model.Audio, error)
- func (s Service) DeleteAudioByID(id string) error
- func (s Service) GetAllAudio() ([]model.Audio, error)
- func (s Service) GetAudioByID(id string) (model.Audio, error)
- func (s Service) GetAudioByKey(key string) ([]model.Audio, error)
- func (s Service) SignUp(email, name, password string) error
- func (s Service) UpdateAudioByID(id string, author, title string) (model.Audio, error)
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 New ¶
func New(r repository.Repository) Service
func (Service) DeleteAudioByID ¶
Click to show internal directories.
Click to hide internal directories.