app

package
v0.0.0-...-2d2cc06 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

package app stores global consts for other packages to use

Index

Constants

View Source
const (
	AppName       = "biblioteka"
	DBDir         = "."   // the db file is stored in the same dir as the go program entry point
	UniqueDelim   = "|*|" // a unique delimiter for strings
	JWTCookieName = "biblioteka-jwt"
	Port          = ":3000" // the port the program listens on
)

Variables

View Source
var (
	Host       string
	JWTKeyPath string
)

Functions

func ReadHostname

func ReadHostname()

func SetJWTKeyPath

func SetJWTKeyPath()

Types

This section is empty.

Jump to

Keyboard shortcuts

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