lightningtipbot/go.mod
LightningTipBot e4833bd9c6
User cache (#117)
* adding users cache in memory

* adding users cache in memory

* adding eko/gocache and removing CopyLowercaseUser

* using UpdateUserRecord

* updateCachedUser in user states

* remove redundant updatePersistentUser

* refactor

* remove cachedUser

* remove user chan

* errors for failed invoice creation

* errors for failed invoice and failed pay

* add GetUserBalanceCached inline commands

* translation

* remove redundant set user state reset state

* update cache ttl

Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-10-29 22:04:53 +02:00

24 lines
719 B
Modula-2

module github.com/LightningTipBot/LightningTipBot
go 1.15
require (
github.com/BurntSushi/toml v0.3.1
github.com/eko/gocache v1.2.0
github.com/fiatjaf/go-lnurl v1.4.0
github.com/fiatjaf/ln-decodepay v1.1.0
github.com/gorilla/mux v1.8.0
github.com/imroc/req v0.3.0
github.com/jinzhu/configor v1.2.1
github.com/makiuchi-d/gozxing v0.0.2
github.com/nicksnyder/go-i18n/v2 v2.1.2
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/sirupsen/logrus v1.6.0
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/tidwall/buntdb v1.2.7
github.com/tidwall/gjson v1.10.2
golang.org/x/text v0.3.5
gopkg.in/tucnak/telebot.v2 v2.3.5
gorm.io/driver/sqlite v1.1.4
gorm.io/gorm v1.21.12
)