thing

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

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 38 Imported by: 0

README

About

This is my first major programming project, and my first major experience with Golang, so please excuse the messiness and feel free to let me know if there are any major issues! I started out with the Golang.org Wiki guide, but after finishing that up quicker than I thought, I decided to see what other functionality I could build in... Note: I may have gotten carried away. :D

You can see it in action here.

Features

As of 05/09/2015, the doodad has the following features:

Configuration

The app expects a file named 'conf.json' in the same directory as the binary, containing the following structure. I have added comments here for clarity, so if copying and pasting, remove them:

{
    //What port you want the app to listen on
    "Port": "3000",

    //Username of the initial admin user
    "Username": "admin",

    //Password of the initial admin user
    "Password": "admin",

    //Email of the initial admin user
    "Email": "admin@main.tld",

    //Directoy where images should be uploaded to
    "ImgDir": "./up-imgs/",

    //Directory where files should be uploaded to
    "FileDir": "./up-files/",

    //The domain where all functions should be
    "MainTLD": "the.main.tld",

    //The domain where wildcard-subdomains are used for short URLs
    "ShortTLD": "short.tld",

    //The domain where a feature-limited image gallery is served
    "ImageTLD": "image.tld",

    //The domain where all embiggened GIFs can be linked to, for easy linking
    "GifTLD": "gif.tld"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
utils
date command
shorturl command
vfs

Jump to

Keyboard shortcuts

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