directory
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jan 30, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
This is an example of sending metadata/headers.
HTTP headers sent to the micro api will be converted to metadata and forwarded on.
Contents
- srv - an RPC service which extracts metadata
- cli - an RPC client that calls the service once
Run Service
Start go.micro.srv.greeter
go run srv/main.go
Client
Call go.micro.srv.greeter via client
go run cli/main.go
Directories
¶
Click to show internal directories.
Click to hide internal directories.