sysbench

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// https://github.com/akopytov/sysbench
	PgSQLHost     = "pgsql-host"
	PgSQLPort     = "pgsql-port"
	PgSQLUser     = "pgsql-user"
	PgSQLPassword = "pgsql-password"
	PgSQLDB       = "pgsql-db"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*sysbench.Config
}

Config represents a sysbench config.

func NewDefaultConfig

func NewDefaultConfig() *Config

NewDefaultConfig returns a new default config.

func (*Config) SetDB

func (cfg *Config) SetDB(db string)

SetDB sets the db.

func (*Config) SetHost

func (cfg *Config) SetHost(host string)

SetHost sets the host.

func (*Config) SetPassword

func (cfg *Config) SetPassword(password string)

SetPassword sets the password.

func (*Config) SetPort

func (cfg *Config) SetPort(port int)

SetPort sets the port.

func (*Config) SetUser

func (cfg *Config) SetUser(user string)

SetUser sets the user.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL