Skip to content

dsrvlabs/vatz-proto

Folders and files

NameName
Last commit message
Last commit date
Jan 4, 2023
Oct 16, 2024
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Oct 17, 2023
Sep 8, 2022
Apr 15, 2022
Aug 27, 2022
Apr 15, 2022
Jan 4, 2023
Sep 8, 2022
Oct 16, 2024
Oct 16, 2024

Repository files navigation

Vatz Proto

This is a Proto Buffer for DSRV's Vatz Node management system.

Here's simple path

├── manager
│   └── v1
│       ├── manager_grpc.pb.go
│       └── manager.pb.go
├── plugin
│   └── v1
│       ├── plugin_grpc.pb.go
│       └── plugin.pb.go
├── proto
│   └── vatz
│       ├── manager
│       │   └── v1
│       │       └── manager.proto
│       ├── plugin
│       │   └── v1
│       │       └── plugin.proto
│       └── rpc
│           └── v1
│               └── rpc.proto
├── README.md
└── rpc
    └── v1
            ├── rpc_grpc.pb.go
                    └── rpc.pb.go

All proto files go to under path proto folder and compiled proto files would locate at default-path with their service name as above Put any change in shared excel first if there's any update with Vatz-Proto


Configuration for private repo access

Ref1: https://www.digitalocean.com/community/tutorials/how-to-use-a-private-go-module-in-your-own-project Basic guide.

Ref2: https://stackoverflow.com/questions/69682030/how-to-go-get-private-repos-using-ssh-key-auth-with-password We have to change the way go get invokes ssh, by disabling batch mode.

$ export GOPRIVATE=github.com/hqueue/vatz-secret
$ env GIT_SSH_COMMAND="ssh -o ControlMaster=no -o BatchMode=no" go get github.com/hqueue/vatz-secret
$ make

Submodule

To enable google.api.http option, gprc-gateway repo is added by submodule.

Build

~$ go mod tidy
~$ make all
~$ make gateway