Documentation ¶
Index ¶
- type CQL
- func (*CQL) CheckTable(session *gocql.Session, keyspace string, table string) bool
- func (cql *CQL) Connect(config Config) (*gocql.Session, error)
- func (*CQL) Exec(session *gocql.Session, stmt string) error
- func (cql *CQL) Exports() modules.Exports
- func (*CQL) Insert(session *gocql.Session, keyspace string, table string, col []string, ...) error
- type Config
- type RootModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CQL ¶
type CQL struct {
// contains filtered or unexported fields
}
CQL represents an instance of the JS module
func (*CQL) CheckTable ¶
type RootModule ¶
type RootModule struct{}
RootModule is the global module instance that will create module instances for each VU
func (*RootModule) NewModuleInstance ¶
func (m *RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface returning a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.