Skip to content

An example of two Go web services using a sleuth network.

License

Notifications You must be signed in to change notification settings

afshin/sleuth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleuth-example

This is an example of two web services: an article-service and a comment-service. The article service is dependent on the comment service.

The http branch solves this dependency by making HTTP requests, assuming that the comment service is on the same machine and its port never changes.

The master branch solves this dependency by creating a sleuth network between the two services.

This codebase is the basis for a tutorial on how to use sleuth: "Service autodiscovery in Go with sleuth".

About

An example of two Go web services using a sleuth network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages