app

package
v0.0.0-...-cd9e512 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	IP string
	DB db.DataBase
}

func (App) CreateNotePage

func (app App) CreateNotePage(wr http.ResponseWriter, req *http.Request)

func (App) HandleRequests

func (app App) HandleRequests()

func (App) LoginPage

func (app App) LoginPage(wr http.ResponseWriter, req *http.Request)

func (App) MainPage

func (app App) MainPage(wr http.ResponseWriter, req *http.Request)

func (App) RegistrationPage

func (app App) RegistrationPage(wr http.ResponseWriter, req *http.Request)

func (App) UserNotesPage

func (app App) UserNotesPage(wr http.ResponseWriter, req *http.Request)

type NotesPage

type NotesPage struct {
	Amount int64
	Notes  []models.Note
}

Jump to

Keyboard shortcuts

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