database

package
v0.0.0-...-18dbd0b Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Client *esdb.Client
	Config *config.Config
}

func Init

func Init(config *config.Config) *Database

func (*Database) Wrfl

func (db *Database) Wrfl(clients int, streamCount int, requests int, nodePreference string, eventSize int, batchSize int, streamPrefix string) *chan string

func (*Database) Write

func (db *Database) Write(streamName string, eventType string, eventData string) *esdb.WriteResult

type TestEvent

type TestEvent struct {
	Id            string
	ImportantData string
}

Jump to

Keyboard shortcuts

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