3353b1a8aa
* add authed device tagging * fix config * implement feedback * implement feedback * add reverse untag behavior * remove duplicate stat * Update pkg/services/anonymous/anonimpl/impl.go
18 lines
263 B
Go
18 lines
263 B
Go
package anonymous
|
|
|
|
import (
|
|
"context"
|
|
"net/http"
|
|
)
|
|
|
|
type DeviceKind string
|
|
|
|
const (
|
|
AnonDevice DeviceKind = "anon-session"
|
|
AuthedDevice DeviceKind = "authed-session"
|
|
)
|
|
|
|
type Service interface {
|
|
TagDevice(context.Context, *http.Request, DeviceKind) error
|
|
}
|