Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GarbageCollector ¶
type GarbageCollector struct {
// contains filtered or unexported fields
}
func NewGarbageCollector ¶
func NewGarbageCollector(buckets *BucketList, gcInterval uint64, gcPurgeAge uint64) *GarbageCollector
func (*GarbageCollector) Start ¶
func (garbageCollector *GarbageCollector) Start()
func (*GarbageCollector) Stop ¶
func (garbageCollector *GarbageCollector) Stop()
type YAMLAlerts ¶
type YAMLAlerts struct {
ForwardInterval uint64 `yaml:"forwardInterval"`
}
type YAMLHistory ¶
type YAMLHistory struct { PurgeOnForward bool `yaml:"purgeOnForward"` EventLimit uint64 `yaml:"eventLimit"` EventFloor uint64 `yaml:"eventFloor"` PurgeBatchSize int `yaml:"purgeBatchSize"` ForwardInterval uint64 `yaml:"forwardInterval"` ForwardBatchSize uint64 `yaml:"forwardBatchSize"` ForwardThreshold uint64 `yaml:"forwardThreshold"` }
type YAMLServerConfig ¶
type YAMLServerConfig struct { DBFile string `yaml:"db"` Port int `yaml:"port"` MaxSyncSessions int `yaml:"syncSessionLimit"` SyncSessionPeriod uint64 `yaml:"syncSessionPeriod"` SyncPushBroadcastLimit uint64 `yaml:"syncPushBroadcastLimit"` SyncExplorationPathLimit uint32 `yaml:"syncExplorationPathLimit"` GCInterval uint64 `yaml:"gcInterval"` GCPurgeAge uint64 `yaml:"gcPurgeAge"` MerkleDepth uint8 `yaml:"merkleDepth"` NodeID string `yaml:"nodeid"` Peers []YAMLPeer `yaml:"peers"` TLS YAMLTLSFiles `yaml:"tls"` LogLevel string `yaml:"logLevel"` Cloud *YAMLCloud `yaml:"cloud"` History *YAMLHistory `yaml:"history"` Alerts *YAMLAlerts `yaml:"alerts"` }
func (*YAMLServerConfig) LoadFromFile ¶
func (ysc *YAMLServerConfig) LoadFromFile(file string) error
type YAMLTLSFiles ¶
Click to show internal directories.
Click to hide internal directories.