Skip to content

Obviously not production ready elevator simulation

License

Notifications You must be signed in to change notification settings

quangIO/Elevator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

service.Elevator

forthebadge forthebadge

Implement simple threaded elevator control system (don't use this in production please).

(default run on port 4567)

Endpoints

GET /i/:eid/:floor

User makes request to :floor in the :eid elevator

GET /o/:dir/:floor

User makes request with direction :dir (either u for UP or d for DOWN) from :floor

GET /status

See current overall status

Todo

  • Elevator is not splay tree, save power
  • Write unit tests
  • Migrate to Kotlin coroutines
  • Maintenance mode
  • Write better todo

About

Obviously not production ready elevator simulation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages