Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Sec string
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MaxContentSize int `arg:"-m,--maxsize" default:"1024" help:"maximum size of event content field to generate"` TotalSize int `arg:"-t,--totalsize" help:"total amount of events data (binary) in bytes to generate"` MaxDelay int `arg:"-d,--maxdelay" default:"30" help:"max delay between dispatching events (milliseconds)"` Nsec string `arg:"-n,--nsec" help:"secret key in hex or bech32 nsec format to use for signing events and auth"` Relay string `arg:"-r,--relay" default:"ws://127.0.0.1:3334" help:"relay to dispatch to, eg ws://127.0.0.1:3334"` }
Click to show internal directories.
Click to hide internal directories.