summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-03 13:48:28 -0700
committerMike Crute <mike@crute.us>2023-08-03 13:48:28 -0700
commita09b5eb2a787fc6671ea1d2452452b1e58df6a96 (patch)
tree5dfd67d648363895b365003262cb92025561b59d /app
parent08c9439879329c653c2fabd7c8c9bf7f4c145d66 (diff)
downloadwebsocket_proxy-a09b5eb2a787fc6671ea1d2452452b1e58df6a96.tar.bz2
websocket_proxy-a09b5eb2a787fc6671ea1d2452452b1e58df6a96.tar.xz
websocket_proxy-a09b5eb2a787fc6671ea1d2452452b1e58df6a96.zip
Migrate MongoDbBasicStore to golib version
Diffstat (limited to 'app')
-rw-r--r--app/models/auth_session_mongodb.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/auth_session_mongodb.go b/app/models/auth_session_mongodb.go
index fc5f5dd..a5f0537 100644
--- a/app/models/auth_session_mongodb.go
+++ b/app/models/auth_session_mongodb.go
@@ -4,14 +4,14 @@ import (
4 "context" 4 "context"
5 "time" 5 "time"
6 6
7 "code.crute.us/mcrute/ssh-proxy/db" 7 "code.crute.us/mcrute/golib/db/mongodb/v2"
8 8
9 "go.mongodb.org/mongo-driver/bson" 9 "go.mongodb.org/mongo-driver/bson"
10 "go.mongodb.org/mongo-driver/bson/primitive" 10 "go.mongodb.org/mongo-driver/bson/primitive"
11) 11)
12 12
13type AuthSessionStoreMongodb struct { 13type AuthSessionStoreMongodb struct {
14 *db.MongoDbBasicStore[*AuthSession] 14 *mongodb.MongoDbBasicStore[*AuthSession]
15} 15}
16 16
17var _ AuthSessionStore = (*AuthSessionStoreMongodb)(nil) 17var _ AuthSessionStore = (*AuthSessionStoreMongodb)(nil)