package
0.11.4
Repository: https://github.com/logitainer/rexray.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 initialies a new local route for the reouter.
WriteData writes the value v to the http response stream as binary.
WriteJSON writes the value v to the http response stream as json with standard json encoding.
WriteResponse writes a recorded response to a ResponseWriter.
WriteTask writes a task to a ResponseWriter.