added simple cache system.

This commit is contained in:
5elenay
2021-08-24 14:36:54 +03:00
parent 4c4cc5c0a5
commit 686fd10ebb
3 changed files with 44 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ type Channel struct {
Nonce string `json:"nonce"`
Active bool `json:"active"`
Recipients []string `json:"recipients"`
LastMessage string `json:"last_message"`
LastMessage interface{} `json:"last_message"`
Name string `json:"name"`
OwnerId string `json:"owner"`
Description string `json:"description"`