go-captiveportal/identifier.go

11 lines
148 B
Go
Raw Normal View History

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