Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Policy ¶ added in v0.28.0
type Policy interface { Apply( req *http.Request, composer miruken.Handler, next func() (*http.Response, error), ) (*http.Response, error) }
Policy defines custom behavior for http requests.
type PolicyFunc ¶ added in v0.30.43
type PolicyFunc func( req *http.Request, composer miruken.Handler, next func() (*http.Response, error), ) (*http.Response, error)
PolicyFunc promotes a function to Policy.
Click to show internal directories.
Click to hide internal directories.