Documentation ¶
Index ¶
- Constants
- func DeserializeByTag(i interface{}, typeTag string) (interface{}, error)
- func SerializeByTag(i interface{}, typeTag string) (s string, err error)
- func SerializeByValue(i interface{}) (string, error)
- func SerializeRedisKey(revisionID int, entityKey interface{}) (string, error)
- type DB
- func (db *DB) Get(ctx context.Context, opt online.GetOpt) (dbutil.RowMap, error)
- func (db *DB) Import(ctx context.Context, opt online.ImportOpt) error
- func (db *DB) MultiGet(ctx context.Context, opt online.MultiGetOpt) (map[string]dbutil.RowMap, error)
- func (db *DB) Purge(ctx context.Context, revisionID int) error
Constants ¶
View Source
const PipelineBatchSize = 10
View Source
const SerializeIntBase = 36
Variables ¶
This section is empty.
Functions ¶
func DeserializeByTag ¶
func SerializeByTag ¶
func SerializeByValue ¶
func SerializeRedisKey ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.