Skip to content
sample hello world grpc client & service
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/hello
messaging
Makefile
README.txt
go.mod
go.sum

README.txt

DEPENDENCIES

	1. protoc


		curl -SOL https://github.com/protocolbuffers/protobuf/releases/download/v3.11.2/protoc-3.11.2-linux-x86_64.zip
		unzip protoc-3.11.2-linux-x86_64.zip
		mv ./bin/protoc /usr/local/bin

	2. protoc-gen-go

		go get -u github.com/golang/protobuf/{proto,protoc-gen-go}


USAGE

	1. build the binary

		make

	2. run the server

		./hello -server

	3. run the client

		./hello

You can’t perform that action at this time.