mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
* add buf config and generated grpc code * poc e2e grpc communication * comment out panicking code * logging help * now reads cli args. now stops grpc server on shutdown. * add mutex to GRPCServerHandler
22 lines
580 B
YAML
22 lines
580 B
YAML
# buf.gen.yaml
|
|
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
# <module_name> : name in go.mod
|
|
# <relative_path> : where generated code should be output
|
|
# default: <module_name>/<relative_path>
|
|
default: github.com/ethereum/go-ethereum/grpc
|
|
# Remove `except` field if googleapis is not used
|
|
# except:
|
|
# - buf.build/googleapis/googleapis
|
|
plugins:
|
|
- plugin: buf.build/grpc/go
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
# dependencies
|
|
- plugin: buf.build/protocolbuffers/go
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|