Documentation
¶
Index ¶
- func BodyToReceive[T any](b []byte) T
- func NewMultiPartRequestResponse[T any, R any](e *gin.Engine) *multipartRequestResponse[T, R]
- func NewRequest[T any](e HttpServer) *requestResponse[T, T]
- func NewRequestWithResponse[T any, R any](e HttpServer) *requestResponse[T, R]
- func RunIntegrationTest(tx db, f func())
- type HttpServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BodyToReceive ¶
func NewMultiPartRequestResponse ¶ added in v0.0.6
func NewRequest ¶
func NewRequest[T any](e HttpServer) *requestResponse[T, T]
func NewRequestWithResponse ¶
func RunIntegrationTest ¶
func RunIntegrationTest(tx db, f func())
Types ¶
type HttpServer ¶ added in v0.0.2
type HttpServer interface {
ServeHTTP(http.ResponseWriter, *http.Request)
}
Click to show internal directories.
Click to hide internal directories.