func encodeMongoTimestamp(ts bson.MongoTimestamp) string {
	return strconv.FormatInt(int64(ts), 10)
}
Converts a bson.MongoTimestamp into a string (in base-10)
package redispub
import (
	"strconv"
	"time"
	"github.com/globalsign/mgo/bson"
)