handler

package
v0.0.0-...-ce9bc98 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignRepo

func AssignRepo(r *Repository)

Types

type Repository

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

func NewRepository

func NewRepository(a *config.AppConfig, db *driver.DB) *Repository

func (*Repository) About

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

func (*Repository) Armani

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

func (*Repository) Book

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

func (*Repository) BookingSummary

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

func (*Repository) Contact

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

func (*Repository) Gucci

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

func (*Repository) Home

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

func (*Repository) Malabar

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

func (*Repository) PostBook

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

func (*Repository) SearchAvailability

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

Jump to

Keyboard shortcuts

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