This commit is contained in:
Max Lerebourg
2022-09-29 09:37:25 +02:00
parent 593681fd53
commit 2559c71930
+2 -1
View File
@@ -144,7 +144,8 @@ func New(ctx context.Context, next http.Handler, config *Config, name string) (h
return bouncer, nil
}
// TODO the serve HTTP should be split as it's too long.
// TODO the ServeHTTP should be split as it's too long.
// ServeHTTP principal function of plugin.
func (a *Bouncer) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
if !a.enabled {