92ac380621
* Authn: Anon session service (#63052) * add anon sessions package * add usage stat fn * implement count for cache * add anonservice to authn broker * lint * add tests for remote cache count * move anon service to services * wrap tagging in goroutine * make func used (cherry picked from commitff78103a24) * add local cache to protect multiple writes to DB cache (cherry picked from commitbdb084736b)
11 lines
131 B
Go
11 lines
131 B
Go
package anonymous
|
|
|
|
import (
|
|
"context"
|
|
"net/http"
|
|
)
|
|
|
|
type Service interface {
|
|
TagSession(context.Context, *http.Request) error
|
|
}
|