package
Version:
v0.0.0-...-720a7c6
Opens a new window with list of versions in this module.
Published: Mar 14, 2020
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
¶
Auth middleware authenticates request
Final middleware forwards request to orgin
FraudChecker middleware checks if the request is fradulent.
Logger middleware logs orgin's request
TimeoutHandler is a customer timeout handler which return 504 when
middlewares or origin does not respond with http.Server.WriteTimeout
type Customer struct {
CIF int64
}
Customer type represents a customer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.