fiber/middleware/idempotency/response.go

13 lines
342 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 -tests=true -unexported
type response struct {
Headers map[string][]string `msg:"hs"`
Body []byte `msg:"b"`
StatusCode int `msg:"sc"`
}