Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

hertz

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

sentinel/hertz

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.