Documentation ¶
Index ¶
- func E数据校验_检查(等待验证的数据 interface{}, 验证规则 string, ...) *gvalid.Error
- func E数据校验_检查Map(等待验证的数据 interface{}, 验证规则 interface{}, ...) *gvalid.Error
- func E数据校验_检查Struct(等待验证的数据 interface{}, 验证规则 interface{}, ...) *gvalid.Error
- type E缓存类
- func (this *E缓存类) E关闭() error
- func (this *E缓存类) E删除(keys ...interface{}) (value interface{}, err error)
- func (this *E缓存类) E大小() (size int, err error)
- func (this *E缓存类) E是否存在(key interface{}) (bool, error)
- func (this *E缓存类) E清除() error
- func (this *E缓存类) E获取(key interface{}) (interface{}, error)
- func (this *E缓存类) E获取所有值() ([]interface{}, error)
- func (this *E缓存类) E获取所有键() ([]interface{}, error)
- func (this *E缓存类) E设置(key interface{}, value interface{}, duration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func E数据校验_检查Map ¶
Types ¶
type E缓存类 ¶
type E缓存类 struct {
// contains filtered or unexported fields
}
gcache模块默认提供的是一个高速的内存缓存,操作效率非常高效,CPU性能损耗在ns纳秒级别。 https://goframe.org/pages/viewpage.action?pageId=1114311
Click to show internal directories.
Click to hide internal directories.