func NewOpenWhiskClient()

in src/handlers/ow.go [26:39]


func NewOpenWhiskClient(apiHost string, apiKey string, namespace string) *whisk.Client {
	client, err := whisk.NewClient(http.DefaultClient,
		&whisk.Config{
			Host:      apiHost,
			Namespace: namespace,
			AuthToken: apiKey,
		})

	if err != nil {
		panic(err)
	}

	return client
}