Categorygithub.com/radu-matei/azure-functions-golang-worker
repositorypackage
0.0.1
Repository: https://github.com/radu-matei/azure-functions-golang-worker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Azure Functions Golang Worker

This project aims to add Golang support for Azure Functions.

How to run the sample

In order to register Golang as a worker for the Azure Functions Runtime you need to implement an IWorkerProvider as described here. I already did this in a fork of the Azure Functions Runtime and you can find all modifications here and pushed a Docker image on Docker Hub based on the Dockerfile here

To build the the worker and sample you need to:

  • docker build -t azure-functions-go-sample .
  • docker run -p 81:80 -it azure-functions-go-sample

Then, if you go to localhost:81/api/HttpTriggerGo, your Run method from the sample should be executed.

Disclaimer

This is not an official Azure Project - it is an unofficial project to support native Golang in Azure Functions by implementing the Worker for v2 - more details here

It is not officially supported by Microsoft and it is not guaranteed to be supported or even work.