admin: Add purge interface
This commit adds a new option to the admin interface to purge an instance. This requires the user to manually confirm the name of the instance.
This commit is contained in:
parent
3321b5d0ba
commit
2384ee0841
16 changed files with 175 additions and 84 deletions
|
|
@ -14,7 +14,8 @@ type Routeable interface {
|
|||
// Routes returns information about the routes to be handled by this Routeable
|
||||
Routes() Routes
|
||||
|
||||
// HandleRoute returns the handler for the requested path
|
||||
// HandleRoute returns the handler for the requested path.
|
||||
// Context is cancelled once the handler should be closed.
|
||||
HandleRoute(ctx context.Context, path string) (http.Handler, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue