Vendor integration dependencies.
This commit is contained in:
parent
dd5e3fba01
commit
55b57c736b
2451 changed files with 731611 additions and 0 deletions
21
integration/vendor/github.com/ArthurHlt/go-eureka-client/eureka/response.go
generated
vendored
Normal file
21
integration/vendor/github.com/ArthurHlt/go-eureka-client/eureka/response.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
package eureka
|
||||
|
||||
import "net/http"
|
||||
|
||||
type RawResponse struct {
|
||||
StatusCode int
|
||||
Body []byte
|
||||
Header http.Header
|
||||
}
|
||||
|
||||
var (
|
||||
validHttpStatusCode = map[int]bool{
|
||||
http.StatusNoContent: true,
|
||||
http.StatusCreated: true,
|
||||
http.StatusOK: true,
|
||||
http.StatusBadRequest: true,
|
||||
http.StatusNotFound: true,
|
||||
http.StatusPreconditionFailed: true,
|
||||
http.StatusForbidden: true,
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue