Skip to content

Learn Nitro by Example (formerly Go Micro)

License

Notifications You must be signed in to change notification settings

david-hw/nitro-examples

 
 

Repository files navigation

Nitro Examples

This is a repository for Nitro examples. Feel free to contribute.

Contents

  • broker - A example of using Broker for Publish and Subscribing.
  • client - Usage of the Client package to call a service.
  • config - Using Go Config for dynamic config
  • graceful - Demonstrates graceful shutdown of a service
  • helloworld - Hello world using micro
  • noproto - Use micro without protobuf or code generation, only go types
  • options - Setting options in the go-micro framework
  • server - Use of the Server package directly to server requests.
  • service - Example of the top level Service in go-micro.
  • sharding - An example of how to shard requests or use session affinity
  • shutdown - Demonstrates graceful shutdown via context cancellation
  • stream - An example of a streaming service and client
  • waitgroup - Demonstrates how to use a waitgroup with a service

About

Learn Nitro by Example (formerly Go Micro)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.4%
  • Makefile 1.4%
  • Dockerfile 1.2%