Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "ingestr"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Nsec string `` /* 169-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"`
PubkeyHex string `arg:"-" json:"-"`
SeckeyHex string `arg:"-" json:"-"`
Kinds kinds.T `arg:"-k,--kinds" 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:"1000"`
Interval int64 `arg:"-i,--interval" help:"number of hours per interval of requests"`
Pause int `arg:"-p,--pause" help:"time in seconds 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.