mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-02 14:13:11 +00:00
28 lines
653 B
Go
28 lines
653 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/multiformats/go-multiaddr"
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
type Options struct {
|
|
Port int
|
|
Address string
|
|
LogLevel string
|
|
LogEncoding string
|
|
LogOutput string
|
|
FleetName string
|
|
ClusterID uint
|
|
PubSubTopics cli.StringSlice
|
|
DatabaseURL string
|
|
RetentionPolicy time.Duration
|
|
StoreNodes []multiaddr.Multiaddr
|
|
DNSDiscoveryNameserver string
|
|
DNSDiscoveryURLs cli.StringSlice
|
|
EnableMetrics bool
|
|
MetricsAddress string
|
|
MetricsPort int
|
|
}
|