handlers

package
v0.0.0-...-e9c6a3c Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlers

func NewHandlers(r *Repository)

NH sets the repository for the handlers

Types

type Repository

type Repository struct {
	App *config.AppConfig
}
var Repo *Repository

func NewRepo

func NewRepo(a *config.AppConfig) *Repository

Creates a new repository

func (*Repository) About

func (m *Repository) About(w http.ResponseWriter, r *http.Request)

func (*Repository) Home

func (m *Repository) Home(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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