prometheus-fail2ban-exporter/auth/provider.go

10 lines
101 B
Go
Raw Normal View History

2023-10-02 10:50:34 +00:00
package auth
import (
"net/http"
)
type AuthProvider interface {
IsAllowed(*http.Request) bool
}