package server

import "net/http"

type Server struct {
	Host     string            `json:"srvhost"`
	Port     string            `json:"srvport"`
	NotesDir string            `json:"notes_directory"`
	Routes   map[string]string `json:"routes"`
	Err      error
}

type hfunc func(w http.ResponseWriter, r *http.Request)
