Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(s Story, opts ...HandlerOption) http.Handler
Types ¶
type HandlerOption ¶
type HandlerOption func(h *handler)
func WithPathFunc ¶
func WithPathFunc(fn pathFunc) HandlerOption
func WithTemplate ¶
func WithTemplate(t *template.Template) HandlerOption
Click to show internal directories.
Click to hide internal directories.