diff options
author | Mike Crute <mike@crute.us> | 2023-08-03 13:48:28 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-08-03 13:48:28 -0700 |
commit | a09b5eb2a787fc6671ea1d2452452b1e58df6a96 (patch) | |
tree | 5dfd67d648363895b365003262cb92025561b59d /app | |
parent | 08c9439879329c653c2fabd7c8c9bf7f4c145d66 (diff) | |
download | websocket_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.go | 4 |
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 | ||
13 | type AuthSessionStoreMongodb struct { | 13 | type AuthSessionStoreMongodb struct { |
14 | *db.MongoDbBasicStore[*AuthSession] | 14 | *mongodb.MongoDbBasicStore[*AuthSession] |
15 | } | 15 | } |
16 | 16 | ||
17 | var _ AuthSessionStore = (*AuthSessionStoreMongodb)(nil) | 17 | var _ AuthSessionStore = (*AuthSessionStoreMongodb)(nil) |