10 lines
101 B
Go
10 lines
101 B
Go
|
package auth
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
type AuthProvider interface {
|
||
|
IsAllowed(*http.Request) bool
|
||
|
}
|