1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-micro/examples/client
2021-01-20 21:28:48 +00:00
..
codegen examples at v3 2021-01-20 21:28:48 +00:00
dc_filter examples at v3 2021-01-20 21:28:48 +00:00
dc_selector examples at v3 2021-01-20 21:28:48 +00:00
pub examples at v3 2021-01-20 21:28:48 +00:00
selector examples at v3 2021-01-20 21:28:48 +00:00
wrapper examples at v3 2021-01-20 21:28:48 +00:00
main.go examples at v3 2021-01-20 21:28:48 +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)