Skip to content

Commit 810ca7c

Browse files
committed
More work, firecracker up next?
1 parent 690ff95 commit 810ca7c

48 files changed

Lines changed: 2533 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
w.Header().Set("Content-Type", "text/plain")
13+
fmt.Fprintln(w, "Hello Fermyon!")
14+
})
15+
}
16+
17+
func main() {}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
w.Header().Set("Content-Type", "text/plain")
13+
fmt.Fprintln(w, "Hell Fermyon!")
14+
})
15+
}
16+
17+
func main() {}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
w.Header().Set("Content-Type", "text/plain")
13+
fmt.Fprintln(w, "Built Images")
14+
})
15+
}
16+
17+
func main() {}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
w.Header().Set("Content-Type", "text/plain")
13+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
14+
})
15+
}
16+
17+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
/**/
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
/* Receive a Proj-Obj and Zip Ball */
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
/* Receive a Proj-Obj and Zip Ball*/
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
/* Receive a Proj-Obj and Zip Ball, */
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package main
2+
3+
import (
4+
"fmt"
5+
"net/http"
6+
7+
spinhttp "github.com/fermyon/spin/sdk/go/v2/http"
8+
)
9+
10+
func init() {
11+
spinhttp.Handle(func(w http.ResponseWriter, r *http.Request) {
12+
/* Receive a Proj-Obj and Zip Ball, */
13+
w.Header().Set("Content-Type", "text/plain")
14+
fmt.Fprintln(w, "Built Images and Pushed to ECR")
15+
})
16+
}
17+
18+
func main() {}

0 commit comments

Comments
 (0)