github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/README.md (about) 1 # Examples 2 3 This is a repository for go-micro examples. Feel free to contribute. 4 5 ## Contents 6 7 - [api](api) - Provides API usage examples 8 - [booking](booking) - A booking.com demo application 9 - [broker](broker) - A example of using Broker for Publish and Subscribing. 10 - [client](client) - Usage of the Client package to call a service. 11 - [command](command) - An example of bot commands as micro services 12 - [config](config) - Using Go Config for dynamic config 13 - [event](event) - Using the API Gateway event handler 14 - [filter](filter) - Filter nodes of a service when requesting 15 - [flags](flags) - Using command line flags with a service 16 - [form](form) - How to parse a form behind the micro api 17 - [function](function) - Example of using Function programming model 18 - [getip](getip) - Get the local and remote ip from metadata 19 - [graceful](graceful) - Demonstrates graceful shutdown of a service 20 - [greeter](greeter) - A complete greeter example (includes python, ruby examples) 21 - [heartbeat](heartbeat) - Make services heartbeat with discovery for high availability 22 - [helloworld](helloworld) - Hello world using micro 23 - [kubernetes](kubernetes) - Examples of using the k8s registry and grpc 24 - [metadata](metadata) - Extracting metadata from context of a request 25 - [mocking](mocking) - Demonstrate mocking helloworld service 26 - [noproto](noproto) - Use micro without protobuf or code generation, only go types 27 - [options](options) - Setting options in the go-micro framework 28 - [plugins](plugins) - How to use plugins 29 - [pubsub](pubsub) - Example of using pubsub at the client/server level 30 - [grpc](grpc) - Examples of how to use [go-micro/service/grpc](https://github.com/micro/go-micro/service/grpc) 31 - [redirect](redirect) - An example of how to http redirect using an API service 32 - [roundrobin](roundrobin) - A stateful client wrapper for true round robin of requests 33 - [secure](secure) - Demonstrates use of transport secure option for self signed certs 34 - [server](server) - Use of the Server package directly to server requests. 35 - [service](service) - Example of the top level Service in go-micro. 36 - [sharding](sharding) - An example of how to shard requests or use session affinity 37 - [shutdown](shutdown) - Demonstrates graceful shutdown via context cancellation 38 - [stream](stream) - An example of a streaming service and client 39 - [template](template) - Api, web and srv service templates generated with the 'micro new' command 40 - [tunnel](tunnel) - How to use connection tunneling with the tunnel package 41 - [waitgroup](waitgroup) - Demonstrates how to use a waitgroup with a service 42 - [wrapper](wrapper) - A simple example of using a log wrapper