Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerFunc ¶
func HandlerFunc(cfg *config.EndpointConfig, skipPaths []string, next gin.HandlerFunc, ) gin.HandlerFunc
HandlerFunc task is to fill the "matched endpoint pattern" once we know it, so the global layer tracking can report it for metrics and traces.
func New ¶
func New(hf krakendgin.HandlerFactory, skipPaths []string) krakendgin.HandlerFactory
New wraps a handler factory adding some simple instrumentation to the generated handlers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.