Created
January 31, 2017 23:42
-
-
Save treeder/85fb8d0fa5c76bce0181b1b18a2d4f7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"github.com/iron-io/functions/api/server" | |
) | |
func main() { | |
ctx := context.Background() | |
funcServer := server.NewFromEnv(ctx) | |
// Setup your custom extensions, listeners, etc here | |
funcServer.Start(ctx) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment