2017-04-26 09:48:37 +01:00

25 lines
1.5 KiB
Markdown

## Hello World in different languages:
For examples of hello-world in different programming languages see inside the BaseFunctions folder:
* [Base Functions](https://github.com/alexellis/faas/tree/master/sample-functions/BaseFunctions)
## Sample functions from the FaaS stack
Here is a list of the sample functions included this repository.
| Name | Details |
|------------------------|----------------------------------------- |
| AlpineFunction | BusyBox - a useful base image with busybox utilities pre-installed |
| ApiKeyProtected | Example in Golang showing how to read X-Api-Key header |
| CaptainsIntent | Alexa skill - find the count of Docker Captains |
| ChangeColorIntent | Alexa skill - change the colour of IoT-connected lights |
| CatService | Uses `cat` from BusyBox to provide an echo service |
| DockerHubStats | Golang function gives the count of repos a user has on the Docker hub |
| HostnameIntent | Prints the hostname of a container |
| NodeInfo | Node.js - gives CPU/network info on the current container |
| WebhookStash | Golang function provides way to capture webhooks - JSON/text/binary are all OK |
| WordCountFunction | BusyBox `wc` is exposed as a function / service through FaaS |
Also see the [community page](https://github.com/alexellis/faas/blob/master/community.md) for functions created by FaaS users and contributors.