Documentation
¶
Index ¶
- func HomeHandler(w http.ResponseWriter, _ *http.Request)
- func MagicPathHandler(next http.Handler) http.Handler
- type Application
- func (a *Application) PostTaskHandler(w http.ResponseWriter, r *http.Request)
- func (a *Application) ReadmeHandler(w http.ResponseWriter, r *http.Request)
- func (a *Application) ServiceMiddleware(next http.Handler) http.Handler
- func (a *Application) ServicesHandler(w http.ResponseWriter, r *http.Request)
- func (a *Application) TaskHandler(w http.ResponseWriter, r *http.Request)
- func (a *Application) TaskMyBadgeHandler(w http.ResponseWriter, r *http.Request)
- func (a *Application) VolumesHandler(basePathLen int) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HomeHandler ¶ added in v0.1.127
func HomeHandler(w http.ResponseWriter, _ *http.Request)
HomeHandle display the home page
Types ¶
type Application ¶
type Application struct { Services map[string]service.Service Router http.Handler // contains filtered or unexported fields }
func (*Application) PostTaskHandler ¶
func (a *Application) PostTaskHandler(w http.ResponseWriter, r *http.Request)
PostTaskHandler create a Task
func (*Application) ReadmeHandler ¶
func (a *Application) ReadmeHandler(w http.ResponseWriter, r *http.Request)
func (*Application) ServiceMiddleware ¶
func (a *Application) ServiceMiddleware(next http.Handler) http.Handler
Http middleware
func (*Application) ServicesHandler ¶
func (a *Application) ServicesHandler(w http.ResponseWriter, r *http.Request)
ServicesHandler show all services
func (*Application) TaskHandler ¶
func (a *Application) TaskHandler(w http.ResponseWriter, r *http.Request)
TaskHandler show a Task
func (*Application) TaskMyBadgeHandler ¶ added in v0.1.127
func (a *Application) TaskMyBadgeHandler(w http.ResponseWriter, r *http.Request)
func (*Application) VolumesHandler ¶
func (a *Application) VolumesHandler(basePathLen int) http.HandlerFunc
VolumesHandler expose volumes of a task
Click to show internal directories.
Click to hide internal directories.