5 lines
126 B
Go

package server
// Handler is a function that deals with the given request/response context.
type Handler func(Context) error