README.md 724 Bytes
Newer Older
vicotor's avatar
vicotor committed
1 2
# MetaProtocol

xueqianLu's avatar
xueqianLu committed
3
Define base protocol-buffer. 
vicotor's avatar
vicotor committed
4

xueqianLu's avatar
xueqianLu committed
5 6
Please read [Guide](ProtobufStyle.md) first when you modify the *.proto* files.

xueqianLu's avatar
xueqianLu committed
7 8 9 10 11 12 13 14 15 16
# Add new module proto
1. install cloudstd
```go
go install github.com/slavovojacek/cloudstd@latest
```
2. add new module
```go
cloudstd proto --package "cmp.xxx.v1" --resource "shelf,shelves"
```

xueqianLu's avatar
xueqianLu committed
17 18

## Modules
Ubuntu's avatar
Ubuntu committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32

                               /\  
                              /  \
                             /    \
                 ring/gateway      contract                 
                           /         \       
                          /           \      
                         /             \
                         <--------------
                             validator