handlers

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlers

func NewHandlers(r *Repository)

NewHandlers sets the repository for the handlers

Types

type Repository

type Repository struct {
	App *config.AppConfig
}

Repository is the repository type

var Repo *Repository

Repo used by the handlers

func NewRepo

func NewRepo(a *config.AppConfig) *Repository

NewRepo creates a new repository

func (*Repository) Consumer

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

func (*Repository) Home

func (m *Repository) Home(args models.HomeArgs) http.HandlerFunc

func (*Repository) SSLInfo

func (m *Repository) SSLInfo(args models.HomeArgs) http.HandlerFunc

Jump to

Keyboard shortcuts

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