Versions in this module Expand all Collapse all v2 deprecated v2.1.1 Sep 7, 2023 Changes in this version + func JSONRoutesDoc(r chi.Routes) string + func MarkdownRoutesDoc(r chi.Router, opts MarkdownOpts) string + func PrintRoutes(r chi.Routes) + type Doc struct + Router DocRouter + func BuildDoc(r chi.Routes) (Doc, error) + type DocHandler struct + Method string + Middlewares []DocMiddleware + type DocHandlers map[string]DocHandler + type DocMiddleware struct + type DocRoute struct + Handlers DocHandlers + Pattern string + Router *DocRouter + type DocRouter struct + Middlewares []DocMiddleware + Routes DocRoutes + type DocRoutes map[string]DocRoute + type FuncInfo struct + Anonymous bool + Comment string + File string + Func string + Line int + Pkg string + Unresolvable bool + type MarkdownDoc struct + Doc Doc + Opts MarkdownOpts + Router chi.Router + Routes map[string]DocRouter + func (md *MarkdownDoc) Generate() error + func (md *MarkdownDoc) String() string + func (md *MarkdownDoc) WriteIntro() + func (md *MarkdownDoc) WriteRoutes() + type MarkdownOpts struct + ForceRelativeLinks bool + Intro string + ProjectPath string + URLMap map[string]string Other modules containing this package github.com/go-chi/chi