8000 GitHub - project-mikan/umi.mikan: 小さく分けすぎて逆にできなくなったので、一旦動くものを作る
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

project-mikan/umi.mikan

Repository files navigation

umi.mikan

getting stareted

install

sudo pacman -S protobuf

メモ:go toolにしたいがdockerの外なので悩ましい

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
npm install -g @grpc/proto-loader

run

dc up -d

debug

サービス一覧

grpc_cli ls localhost:8080

詳細

grpc_cli ls localhost:8080 diary.DiaryService -l

type表示

grpc_cli type localhost:8080 diary.CreateDiaryEntryRequest

remote call

grpc_cli call localhost:8080 DiaryService.CreateDiaryEntry 'title: "test",content:"test"'

日記検索

grpc_cli call localhost:8080 DiaryService.SearchDiaryEntries 'userID:"id" keyword:"%日記%"'

About

小さく分けすぎて逆にできなくなったので、一旦動くものを作る

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0