Documentation ¶
Index ¶
- type Application
- func (app *Application) CreateScan(w http.ResponseWriter, r *http.Request)
- func (app *Application) Error(w http.ResponseWriter, code int, message string, ...)
- func (app *Application) Healthz(w http.ResponseWriter, _ *http.Request)
- func (app *Application) ListScans(w http.ResponseWriter, r *http.Request, params api.ListScansParams)
- func (app *Application) RetrieveScan(w http.ResponseWriter, r *http.Request, id string)
- func (app *Application) Serve() error
- type Envelope
- type S
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Api *api.ServerInterface S }
Application is the applications main struct. It holds references to all the methods and handlers of this application.
func (*Application) CreateScan ¶
func (app *Application) CreateScan(w http.ResponseWriter, r *http.Request)
func (*Application) Error ¶
func (app *Application) Error(w http.ResponseWriter, code int, message string, errorInfo map[string]interface{})
func (*Application) Healthz ¶
func (app *Application) Healthz(w http.ResponseWriter, _ *http.Request)
func (*Application) ListScans ¶
func (app *Application) ListScans(w http.ResponseWriter, r *http.Request, params api.ListScansParams)
func (*Application) RetrieveScan ¶
func (app *Application) RetrieveScan(w http.ResponseWriter, r *http.Request, id string)
func (*Application) Serve ¶
func (app *Application) Serve() error
Click to show internal directories.
Click to hide internal directories.