Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "ingestr"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Nsec string `` /* 168-byte string literal not displayed */
DownloadRelay string `arg:"positional,required" json:"-"`
UploadRelay string `arg:"positional,required" json:"-"`
Since int64 `arg:"-s,--since" json:"-" help:"only query events since this unix timestamp" default:"1640305963"`
PubkeyHex string `arg:"-" json:"-"`
SeckeyHex string `arg:"-" json:"-"`
// Kinds kinds.T `arg:"-k,--kinds,separate" help:"comma separated list of kind numbers to ingest"`
Limit int `arg:"-l,--limit" help:"maximum of number of events to return for each interval" default:"500"`
Interval int64 `arg:"-i,--interval" help:"number of seconds per interval of requests" default:"3"`
Pause int `arg:"-p,--pause" default:"100" help:"time in milliseconds to wait between requests"`
OtherPubkeys tag.T `arg:"-f,--follows,separate" help:"other pubkeys to search for"`
}
Click to show internal directories.
Click to hide internal directories.