diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-18 12:44:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-18 12:44:55 -0700 |
| commit | 5d346d44bdec30d632840fb30c520cc2a334e004 (patch) | |
| tree | 33da765671fe3acdba5b4c7a83da677308c1a0f0 /weed/messaging/client/client.go | |
| parent | ef1274edc9f0397ca0b59d609789b41547180940 (diff) | |
| download | seaweedfs-5d346d44bdec30d632840fb30c520cc2a334e004.tar.xz seaweedfs-5d346d44bdec30d632840fb30c520cc2a334e004.zip | |
Revert "move go client out"
This reverts commit ef1274edc9f0397ca0b59d609789b41547180940.
Diffstat (limited to 'weed/messaging/client/client.go')
| -rw-r--r-- | weed/messaging/client/client.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/weed/messaging/client/client.go b/weed/messaging/client/client.go new file mode 100644 index 000000000..9bf9bc71e --- /dev/null +++ b/weed/messaging/client/client.go @@ -0,0 +1,11 @@ +package client + +type MessagingClient struct { + bootstrapBrokers []string +} + +func NewMessagingClient(bootstrapBrokers []string) *MessagingClient { + return &MessagingClient{ + bootstrapBrokers: bootstrapBrokers, + } +} |
