mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
16 lines
247 B
Go
16 lines
247 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitlab.oracledx.com/odx/functions/api/server"
|
|
)
|
|
|
|
func main() {
|
|
ctx := context.Background()
|
|
|
|
funcServer := server.NewFromEnv(ctx)
|
|
// Setup your custom extensions, listeners, etc here
|
|
funcServer.Start(ctx)
|
|
}
|