Skip to content

Commit

Permalink
dev: fix grpc proto
Browse files Browse the repository at this point in the history
  • Loading branch information
wwhai committed Jun 8, 2022
1 parent 3eec47e commit b4059a1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion gen_proto.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash
# set Env path
export GOROOT=/usr/local/go
export GOROOT=/usr/bin/go
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOROOT:$GOPATH:$GOBIN
Expand Down
48 changes: 24 additions & 24 deletions sidecar/sidecar.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sidecar/sidecar.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package sidecar;

service sidecar {
// 初始化, 主要是为了传配置进去
rpc Init (Config) returns (Request) {}
rpc Init (Config) returns (Response) {}
// 启动
rpc Start (Request) returns (Response) {}
// 获取状态
Expand Down
10 changes: 5 additions & 5 deletions sidecar/sidecar_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b4059a1

Please sign in to comment.