package
0.3.28
Repository: https://github.com/blacktop/go-malice.git
Documentation: pkg.go.dev

# Functions

NewDeleteRoute initializes a new route with the http method DELETE.
NewGetRoute initializes a new route with the http method GET.
NewHeadRoute initializes a new route with the http method HEAD.
NewOptionsRoute initializes a new route with the http method OPTIONS.
NewPostRoute initializes a new route with the http method POST.
NewPutRoute initializes a new route with the http method PUT.
NewRoute initializes a new local route for the router.
WithCancel makes new route which embeds http.CloseNotifier feature to context.Context of handler.

# Interfaces

Route defines an individual API route in the docker server.
Router defines an interface to specify a group of routes to add to the docker server.

# Type aliases

RouteWrapper wraps a route with extra functionality.