image-proxy/

directory
v0.0.0-...-02c9ee4 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT

README

Image proxy sample

This is a proxy to convert jpeg/png to webp.

Compile

$ make proto

Prepare

You should install webp tool because this proxy runs cwebp command directly.

$ brew install webp

Run gRPC server

$ cd server
$ go run main.go

Run gRRC Client

$ cd client
$ go run main.go

Then you'll get webp image on client directory.

$ ls
001.webp      main.go       testimage.png

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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