package
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Nov 10, 2018
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New instantates new Echo server
type Config struct {
Port string
ReadTimeoutSeconds int
WriteTimeoutSeconds int
Debug bool
}
Config represents server specific config
type CustomBinder struct {
}
CustomBinder struct
NewBinder initializes custom server binder
Bind tries to bind request into interface, and if it does then validate it
CustomValidator holds custom validator
Validate validates the request
Source Files
¶
- binding.go
- error.go
- server.go
Click to show internal directories.
Click to hide internal directories.