This is an example of using sentinel-golang
in hertz
.
server:
- Example of using sentinel-golang in hertz server.
- You can do this by executing
curl --location --request GET 'http://127.0.0.1:8081/server_test'
command in the terminal to see the results.
client:
- Example of using sentinel-golang in hertz client. At first, you must start server.
- You can do this by executing
go run ./client/main.go
command in the terminal to see the results.