package
0.0.12
Repository: https://github.com/m15t/gram.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New instantates new Echo server.
NewBinder initializes custom server binder.
NewErrorHandler returns the ErrorHandler instance.
NewHTTPError creates a new HTTPError instance.
NewHTTPGenericError creates a new HTTPError instance for generic error.
NewHTTPInternalError creates a new HTTPError instance for internal error.
NewHTTPValidationError creates a new HTTPError instance for validation error.
NewValidator creates new custom validator.
Start starts echo server with graceful shutdown process.

# Constants

GenericErrorType type of common errors.
InternalErrorType type of common errors.
ValidationErrorType type of common errors.

# Variables

DefaultConfig for the API server.

# Structs

Config represents server specific config.
CustomBinder struct.
CustomValidator holds custom validator.
ErrorHandler represents the custom http error handler.
ErrorResponse represents the error response swagger:model.
HTTPError represents an error that occurred while handling a request.