phpfest-go

command module
v0.0.0-...-7a38622 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 9 Imported by: 0

README

Demo project with gRPC and protobuf especially for PHPFest conference

Environment installations

1. protoc && protobuf

see https://grpc.io/docs/protoc-installation/

2. protoc-gen-go

see https://grpc.io/docs/languages/go/quickstart/

3. protoc-gen-go-grpc

see https://godoc.org/google.golang.org/grpc/cmd/protoc-gen-go-grpc

4. Binaries

move binary files (protoc-gen-go, protoc-gen-go-grpc) to the /usr/bin or to the /usr/local/bin library

Project installation

cd $GOPATH/src
git clone https://github.com/antondzhukov/phpfest-go.git
cd phpfest-go
make protofiles
make install

Use

Via tcp

./phpfestgo --listen-proto=tcp --listen-address=127.0.0.1:8282

Via unix socket

./phpfestgo --listen-proto=unix --listen-address=phpfestgo.sock

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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