Documentation ¶
Index ¶
- Variables
- type Api
- func (a *Api) AuthMiddleware(next http.Handler) http.Handler
- func (a *Api) HandleFilesystem(rw http.ResponseWriter, r *http.Request)
- func (a *Api) JsonMiddleware(next http.Handler) http.Handler
- func (a *Api) NotifyShutdown() <-chan struct{}
- func (a *Api) Router() http.Handler
- func (a *Api) Run()
- func (a *Api) Shutdown()
- type Config
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { Config Config // contains filtered or unexported fields }
func (*Api) HandleFilesystem ¶
func (a *Api) HandleFilesystem(rw http.ResponseWriter, r *http.Request)
func (*Api) NotifyShutdown ¶
func (a *Api) NotifyShutdown() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.