Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nursyah21/go-usermgmt-grpc
https://github.com/nursyah21/go-usermgmt-grpc
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/nursyah21/go-usermgmt-grpc
- Owner: nursyah21
- Created: 2023-02-17T14:55:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T15:56:44.000Z (over 1 year ago)
- Last Synced: 2024-06-19T19:28:31.127Z (5 months ago)
- Language: Go
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GRPC with golang
## day1
Prequisites:
other tutorials:
-
-Build a Unary Service Method
![img](/assets/unary-services.png)
generated protobuf
```bash
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative usermgmt/usrmgmt.proto
```create repository in github to place code and run
```bash
go mod tidy
```to download module
for testing run server and client
```bash
go run server/usermgmt_server.go
go run client/usermgmt_client.go
```