Skip to content

Fast and efficient API for morse code translation written in Go.

License

Notifications You must be signed in to change notification settings

KorcakDaniel/morsetranslate-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MorseTranslate - Go

MorseTranslate is an API with speed and efficiency in mind; written in Go using std library and a third party Chi router.

Routes

  • /api/v1/dictionary - returns a JSON response with the dictionary
  • /api/v1/translate/text - takes a text query parameter and returns a JSON response
  • /api/v1/translate/morsecode - takes a morsecode query parameter and returns a JSON response

Efficiency

API utilizes Go's standard library and a router from Chi, which makes it very fast. Hash map data structure is used for the models, because of the time complexity O(1) of searches.

Authentication

So far only a sample JWT token is being generated for debugging purposes.

Dependencies

License

Licensed under MIT License

About

Fast and efficient API for morse code translation written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages