You've already forked prometheus-fail2ban-exporter
							
							
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			226 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			226 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package auth
 | |
| 
 | |
| import "net/http"
 | |
| 
 | |
| func NewEmptyAuthProvider() AuthProvider {
 | |
| 	return &emptyAuthProvider{}
 | |
| }
 | |
| 
 | |
| type emptyAuthProvider struct {
 | |
| }
 | |
| 
 | |
| func (p *emptyAuthProvider) IsAllowed(request *http.Request) bool {
 | |
| 	return true
 | |
| }
 |