Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/herrjulz/openwhisk


https://github.com/herrjulz/openwhisk

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Open Whisk Library for Go

This is a small library to trigger Bluemix OpenWhisk actions from your Go apps.

## Installation

```
$ go get github.com/JulzDiverse/openwhisk
```

## Example

```
package main

import github.com/JulzDiverse/openwhisk

func main(){
whisk := openwhisk.New(
"api_endpoint" //"https://openwhisk.ng.bluemix.net/api/v1"
"token-string",
"your_bluemix_namespace", //replace '@' with '%40'
)

whisk.TriggerAction("hello", `{"payload":"json"}`)
}
```