github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/main.go (about) 1 package main 2 3 import ( 4 "context" 5 6 "github.com/iron-io/functions/api/server" 7 ) 8 9 func main() { 10 ctx := context.Background() 11 12 funcServer := server.NewFromEnv(ctx) 13 // Setup your custom extensions, listeners, etc here 14 15 funcServer.Start(ctx) 16 }