You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
215 B

5 years ago
  1. package client
  2. type MessagingClient struct {
  3. bootstrapBrokers []string
  4. }
  5. func NewMessagingClient(bootstrapBrokers []string) *MessagingClient {
  6. return &MessagingClient{
  7. bootstrapBrokers: bootstrapBrokers,
  8. }
  9. }