We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c2184 commit 2f6e23bCopy full SHA for 2f6e23b
messaging/config.go
@@ -42,9 +42,9 @@ type NatsConfig struct {
42
}
43
44
type NatsClientConfig struct {
45
- NatsConfig
46
- Subject string `mapstructure:"command_subject"`
47
- Group string `mapstructure:"command_group"`
+ NatsConfig `mapstructure:",squash"`
+ Subject string `mapstructure:"command_subject"`
+ Group string `mapstructure:"command_group"`
48
49
// StartAt will configure where the client should resume the stream:
50
// - `all`: all the messages available
0 commit comments