github.com/anycable/anycable-go@v1.5.1/enats/config.go (about)

     1  package enats
     2  
     3  // Config represents NATS service configuration
     4  type Config struct {
     5  	Debug            bool
     6  	Trace            bool
     7  	Name             string
     8  	ServiceAddr      string
     9  	ClusterAddr      string
    10  	ClusterName      string
    11  	GatewayAddr      string
    12  	GatewayAdvertise string
    13  	Gateways         []string
    14  	Routes           []string
    15  	JetStream        bool
    16  	StoreDir         string
    17  	// Seconds to wait for JetStream to become ready (can take a lot of time when connecting to a cluster)
    18  	JetStreamReadyTimeout int
    19  }