service

package
v0.0.0-...-5d1ecd3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: MIT Imports: 2 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 New

func (Service) AddAudio

func (s Service) AddAudio(author, title string) (model.Audio, error)

func (Service) DeleteAudioByID

func (s Service) DeleteAudioByID(id string) error

func (Service) GetAllAudio

func (s Service) GetAllAudio() ([]model.Audio, error)

func (Service) GetAudioByID

func (s Service) GetAudioByID(id string) (model.Audio, error)

func (Service) GetAudioByKey

func (s Service) GetAudioByKey(key string) ([]model.Audio, error)

func (Service) SignUp

func (s Service) SignUp(email, name, password string) error

func (Service) UpdateAudioByID

func (s Service) UpdateAudioByID(id string, author, title string) (model.Audio, error)

Jump to

Keyboard shortcuts

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