class Turnir::ChatStorage::Storage
- Turnir::ChatStorage::Storage
- Reference
- Object
Defined in:
turnir/chat_storage/storage.crConstant Summary
-
MESSAGES_LIMIT =
2000
Constructors
Instance Method Summary
- #add_message(msg : Turnir::ChatStorage::Types::ChatMessage)
- #clear
- #get_messages(channel : String, since : Int32, text_filter : String)
- #last_access : Time
- #last_access=(last_access : Time)
- #should_stop?
- #storage : Array(Turnir::ChatStorage::Types::ChatMessage)
- #storage=(storage : Array(Turnir::ChatStorage::Types::ChatMessage))
- #storage_mutex : Mutex
- #storage_mutex=(storage_mutex : Mutex)