https://github.com/herrjulz/openwhisk
https://github.com/herrjulz/openwhisk
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/herrjulz/openwhisk
- Owner: herrjulz
- Created: 2017-04-11T17:41:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T18:18:11.000Z (over 9 years ago)
- Last Synced: 2025-02-08T15:14:04.094Z (over 1 year 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 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"}`)
}
```