Documentation ¶
Index ¶
- func Close() error
- func Echo(c echo.Context, x ...Data) error
- func Find(d Data) error
- func FormImportFile(file *multipart.FileHeader) (string, error)
- func New(d Data) error
- func Remove(d Data) error
- func Start() error
- func Update(d Data, i interface{}) error
- type Data
- type Station
- type Stream
- type Track
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormImportFile ¶
func FormImportFile(file *multipart.FileHeader) (string, error)
FormImportFile imports file into a temporary folder and checks it.
Types ¶
type Data ¶
type Data interface { Create() error Delete() error Get() error Update(interface{}) error Echo(echo.Context) error }
Data is the interface.
func GetUserFromContext ¶
GetUserFromContext returns a user from a JWT token.
type Station ¶
Station info
type Stream ¶
Stream information
Click to show internal directories.
Click to hide internal directories.