Skip to content

Instantly share code, notes, and snippets.

@treeder
Created January 31, 2017 23:42
Show Gist options
  • Save treeder/85fb8d0fa5c76bce0181b1b18a2d4f7f to your computer and use it in GitHub Desktop.
Save treeder/85fb8d0fa5c76bce0181b1b18a2d4f7f to your computer and use it in GitHub Desktop.
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