Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlers ¶ added in v1.0.34
func NewHandlers(r *Repository)
NewHandlers sets the repository for the handlers
Types ¶
type Repository ¶ added in v1.0.34
Repository is the repository type
var Repo *Repository
Repo the repository used by the handlers
func NewRepo ¶ added in v1.0.34
func NewRepo(a *config.AppConfig) *Repository
NewRepo creates a new repository
func (*Repository) About ¶ added in v1.0.34
func (m *Repository) About(w http.ResponseWriter, r *http.Request)
About is the handler for the about page
func (*Repository) Home ¶ added in v1.0.34
func (m *Repository) Home(w http.ResponseWriter, r *http.Request)
Home is the handler for the home page
Click to show internal directories.
Click to hide internal directories.