datalink

module
v0.0.0-...-3e156bd Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT

README

Allow to share some secret data between users for selected count of views. If some of bots request url - app will return 404 page

ENV

Required .env file in app root directory. .env consists:

  • SERVER_HOST - where app hosted, example "127.0.0.1:8080". Default: ":8080"
  • STORAGE - enum(sqlite, ram). Which type of storage to use
  • DELETE_AFTER - Message will be erased after this count of days
Usage

Create .env in app dir
In app dir docker build -t datalink .
After docker run -it -p 8080:8080 datalink
Visit http://localhost:8080/

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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