1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-06 08:16:03 +02:00
go-micro/examples/client
Asim Aslam 62801c3d68 update
2021-10-13 13:31:23 +01:00
..
codegen update 2021-10-13 13:31:23 +01:00
dc_filter update 2021-10-13 13:31:23 +01:00
dc_selector update 2021-10-13 13:31:23 +01:00
pub update 2021-10-13 13:31:23 +01:00
selector update 2021-10-13 13:31:23 +01:00
wrapper update 2021-10-13 13:31:23 +01:00
main.go update 2021-10-13 13:31:23 +01: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)