Documentation ¶
Index ¶
Constants ¶
View Source
const ( // JSONFILE ... JSONFILE = "json" // REDIS ... REDIS = "redis" )
View Source
const (
// TXS_STREAM_KEY ...
TXS_STREAM_KEY = "txs"
)
Variables ¶
View Source
var ( // ErrRedisDbCheckConn ... ErrRedisDbCheckConn = errors.NewError("Redis: Fail to check connection") // ErrRedisXADDStreamID ... ErrRedisXADDStreamID = errors.NewError("ERR The ID specified in XADD is equal or smaller than the target stream top item") )
Functions ¶
func ExportToJSON ¶
ExportToJSON ...
func ExportToRedisStream ¶
func ExportToRedisStream(rdb *redis.Client, key, address string, value map[string]interface{}) error
ExportToRedisStream ...
Types ¶
Click to show internal directories.
Click to hide internal directories.