package
0.0.0-20221213080327-03adb33449f8
Repository: https://github.com/hackfred/golang-webserver-performance.git
Documentation: pkg.go.dev

# Functions

RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

# Structs

AddReviewRequest defines model for AddReviewRequest.
GetReviewsParams defines parameters for GetReviews.
GetReviewsResponse defines model for GetReviewsResponse.
Review defines model for Review.
ReviewSummary defines model for ReviewSummary.
ServerInterfaceWrapper converts echo contexts to parameters.

# Interfaces

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.

# Type aliases

AddReviewResponse defines model for AddReviewResponse.
AddReviewsJSONRequestBody defines body for AddReviews for application/json ContentType.