package
Version:
v0.0.0-...-1cbd5cf
Opens a new window with list of versions in this module.
Published: Dec 2, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetCacheJSON marshals cached data into JSON,
calls GetCache to get the Cache struct.
type Cache struct {
Count int64 `json:"count"`
Total int64 `json:"total"`
Messages []Message `json:"messages"`
}
Cache is used in the messages.html template.
GetCache gets cached data from Redis.
Message adds additional fields to models.Message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.