server

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeHandler

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

HomeHandler renders the homepage view template

Types

type Server

type Server interface {
	Router() http.Handler
	// contains filtered or unexported methods
}

func New

func New(repo task.TaskRepository) Server

New returns a Server

Jump to

Keyboard shortcuts

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