Migrate references to consolidated v2 package
Routes and errors are now all referenced from a single v2 package. This packages exports are acceptable for use in the server side as well as integration into docker core.
This commit is contained in:
parent
5abfc91021
commit
d08f0edcf1
13 changed files with 82 additions and 83 deletions
|
@ -2,6 +2,9 @@ package v2
|
|||
|
||||
import "net/http"
|
||||
|
||||
// TODO(stevvooe): Add route descriptors for each named route, along with
|
||||
// accepted methods, parameters, returned status codes and error codes.
|
||||
|
||||
// ErrorDescriptor provides relevant information about a given error code.
|
||||
type ErrorDescriptor struct {
|
||||
// Code is the error code that this descriptor describes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue