paths

package
v0.0.0-...-66bfd90 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntriesPath = filepath.Join(StaticPath, "entries.json")

EntriesPath points to the JSON containing blog entry definitions

View Source
var PostsRedisPath = ProjectRedisPath + ":posts"

PostsRedisPath is the sub-path for blog entry data

View Source
var ProjectPath, _ = filepath.Abs(".")

ProjectPath is the main project's root path

View Source
var ProjectRedisPath = "linuxmender"

ProjectRedisPath is the "root" of all Redis paths

View Source
var SessionsRedisPath = ProjectRedisPath + ":sessions"

SessionsRedisPath is the sub-path for user session keys

View Source
var StaticPath = filepath.Join(ProjectPath, "static")

StaticPath points to the "static" sub-dir

View Source
var ViewsPath = filepath.Join(ProjectPath, "views")

ViewsPath points to the "views" sub-dir

View Source
var VisitorsRedisPath = ProjectRedisPath + ":visitors"

VisitorsRedisPath is the sub-path for the visitor/hit counter

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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