Added multiple services to be trigered from main API
This commit is contained in:
11
services/messaging/messaging_service.go
Normal file
11
services/messaging/messaging_service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package messaging
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func MessagingService(ch chan string) {
|
||||
for msg := range ch {
|
||||
fmt.Println("Messaging Service: ", msg)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user