mirror of https://github.com/gofiber/fiber.git
13 lines
352 B
Go
13 lines
352 B
Go
package idempotency
|
|
|
|
// response is a struct that represents the response of a request.
|
|
// generation tool `go install github.com/tinylib/msgp@latest`
|
|
//
|
|
//go:generate msgp -o=response_msgp.go -io=false -tests=true -unexported
|
|
type response struct {
|
|
Headers map[string][]string `msg:"hs"`
|
|
|
|
Body []byte `msg:"b"`
|
|
StatusCode int `msg:"sc"`
|
|
}
|