using-http-service

command
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

Http-Service Example

This GoFr example demonstrates an inter-service HTTP communication along with circuit-breaker as well as service health config addition.

User can use the AddHTTPService method to add an HTTP service and then later get it using GetHTTPService("service-name")

To run the example follow the below steps:
  • Make sure your other service and health endpoint is ready and up on the given address.
  • Now run the example using below command :
go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL