klogo

command module
v0.0.0-...-c4ef6a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

klogo - logo recognition service using Cloud Run on GKE and Google Vision API

Simple go app demonstrating rest service on Cloud Run

Deploy

gcloud beta run deploy klogo \
    --image=gcr.io/knative-samples/klogo:latest \
    --set-env-vars=RELEASE=v0.0.3,GIN_MODE=release

REST Service

curl -H "Content-Type: application/json" \
     -d '{ "id": "test", "url": "https://storage.googleapis.com/kdemo-logos/k8s.png" }' \
     -X POST https://klogo.demo.knative.tech/ | jq "."

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL