Files
fn-serverless/cmd/fnserver/main.go
2018-05-09 10:52:52 +03:00

15 lines
335 B
Go

package main
import (
"context"
"github.com/fnproject/fn/api/server"
// EXTENSIONS: Add extension imports here or use `fn build-server`. Learn more: https://github.com/fnproject/fn/blob/master/docs/operating/extending.md
)
func main() {
ctx := context.Background()
funcServer := server.NewFromEnv(ctx)
funcServer.Start(ctx)
}