This is a basic helloworld golang web program , just for personal use. It would provide a GRPC,JSON,Swagger Web Interface.
- Golang 1.7
git clone https://github.com/yank1/golang-hellowolrd.git
cd golang-hellowolrd
make
./bin/golang-hellowolrd
Access the Helloword by :
- curl http://localhost:8080/v1/ping
- Open Browser at http://localhost:8080/v1/ping
- grpcurl -plaintext 127.0.0.1:8080 helloworld.Helloworld.Ping
- echo View API document by http://localhost:8080/swagger-ui/
go run cmd/main.go
make test
make release # build image and release
TODO
docker run *******
kubectl run ********