README ¶ mbolt Description 多个 boltdb 当成一个 boltdb 来使用 低成本的大数据分析技术, 项目没有过多的预算, 无法使用大数据技术, 但是传统的方式也无法使用, 通过改造现有的技术来完成 Software Architecture Software architecture description Installation xxxx xxxx xxxx Instructions xxxx xxxx xxxx Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type MBolt func NewMBolt(dbNamePrefix, dbDir string, maxDBSize int) *MBolt func (mb *MBolt) Read(outCh chan []byte) func (mb *MBolt) SetDBNames(names []string) func (mb *MBolt) SetRoutineCount(cnt int) func (mb *MBolt) Write(inCh chan []byte) type MBoltConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type MBolt ¶ type MBolt struct { // contains filtered or unexported fields } func NewMBolt ¶ func NewMBolt(dbNamePrefix, dbDir string, maxDBSize int) *MBolt func (*MBolt) Read ¶ func (mb *MBolt) Read(outCh chan []byte) func (*MBolt) SetDBNames ¶ func (mb *MBolt) SetDBNames(names []string) func (*MBolt) SetRoutineCount ¶ func (mb *MBolt) SetRoutineCount(cnt int) func (*MBolt) Write ¶ func (mb *MBolt) Write(inCh chan []byte) type MBoltConfig ¶ type MBoltConfig struct { DBNamePrefix string // 数据库名称前缀 DBDir string // 数据库文件夹 MaxDBSize int // 每个数据库数据量上限 MaxBucketSize int // 每个存储桶的数据量大小 DBNames []string // 数据库名称列表 RoutineCount int // 读取数据的 协程 个数 // contains filtered or unexported fields } Source Files ¶ View all Source files config.go mbolt.go util.go Click to show internal directories. Click to hide internal directories.