command
Version:
v0.0.0-...-bf4ab67
Opens a new window with list of versions in this module.
Published: Jan 5, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
RPC API
This is an example of using an RPC based API
Getting Started
Run Micro API
micro api
Run Greeter Service
go run greeter/srv/main.go
Run Greeter API
go run rpc.go
Curl API
curl -H 'Content-Type: application/json' -d '{"name": "Asim"}' http://localhost:8080/greeter/hello
Output
{
"msg": "Hello Asim"
}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
proto
|
|
hello
Package go_micro_api_greeter is a generated protocol buffer package.
|
Package go_micro_api_greeter is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.