api

package
v0.0.0-...-3bf5a2b Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB() *sql.DB

Types

type BaseHandler

type BaseHandler struct {
	// contains filtered or unexported fields
}

func NewBaseHandler

func NewBaseHandler(db *sql.DB) *BaseHandler

func (*BaseHandler) CreateCredentialsTable

func (h *BaseHandler) CreateCredentialsTable() (err error)

func (*BaseHandler) HomeHandler

func (h *BaseHandler) HomeHandler(w http.ResponseWriter, r *http.Request)

func (*BaseHandler) RegisterHandler

func (h *BaseHandler) RegisterHandler(w http.ResponseWriter, r *http.Request)

func (*BaseHandler) SameCalendarHandler

func (h *BaseHandler) SameCalendarHandler(w http.ResponseWriter, r *http.Request)

func (*BaseHandler) UnregisterHandler

func (h *BaseHandler) UnregisterHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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