radu-matei / azure-functions-golang-worker

Golang worker for Azure Functions
MIT License
41 stars 6 forks source link

Consider adding a map of functions for event handlers #1

Closed radu-matei closed 6 years ago

radu-matei commented 6 years ago

For every type of message there has to be a handler - https://github.com/radu-matei/azure-functions-golang-worker/blob/master/worker/worker.go#L11

Consider adding a map of functions and execute the corresponding handler automatically.