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.
2 parents 22c2184 + 2f6e23b commit 300241bCopy full SHA for 300241b
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