myapp

command module
v0.0.0-...-66304de Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

myapp

This application is used as an example HTTP/SQLite application for Litestream tutorials. It simply maintains a count of HTTP requests and persists it to a SQLite database.

Usage

To build the application, simply run:

go install .

Then run the application and specify the location of the SQLite database:

myapp -dsn /path/to/db

The application is now running on http://localhost:8080/

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