server

package
v0.0.0-...-785145d Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppName is the name of the app.
	AppName = "giffy"
)

Variables

View Source
var (
	// ViewPaths are paths to load into the view cache.
	ViewPaths = []string{
		"server/_views/header.html",
		"server/_views/footer.html",
		"server/_views/not_found.html",
		"server/_views/error.html",
		"server/_views/bad_request.html",
		"server/_views/not_authorized.html",
		"server/_views/login_complete.html",
		"server/_views/upload_image.html",
		"server/_views/upload_image_complete.html",
		"server/_views/privacy.html",
		"server/_views/tos.html",
	}
)

Functions

func New

func New(cfg *config.Giffy) (*web.App, error)

New returns a new server instance.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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