command
Version:
v0.0.0-...-7fc8bb1
Opens a new window with list of versions in this module.
Published: Apr 28, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Hello World
Hello world in gRPC!
Directory Structure
.
├── helloworld.proto
├── main.go
├── Makefile
├── protos
│ ├── helloworld_grpc.pb.go
│ └── helloworld.pb.go
├── README.md
└── server
└── server.go
Testing
To test the system install grpccurl
which is a command line tool which can interact with gRPC API's
Link to the repo is here!
go install github.com/fullstorydev/grpcurl/cmd/grpcurl
Run the server
List Services
List Methods
- Command:
grpcurl --plaintext localhost:8080 list Currency
- Output:
Greeter.SayHello
Method detail for GetRate
RateRequest detail
RateResponse detail
Execute a request
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.