package
0.0.0-20220530112234-f610a31591f8
Repository: https://github.com/wikia/go-service-example.git
Documentation: pkg.go.dev
# Functions
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
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
Employee defines model for Employee.
Error defines model for Error.
NewEmployee defines model for NewEmployee.
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
CreateEmployeeJSONBody defines parameters for CreateEmployee.
CreateEmployeeJSONRequestBody defines body for CreateEmployee for application/json ContentType.
EmployeeList defines model for EmployeeList.