Skip to content

Latest commit

 

History

History

time-sync

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

time-sync-demo

How to run?

  • run go mod tidy to install libraries
  • run go run cmd/main.go to start server

How to use?

  • start sync with sending a websocket message to: ws://localhost:8080/time/sync

    message type: JSON, data: { "bpm": 120 }

  • stop sync with sending a GET request to: http://localhost:8080/time/stop