Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herrjulz/openwhisk
https://github.com/herrjulz/openwhisk
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/herrjulz/openwhisk
- Owner: herrjulz
- Created: 2017-04-11T17:41:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T18:18:11.000Z (almost 8 years ago)
- Last Synced: 2024-10-28T13:32:39.088Z (3 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 mainimport 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"}`)
}
```