generated from ConduitIO/conduit-connector-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Guillem
committed
Jan 31, 2024
1 parent
8277700
commit 67d0e1c
Showing
4 changed files
with
95 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
package rabbitmq | ||
|
||
// Config contains shared config parameters, common to the source and | ||
// destination. If you don't need shared parameters you can entirely remove this | ||
// file. | ||
type Config struct { | ||
// GlobalConfigParam is named global_config_param_name and needs to be | ||
// provided by the user. | ||
GlobalConfigParam string `json:"global_config_param_name" validate:"required"` | ||
URL string `json:"url" validate:"required"` | ||
} | ||
|
||
type SourceConfig struct { | ||
Config | ||
|
||
QueueName string `json:"queueName" validate:"required"` | ||
} | ||
|
||
type DestinationConfig struct { | ||
Config | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters