Documentation ¶
Index ¶
- func AssignRepo(r *Repository)
- type Repository
- func (m *Repository) About(w http.ResponseWriter, r *http.Request)
- func (m *Repository) Armani(w http.ResponseWriter, r *http.Request)
- func (m *Repository) Book(w http.ResponseWriter, r *http.Request)
- func (m *Repository) BookingSummary(w http.ResponseWriter, r *http.Request)
- func (*Repository) Contact(w http.ResponseWriter, r *http.Request)
- func (m *Repository) Gucci(w http.ResponseWriter, r *http.Request)
- func (m *Repository) Home(w http.ResponseWriter, r *http.Request)
- func (m *Repository) Malabar(w http.ResponseWriter, r *http.Request)
- func (m *Repository) PostBook(w http.ResponseWriter, r *http.Request)
- func (m *Repository) SearchAvailability(w http.ResponseWriter, r *http.Request)
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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.