summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorAdrian Carolli <adrian.caarolli@gmail.com>2018-01-11 16:30:55 -0500
committerJoram Wilander <jwawilander@gmail.com>2018-01-11 16:30:55 -0500
commitb1d13a2d897147de8290a03e624efe4000dc9aa7 (patch)
treea75464c6eb48b753c96d7210254ff6985c7e4a4c /store/store.go
parent1d9efd0e39a9663bb2fbf52b3353fe21ac3b6954 (diff)
downloadchat-b1d13a2d897147de8290a03e624efe4000dc9aa7.tar.gz
chat-b1d13a2d897147de8290a03e624efe4000dc9aa7.tar.bz2
chat-b1d13a2d897147de8290a03e624efe4000dc9aa7.zip
[PLT-7793] Add /users/tokens/search endpoint (#8088)
* Add /users/tokens/search endpoint + tests * Fix check-style * Unnecessary deletion
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index de8bd4635..dc140edd4 100644
--- a/store/store.go
+++ b/store/store.go
@@ -449,6 +449,7 @@ type UserAccessTokenStore interface {
GetAll(offset int, limit int) StoreChannel
GetByToken(tokenString string) StoreChannel
GetByUser(userId string, page, perPage int) StoreChannel
+ Search(term string) StoreChannel
UpdateTokenEnable(tokenId string) StoreChannel
UpdateTokenDisable(tokenId string) StoreChannel
}