Documentation ¶
Index ¶
- func RandStringWord() string
- func Start(enableSeed bool, enabledRepos string, items int)
- type ArangoDBRepo
- func (repo *ArangoDBRepo) Init() bool
- func (repo *ArangoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ArangoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ArangoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *ArangoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *ArangoDBRepo) Seed(itemsInDataSet int) bool
- func (repo *ArangoDBRepo) Update(N int)
- type ClickHouseRepo
- func (repo *ClickHouseRepo) Init() bool
- func (repo *ClickHouseRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ClickHouseRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ClickHouseRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *ClickHouseRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *ClickHouseRepo) Seed(itemsInDataSet int) bool
- func (repo *ClickHouseRepo) Update(N int)
- type DummyRepo
- func (repo *DummyRepo) Init() bool
- func (repo *DummyRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *DummyRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *DummyRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *DummyRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *DummyRepo) Seed(itemsInDataSet int) bool
- func (repo *DummyRepo) Update(N int)
- type ElasticRepo
- func (repo *ElasticRepo) Init() bool
- func (repo *ElasticRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ElasticRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ElasticRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *ElasticRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *ElasticRepo) Seed(itemsInDataSet int) bool
- func (repo *ElasticRepo) Update(N int)
- type Item
- type MongoDBRepo
- func (repo *MongoDBRepo) Init() bool
- func (repo *MongoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *MongoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *MongoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *MongoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *MongoDBRepo) Seed(itemsInDataSet int) bool
- func (repo *MongoDBRepo) Update(N int)
- type MySQLRepo
- func (repo *MySQLRepo) Init() bool
- func (repo *MySQLRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *MySQLRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *MySQLRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *MySQLRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *MySQLRepo) Seed(itemsInDataSet int) bool
- func (repo *MySQLRepo) Update(N int)
- type RedisRepo
- func (repo *RedisRepo) Init() bool
- func (repo *RedisRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *RedisRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *RedisRepo) QueryByID(N int, onlyQuery bool) (item *Item)
- func (repo *RedisRepo) QueryFullText(textQuery func() string, N int, limit int) []*Item
- func (repo *RedisRepo) Seed(itemsInDataSet int) bool
- func (repo *RedisRepo) Update(N int)
- type ReindexRepo
- func (repo *ReindexRepo) ForceObjCache()
- func (repo *ReindexRepo) Init() bool
- func (repo *ReindexRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ReindexRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *ReindexRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *ReindexRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *ReindexRepo) Seed(itemsInDataSet int) bool
- func (repo *ReindexRepo) Update(N int)
- type Repo
- type RethinkDBRepo
- func (repo *RethinkDBRepo) Init() bool
- func (repo *RethinkDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *RethinkDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *RethinkDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *RethinkDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *RethinkDBRepo) Seed(itemsInDataSet int) bool
- func (repo *RethinkDBRepo) Update(N int)
- type SphinxRepo
- func (repo *SphinxRepo) Init() bool
- func (repo *SphinxRepo) Query1Cond(N int, onlyQuery bool, limit int) []*Item
- func (repo *SphinxRepo) Query2Cond(N int, onlyQuery bool, limit int) []*Item
- func (repo *SphinxRepo) QueryByID(N int, onlyQuery bool) *Item
- func (repo *SphinxRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *SphinxRepo) Seed(itemsInDataSet int) bool
- func (repo *SphinxRepo) Update(N int)
- type SqliteRepo
- func (repo *SqliteRepo) Init() bool
- func (repo *SqliteRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *SqliteRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *SqliteRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *SqliteRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
- func (repo *SqliteRepo) Seed(itemsInDataSet int) bool
- func (repo *SqliteRepo) Update(N int)
- type TarantoolRepo
- func (repo *TarantoolRepo) Init() bool
- func (repo *TarantoolRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *TarantoolRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
- func (repo *TarantoolRepo) QueryByID(N int, onlyQuery bool) (it *Item)
- func (repo *TarantoolRepo) QueryFullText(textQuery func() string, N int, limit int) []*Item
- func (repo *TarantoolRepo) Seed(itemsInDataSet int) bool
- func (repo *TarantoolRepo) Update(N int)
- type TestLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringWord ¶
func RandStringWord() string
Types ¶
type ArangoDBRepo ¶
type ArangoDBRepo struct {
// contains filtered or unexported fields
}
func (*ArangoDBRepo) Init ¶
func (repo *ArangoDBRepo) Init() bool
func (*ArangoDBRepo) Query1Cond ¶
func (repo *ArangoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ArangoDBRepo) Query2Cond ¶
func (repo *ArangoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ArangoDBRepo) QueryByID ¶
func (repo *ArangoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*ArangoDBRepo) QueryFullText ¶
func (repo *ArangoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*ArangoDBRepo) Seed ¶
func (repo *ArangoDBRepo) Seed(itemsInDataSet int) bool
func (*ArangoDBRepo) Update ¶
func (repo *ArangoDBRepo) Update(N int)
type ClickHouseRepo ¶
type ClickHouseRepo struct {
// contains filtered or unexported fields
}
func (*ClickHouseRepo) Init ¶
func (repo *ClickHouseRepo) Init() bool
func (*ClickHouseRepo) Query1Cond ¶
func (repo *ClickHouseRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ClickHouseRepo) Query2Cond ¶
func (repo *ClickHouseRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ClickHouseRepo) QueryByID ¶
func (repo *ClickHouseRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*ClickHouseRepo) QueryFullText ¶
func (repo *ClickHouseRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*ClickHouseRepo) Seed ¶
func (repo *ClickHouseRepo) Seed(itemsInDataSet int) bool
func (*ClickHouseRepo) Update ¶
func (repo *ClickHouseRepo) Update(N int)
type DummyRepo ¶
type DummyRepo struct {
// contains filtered or unexported fields
}
func (*DummyRepo) Query1Cond ¶
func (*DummyRepo) Query2Cond ¶
func (*DummyRepo) QueryFullText ¶
type ElasticRepo ¶
type ElasticRepo struct {
// contains filtered or unexported fields
}
func (*ElasticRepo) Init ¶
func (repo *ElasticRepo) Init() bool
func (*ElasticRepo) Query1Cond ¶
func (repo *ElasticRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ElasticRepo) Query2Cond ¶
func (repo *ElasticRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ElasticRepo) QueryByID ¶
func (repo *ElasticRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*ElasticRepo) QueryFullText ¶
func (repo *ElasticRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*ElasticRepo) Seed ¶
func (repo *ElasticRepo) Seed(itemsInDataSet int) bool
func (*ElasticRepo) Update ¶
func (repo *ElasticRepo) Update(N int)
type MongoDBRepo ¶
type MongoDBRepo struct {
// contains filtered or unexported fields
}
func (*MongoDBRepo) Init ¶
func (repo *MongoDBRepo) Init() bool
func (*MongoDBRepo) Query1Cond ¶
func (repo *MongoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*MongoDBRepo) Query2Cond ¶
func (repo *MongoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*MongoDBRepo) QueryByID ¶
func (repo *MongoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*MongoDBRepo) QueryFullText ¶
func (repo *MongoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*MongoDBRepo) Seed ¶
func (repo *MongoDBRepo) Seed(itemsInDataSet int) bool
func (*MongoDBRepo) Update ¶
func (repo *MongoDBRepo) Update(N int)
type MySQLRepo ¶
type MySQLRepo struct {
// contains filtered or unexported fields
}
func (*MySQLRepo) Query1Cond ¶
func (*MySQLRepo) Query2Cond ¶
func (*MySQLRepo) QueryFullText ¶
type RedisRepo ¶
type RedisRepo struct {
// contains filtered or unexported fields
}
func (*RedisRepo) Query1Cond ¶
func (*RedisRepo) Query2Cond ¶
func (*RedisRepo) QueryFullText ¶
type ReindexRepo ¶
type ReindexRepo struct {
// contains filtered or unexported fields
}
func (*ReindexRepo) ForceObjCache ¶
func (repo *ReindexRepo) ForceObjCache()
func (*ReindexRepo) Init ¶
func (repo *ReindexRepo) Init() bool
func (*ReindexRepo) Query1Cond ¶
func (repo *ReindexRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ReindexRepo) Query2Cond ¶
func (repo *ReindexRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*ReindexRepo) QueryByID ¶
func (repo *ReindexRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*ReindexRepo) QueryFullText ¶
func (repo *ReindexRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*ReindexRepo) Seed ¶
func (repo *ReindexRepo) Seed(itemsInDataSet int) bool
func (*ReindexRepo) Update ¶
func (repo *ReindexRepo) Update(N int)
type Repo ¶
type RethinkDBRepo ¶
type RethinkDBRepo struct {
// contains filtered or unexported fields
}
func (*RethinkDBRepo) Init ¶
func (repo *RethinkDBRepo) Init() bool
func (*RethinkDBRepo) Query1Cond ¶
func (repo *RethinkDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*RethinkDBRepo) Query2Cond ¶
func (repo *RethinkDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*RethinkDBRepo) QueryByID ¶
func (repo *RethinkDBRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*RethinkDBRepo) QueryFullText ¶
func (repo *RethinkDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*RethinkDBRepo) Seed ¶
func (repo *RethinkDBRepo) Seed(itemsInDataSet int) bool
func (*RethinkDBRepo) Update ¶
func (repo *RethinkDBRepo) Update(N int)
type SphinxRepo ¶
type SphinxRepo struct {
// contains filtered or unexported fields
}
func (*SphinxRepo) Init ¶
func (repo *SphinxRepo) Init() bool
func (*SphinxRepo) Query1Cond ¶
func (repo *SphinxRepo) Query1Cond(N int, onlyQuery bool, limit int) []*Item
func (*SphinxRepo) Query2Cond ¶
func (repo *SphinxRepo) Query2Cond(N int, onlyQuery bool, limit int) []*Item
func (*SphinxRepo) QueryFullText ¶
func (repo *SphinxRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*SphinxRepo) Seed ¶
func (repo *SphinxRepo) Seed(itemsInDataSet int) bool
func (*SphinxRepo) Update ¶
func (repo *SphinxRepo) Update(N int)
type SqliteRepo ¶
type SqliteRepo struct {
// contains filtered or unexported fields
}
func (*SqliteRepo) Init ¶
func (repo *SqliteRepo) Init() bool
func (*SqliteRepo) Query1Cond ¶
func (repo *SqliteRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*SqliteRepo) Query2Cond ¶
func (repo *SqliteRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*SqliteRepo) QueryFullText ¶
func (repo *SqliteRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item)
func (*SqliteRepo) Seed ¶
func (repo *SqliteRepo) Seed(itemsInDataSet int) bool
func (*SqliteRepo) Update ¶
func (repo *SqliteRepo) Update(N int)
type TarantoolRepo ¶
type TarantoolRepo struct {
// contains filtered or unexported fields
}
func (*TarantoolRepo) Init ¶
func (repo *TarantoolRepo) Init() bool
func (*TarantoolRepo) Query1Cond ¶
func (repo *TarantoolRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*TarantoolRepo) Query2Cond ¶
func (repo *TarantoolRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item)
func (*TarantoolRepo) QueryByID ¶
func (repo *TarantoolRepo) QueryByID(N int, onlyQuery bool) (it *Item)
func (*TarantoolRepo) QueryFullText ¶
func (repo *TarantoolRepo) QueryFullText(textQuery func() string, N int, limit int) []*Item
func (*TarantoolRepo) Seed ¶
func (repo *TarantoolRepo) Seed(itemsInDataSet int) bool
func (*TarantoolRepo) Update ¶
func (repo *TarantoolRepo) Update(N int)
type TestLogger ¶
type TestLogger struct { }
func (TestLogger) Printf ¶
func (TestLogger) Printf(level int, format string, msg ...interface{})
Click to show internal directories.
Click to hide internal directories.