Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Latest commit

 

History

History

go-function

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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"
}'