lightningtipbot/internal/telegram
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
..
intercept add interceptor and handler context (#69) 2021-09-21 21:35:10 +02:00
amounts.go Fiat price hotfix2 (#94) 2021-10-08 10:53:33 +03:00
balance.go tipjar (#114) 2021-10-27 11:55:59 +02:00
bot.go User cache (#117) 2021-10-29 22:04:53 +02:00
database.go User cache (#117) 2021-10-29 22:04:53 +02:00
donate.go Lnurlp comments (#89) 2021-10-07 00:21:21 +03:00
handler.go tipjar (#114) 2021-10-27 11:55:59 +02:00
help.go Tipjar hotfix2: translations and help (#116) 2021-10-27 15:23:01 +02:00
helpers.go tipjar (#114) 2021-10-27 11:55:59 +02:00
inline_faucet.go User cache (#117) 2021-10-29 22:04:53 +02:00
inline_query.go Tipjar hotfix2: translations and help (#116) 2021-10-27 15:23:01 +02:00
inline_receive.go User cache (#117) 2021-10-29 22:04:53 +02:00
inline_send.go User cache (#117) 2021-10-29 22:04:53 +02:00
inline_tipjar.go add username to tipjar (#115) 2021-10-27 12:04:32 +02:00
interceptor.go tipjar (#114) 2021-10-27 11:55:59 +02:00
invoice.go User cache (#117) 2021-10-29 22:04:53 +02:00
link.go tipjar (#114) 2021-10-27 11:55:59 +02:00
lnurl.go tipjar (#114) 2021-10-27 11:55:59 +02:00
message.go tipjar (#114) 2021-10-27 11:55:59 +02:00
pay.go User cache (#117) 2021-10-29 22:04:53 +02:00
photo.go Lnurlp comments (#89) 2021-10-07 00:21:21 +03:00
send.go tipjar (#114) 2021-10-27 11:55:59 +02:00
start.go anonymous user ID for lnurl (#107) 2021-10-24 20:31:52 +02:00
telegram.go tipjar (#114) 2021-10-27 11:55:59 +02:00
text.go Lnurlp comments (#89) 2021-10-07 00:21:21 +03:00
tip.go tipjar (#114) 2021-10-27 11:55:59 +02:00
tooltip.go bunt transaction generalization (#73) 2021-10-08 00:46:52 +03:00
tooltip_test.go Lnurlp comments (#89) 2021-10-07 00:21:21 +03:00
transaction.go tipjar (#114) 2021-10-27 11:55:59 +02:00
translate.go Lnurlp comments (#89) 2021-10-07 00:21:21 +03:00
users.go User cache (#117) 2021-10-29 22:04:53 +02:00