Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 400 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 400 Bytes

Golang Function Example

Deploy a Go function using the Function API

Usage

curl "https://api.m3o.com/v1/function/Deploy" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
  "entrypoint": "Helloworld",
  "name": "example",
  "repo": "github.com/m3o/m3o",
  "subfolder": "examples/go-function",
  "runtime": "go116"
}'