Skip to content

Commit 4ae0803

Browse files
rdimitrovalexellis
authored andcommitted
Update README.md and fix yml language naming
Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent 28fd0ee commit 4ae0803

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ $ faas new --list
99
1010
Languages available as templates:
1111
- golang-http
12+
- golang-http-armhf
1213
- golang-middleware
14+
- golang-middleware-armhf
1315
```
1416

17+
> To build and deploy a function for your Raspberry Pi or ARMv7 in general, use the language templates ending in `-armhf`.
18+
1519
The two templates are equivalent with `golang-http` using a structured request/response object and the alternative implementing a Golang `http.HandleFunc` from the Golang stdlib. `golang-http` is more "conventional" for a Golang serverless template but this is a question of style/taste.
1620

1721
## 1.0 golang-http
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
language: go-armhf
1+
language: golang-http-armhf
22
fprocess: ./handler

template/golang-http/template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
language: go
1+
language: golang-http
22
fprocess: ./handler

0 commit comments

Comments
 (0)