pile

command module
v0.0.0-...-9861b92 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 6 Imported by: 0

README

pile

sudo s2i build https://github.com/<username>/pile.git -r master docker.io/<username>/blueprint-go-19-centos7 pile
docker tag pile docker.io/<username>/pile
docker push docker.io/<username>/pile

oc new-app <username>/pile
oc tag --scheduled --source=docker <username>/pile:latest pile:latest

or

oc new-app <username>/blueprint-go-18-centos7~https://github.com/<username>/pile.git

and

oc expose service pile

Documentation

Overview

Package main is the entry point for the web application.

Directories

Path Synopsis
Package controller loads the routes for each of the controllers.
Package controller loads the routes for each of the controllers.
about
Package about displays the About page.
Package about displays the About page.
debug
Package debug provides access to pprof.
Package debug provides access to pprof.
head
Package head
Package head
home
Package home displays the Home page.
Package home displays the Home page.
login
Package login handles the user login.
Package login handles the user login.
notepad
Package notepad provides a simple CRUD application in a web page.
Package notepad provides a simple CRUD application in a web page.
register
Package register handles the user creation.
Package register handles the user creation.
roster
Package roster
Package roster
static
Package static serves static files like CSS, JavaScript, and images.
Package static serves static files like CSS, JavaScript, and images.
status
Package status provides all the error pages like 404, 405, 500, 501, and the page when a CSRF token is invalid.
Package status provides all the error pages like 404, 405, 500, 501, and the page when a CSRF token is invalid.
lib
boot
Package boot handles the initialization of the web components.
Package boot handles the initialization of the web components.
env
Package env reads the application settings.
Package env reads the application settings.
flight
Package flight provides access to the application settings safely.
Package flight provides access to the application settings safely.
ldapx
Package ldapx
Package ldapx
middleware
acl
Package acl provides http.Handlers to prevent access to pages for authenticated users and for non-authenticated users.
Package acl provides http.Handlers to prevent access to pages for authenticated users and for non-authenticated users.
logrequest
Package logrequest provides an http.Handler that logs when a request is made to the application and lists the remote address, the HTTP method, and the URL.
Package logrequest provides an http.Handler that logs when a request is made to the application and lists the remote address, the HTTP method, and the URL.
rest
Package rest allows changing the HTTP method via a query string.
Package rest allows changing the HTTP method via a query string.
model
gitpages
Package gitwiki - tbd
Package gitwiki - tbd
note
Package note provides access to the note table in the MySQL database.
Package note provides access to the note table in the MySQL database.
user
Package user provides access to the user table in the MySQL database.
Package user provides access to the user table in the MySQL database.
userstatus
Package userstatus provides access to the user_status table in the MySQL database.
Package userstatus provides access to the user_status table in the MySQL database.
viewfunc
link
Package link provides a funcmap for html/template to generate a hyperlink.
Package link provides a funcmap for html/template to generate a hyperlink.
noescape
Package noescape provides a funcmap for html/template to prevent escaping a string.
Package noescape provides a funcmap for html/template to prevent escaping a string.
prettytime
Package prettytime provides a funcmap for html/template that displays time using an easy to read format.
Package prettytime provides a funcmap for html/template that displays time using an easy to read format.
viewmodify
authlevel
Package authlevel adds an AuthLevel variable to the view template.
Package authlevel adds an AuthLevel variable to the view template.
flash
Package flash adds the flashes to the view template.
Package flash adds the flashes to the view template.
uri
Package uri adds URI shortcuts to the view template.
Package uri adds URI shortcuts to the view template.

Jump to

Keyboard shortcuts

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