Skip to content

Commit

Permalink
dev: add cloud grpc apis
Browse files Browse the repository at this point in the history
  • Loading branch information
wwhai committed Sep 25, 2021
1 parent e02713d commit cbca73f
Show file tree
Hide file tree
Showing 20 changed files with 1,113 additions and 448 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ all:
.PHONY: build
build:
go mod tidy
chmod 755 ./gen_version.sh
chmod +x ./gen_version.sh
chmod 755 ./gen_proto.sh
chmod +x ./gen_proto.sh
sed -i "s/\r//" ./gen_proto.sh
sed -i "s/\r//" ./gen_version.sh
go generate
go build -ldflags "-s -w" -o ${APP} main.go

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1-preview-232add3b533016cfda4b8bac177a2629cb37d5c9
0.0.1-preview-232add3b533016cfda4b8bac177a2629cb37d5c9
7 changes: 0 additions & 7 deletions cloud/atomic_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,3 @@ func ListService(pageIndex int, pageSize int) []httpResult {
json.Unmarshal([]byte(r), &results)
return results
}

//
//
//
func CallService(id string, args []ServiceArg) CallResult {
return CallResult{}
}
243 changes: 243 additions & 0 deletions cloud/atomic_cloud.pb.go

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

Loading

0 comments on commit cbca73f

Please sign in to comment.