Documentation ¶
Index ¶
- func AsyncDelCacheBean(tableName string, v interface{})
- func Begin(ctx ...context.Context) (*xorm.Session, error)
- func ClearBeans(tablename string)
- func ClearCache(tablename string)
- func ClearIds(tablename string)
- func DefaultCoder() *xormcache.BinaryCoder
- func DelCacheBean(tableName string, v interface{})
- func DeleteCache(tableName string, pk ...interface{}) error
- func Engine() *xorm.EngineGroup
- func Init(cnf *cnf.DB)
- func Master() *xorm.Engine
- func Session(ctx ...context.Context) *xorm.Session
- func Slave() *xorm.Engine
- type ModtimeProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncDelCacheBean ¶
func AsyncDelCacheBean(tableName string, v interface{})
func ClearBeans ¶
func ClearBeans(tablename string)
func ClearCache ¶
func ClearCache(tablename string)
func DefaultCoder ¶
func DefaultCoder() *xormcache.BinaryCoder
func DelCacheBean ¶
func DelCacheBean(tableName string, v interface{})
func DeleteCache ¶
func Engine ¶
func Engine() *xorm.EngineGroup
Types ¶
type ModtimeProxy ¶
type ModtimeProxy struct {
// contains filtered or unexported fields
}
func DefaultModtimeProxy ¶
func DefaultModtimeProxy() *ModtimeProxy
func (*ModtimeProxy) LastModified ¶
func (*ModtimeProxy) ResetCache ¶
func (m *ModtimeProxy) ResetCache(id int32)
func (*ModtimeProxy) SetLastModified ¶
Click to show internal directories.
Click to hide internal directories.