powerproto/examples/multi-config-item/README.md
storyicon 15047711a9
feat(*): support perComandTimeout & variables in options
Signed-off-by: storyicon <yuanchao@bilibili.com>
2021-08-28 14:36:47 +08:00

1.1 KiB

Using Multi Config Items

This example uses two different configurations for "using-gogo" and "using-googleapis" through the "scope" field.

It uses the following public libraries:

The following plug-ins are used:

You can compile the proto file in this directory by executing the following command:

powerproto build -r .

Not surprisingly, you will get the following output:

➜ tree
.
├── README.md
├── powerproto.yaml
├── using-gogo
│   ├── service.pb.go
│   ├── service.pb.gw.go
│   └── service.proto
└── using-googleapis
    ├── service.pb.go
    ├── service.pb.gw.go
    ├── service.proto
    └── service_grpc.pb.go

2 directories, 9 files