type translatingHandler … func NewTranslatingHandler(delegate http.Handler, translator http.Handler, shouldTranslate func(*http.Request) bool) http.Handler { … } func (t *translatingHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { … }
type translatingHandler … func NewTranslatingHandler(delegate http.Handler, translator http.Handler, shouldTranslate func(*http.Request) bool) http.Handler { … } func (t *translatingHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { … }