1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/examples/client
2020-12-26 15:21:29 +00:00
..
codegen rename imports 2020-12-26 15:21:29 +00:00
dc_filter rename imports 2020-12-26 15:21:29 +00:00
dc_selector rename imports 2020-12-26 15:21:29 +00:00
pub rename imports 2020-12-26 15:21:29 +00:00
selector rename imports 2020-12-26 15:21:29 +00:00
wrapper rename imports 2020-12-26 15:21:29 +00:00
main.go rename imports 2020-12-26 15:21:29 +00:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Client

Contents

  • main.go - calls each of the go.micro.srv.example handlers and includes the use of the streaming handler
  • codegen - demonstrates how to use code generation to remove boilerplate code
  • dc_filter - shows how to use Select filters inside a call wrapper for filtering to the local DC
  • dc_selector - is the same as dc_filter but as a Selector implementation itself
  • pub - publishes messages using the Publish method. By default encoding in protobuf
  • selector - shows how to write and load your own Selector
  • wrapper - provides examples for how to use client Wrappers (middleware)