Documentation
¶
Index ¶
- func RegisterRoutes(e *echo.Echo, a *Api, cfg *config.Config)
- type Api
- func (a *Api) AddRole(c echo.Context) error
- func (a *Api) AddTrack(c echo.Context) error
- func (a *Api) AddUser(c echo.Context) error
- func (a *Api) AuthValid(c echo.Context) error
- func (a *Api) DeleteLibraryPath(c echo.Context) error
- func (a *Api) DeleteRoleByID(c echo.Context) error
- func (a *Api) DeleteTrack(c echo.Context) error
- func (a *Api) DeleteUser(c echo.Context) error
- func (a *Api) GetLibraryPathByID(c echo.Context) error
- func (a *Api) GetLibraryPaths(c echo.Context) error
- func (a *Api) GetRoleByID(c echo.Context) error
- func (a *Api) GetRoleByName(c echo.Context) error
- func (a *Api) GetTrackByID(c echo.Context) error
- func (a *Api) GetTracks(c echo.Context) error
- func (a *Api) GetUserByID(c echo.Context) error
- func (a *Api) GetUserByName(c echo.Context) error
- func (a *Api) GetUsers(c echo.Context) error
- func (a *Api) Login(c echo.Context) error
- func (a *Api) PutLibraryPath(c echo.Context) error
- func (a *Api) Setup(c echo.Context) error
- func (a *Api) UpdateRoleByID(c echo.Context) error
- func (a *Api) UpdateUserByID(c echo.Context) error
- func (a *Api) UpdateUserByName(c echo.Context) error
- type H
- type Responce
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Api ¶
func (*Api) DeleteLibraryPath ¶
GELETE /api/library/:id
func (*Api) DeleteRoleByID ¶
DELETE /api/role/:id
func (*Api) GetLibraryPathByID ¶
GET /api/library/id/:id
func (*Api) GetRoleByName ¶
GET /api/role/name/:name
func (*Api) GetUserByName ¶
GET /api/user/name/:name
func (*Api) UpdateRoleByID ¶
PUT /api/role/:id //can not create
func (*Api) UpdateUserByID ¶
PUT /api/user/id/:id
Click to show internal directories.
Click to hide internal directories.