go-algorithms-echo

command module
v0.0.0-...-589b2a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 3 Imported by: 0

README

Go-Algorithms-Echo

Some arbitrary algorithms implemented with Go and the Echo framework.

Algorithms

Each endpoint uses the same JSON to specify the input and output:

{
    "input":  "my input string",
    "output": "the generated output"
}

Base64

To convert a string to Base64, just POST it (as "input" inside the common JSON object) to /base64/encode.

To convert a string in Base64 back to normal, just POST it (as "input" inside the common JSON object) to /base64/decode.

ROT13

To encode or decode a string with ROT13 just POST it (as "input" inside the common JSON object) to /rot13.

Addendum

This repository is for learning purposes only. The algorithms are not tested, have minimal to none error checking and generally are not suitable for production. Use at your own risk!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL