2024-05-08 16:37:42 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2024-05-17 14:47:13 -04:00
|
|
|
"time"
|
|
|
|
|
|
2024-05-08 16:37:42 -04:00
|
|
|
"github.com/multiformats/go-multiaddr"
|
|
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Options struct {
|
2024-05-21 08:02:54 -04:00
|
|
|
Port int
|
|
|
|
|
Address string
|
2024-05-20 16:02:09 -04:00
|
|
|
LogLevel string
|
|
|
|
|
LogEncoding string
|
|
|
|
|
LogOutput string
|
2024-08-22 11:05:56 -04:00
|
|
|
FleetName string
|
2024-05-20 16:02:09 -04:00
|
|
|
ClusterID uint
|
|
|
|
|
PubSubTopics cli.StringSlice
|
|
|
|
|
DatabaseURL string
|
|
|
|
|
RetentionPolicy time.Duration
|
|
|
|
|
StoreNodes []multiaddr.Multiaddr
|
|
|
|
|
DNSDiscoveryNameserver string
|
|
|
|
|
DNSDiscoveryURLs cli.StringSlice
|
2024-07-08 10:49:48 -04:00
|
|
|
EnableMetrics bool
|
|
|
|
|
MetricsAddress string
|
|
|
|
|
MetricsPort int
|
2024-05-08 16:37:42 -04:00
|
|
|
}
|