package
0.0.408
Repository: https://github.com/juetun/base-wrapper.git
Documentation: pkg.go.dev

# Packages

Package block_cache_impl @Copyright (c) 2020.
@Copyright (c) 2020.

# Functions

No description provided by the author
.
No description provided by the author
缓存数据.
缓存数据的KEY.
设置缓存类型 当前支持 "redis","file","database".
当前BLOCK的子Block.
No description provided by the author
设置缓存时间.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
是否强制刷新缓存.
BLOCK的Run方法运行主要逻辑后执行此方法.
No description provided by the author
No description provided by the author
No description provided by the author
html模板文件所在的基础路径.

# Constants

缓存到数据库.
缓存到文件.
缓存到Redis.

# Structs

页面操作对象 一个html由BLOCK拼凑而成 本结构体设计目的为实现页面局部数据缓存控制 每个BLOCK具备独立的缓存对象,独立从数据库、redis、或其他数据源获取数据的能力获取数据的能力 缓存规则: 1、如果父block的缓存时间大于0,则子BLOCK设置了缓存时间无效, 2、如果父BLOCK的缓存时间为0,则子BLOCK的缓存时间有效.
URL请求获取参数结构体中使用.
缓存信息对象.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author