Documentation ¶
Index ¶
- Constants
- func BadgerCleanUp() error
- func CanisterCleanUp(id string, addr string, SecKey string) error
- func EventsTest(b *badger.BadgerBackend, numEvents int, seed *int, ctx context.T, ...) (authors []string, ids []string, err error)
- func FiltersTest(authors []string, ids []string, b *badger.BadgerBackend, numQueries int, ...) error
- type Config
- type Seedr
Constants ¶
View Source
const Name = "digestr"
Variables ¶
This section is empty.
Functions ¶
func BadgerCleanUp ¶
func BadgerCleanUp() error
func EventsTest ¶
func FiltersTest ¶
Types ¶
type Config ¶
type Config struct { Seed *int `arg:"-s,--seed" json:"seed" help:"integer to use for random generation of events and queries"` EventAmount int `arg:"-e,--events" default:"50" json:"EventAmonunt" help:"number of randomly generated events"` QueryAmount int `arg:"-q,--queries" default:"50" json:"QueryAmount" help:"number of randomly generated queries" ` SkipSetup bool `arg:"--skipsetup" default:"false" json:"-" help:"execute before and after clause?"` CanisterAddr string `` /* 138-byte string literal not displayed */ CanisterID string `arg:"-I,--canisterid" default:"rpfa6-ryaaa-aaaap-qccvq-cai" json:"canister_id" help:"IC canister ID to use"` Wipe bool `arg:"--wipe" default:"false" json:"-" help:"only wipe canister and badger"` LogLevel string `` /* 136-byte string literal not displayed */ SecKey string `` /* 131-byte string literal not displayed */ }
type Seedr ¶
type Seedr struct { SeededGen *seededRand.Rand Present bool }
Click to show internal directories.
Click to hide internal directories.