package
6.4.5
Repository: https://github.com/clever/wag.git
Documentation: pkg.go.dev

# Functions

AttachMiddleware attaches the given middleware to the router; this is to be used in conjunction with NewServer.
ClientVersionCheckMiddleware checks the client version.
No description provided by the author
New returns a Server that implements the Controller interface.
NewMockController creates a new mock instance.
NewRouter returns a mux.Router with no middleware.
NewWithMiddleware returns a Server that implemenets the Controller interface.
PanicMiddleware logs any panics.
TracingMiddleware creates a new span named after the URL path of the request.
WithTracingOpName adds the op name to a context for use by the tracing library.

# Structs

MockController is a mock of Controller interface.
MockControllerMockRecorder is the mock recorder for MockController.
Server defines a HTTP server that implements the Controller interface.

# Interfaces

Controller defines the interface for the swagger-test service.

# Type aliases

VersionRange decides whether to accept a version.