Yet Another short url base on golang
## crete a short url
curl -X "POST" "http://127.0.0.1:9999/local/url_create" \
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "url=https://golangcaff.com/docs/the-way-to-go/for-structure/37"
url http://127.0.0.1:9999/Mw++
- gRpc server run
go run grpc/grpc/server.go
- Run client
go run main.go
- Request
curl -X "POST" "http://127.0.0.1:9999/hello" \
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "name=Panda"
Tim
Gin
Golang
Google