config

package
v0.0.0-...-bd7b159 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticAssetsPath = "/public/"

	JavscriptLink  = StaticAssetsPath + "scripts/"
	StylesheetLink = StaticAssetsPath + "styles/"
	ImageLink      = StaticAssetsPath + "images/"
)
View Source
const (
	HealthShow = "/up"

	NotesIndex = "/"
	NotesNew   = "/new"
)

Variables

View Source
var Router = chi.NewRouter()

Functions

func BasicAuth

func BasicAuth(next http.Handler) http.Handler

func LoadEnvironmentVariables

func LoadEnvironmentVariables()

func SetupRoutes

func SetupRoutes()

func StartServer

func StartServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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