Documentation ¶
Overview ¶
Package gfcache provides reading and caching for file contents.
文件缓存.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBinContents ¶
获得文件内容 []byte,expire参数为缓存过期时间,单位为秒。
func GetContents ¶
获得文件内容 string,expire参数为缓存过期时间,单位为秒。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.