getqr-service

command module
v0.0.0-...-be3f1ff Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

HTTP service for qr code creation

Running the application

docker-compose up --build
Running the application without Docker
go run .
Running tests (app must be running)
go test

HTTP Methods

"GET" / — Checking the server connection

    example: 
        "GET" :8080/
"GET" /ping — Checking the server connection

    example: 
        "GET" :8080/ping
"GET" /qr — Get a QR Code
    options:
        data — Data to be encoded into a qr code

    example: 
        "GET" :8080/qr?data=https://github.com/pchchv
"DELETE" /qr — Delete all QR Codes

    example: 
        "DELETE" :8080/qr

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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