2020-10-16 17:27:44 +02:00
|
|
|
package captiveportal
|
|
|
|
|
2020-10-18 15:28:34 +02:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
)
|
2020-10-16 17:27:44 +02:00
|
|
|
|
|
|
|
type Identifier interface {
|
|
|
|
Identify(r *http.Request) (string, error)
|
2020-10-18 15:28:34 +02:00
|
|
|
OnOffline(func(id string))
|
2020-10-16 17:27:44 +02:00
|
|
|
}
|