Documentation
¶
Index ¶
- func GetCachedIndex() (*model.Cache, error)
- func GetCachedPost(id uint64) (*model.Cache, error)
- func GetCachedThread(id uint64) (*model.Cache, error)
- func SetCachedIndex(status int, data []model.Post) error
- func SetCachedPost(id uint64, status int, data *model.Post) error
- func SetCachedThread(id uint64, status int, data []model.Post) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCachedIndex ¶
GetCachedIndex returns a cached index or error.
func GetCachedPost ¶
GetCachedPost returns a cached post or error.
func GetCachedThread ¶
GetCachedThread returns a cached thread or error.
func SetCachedIndex ¶
SetCachedIndex sets an index or error (data == nil) in cache.
func SetCachedPost ¶
SetCachedPost sets a post or error (data == nil) in cache.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.