Versions in this module Expand all Collapse all v1 v1.3.0 Nov 20, 2022 v1.2.0 Mar 25, 2021 v1.1.0 Dec 7, 2020 v1.0.5 Jan 14, 2019 v1.0.3 Jan 8, 2019 v1.0.2 Aug 8, 2017 v1.0.1 Aug 8, 2017 Changes in this version type FuncInfo + func GetFuncInfo(i interface{}) FuncInfo v1.0.0 Jul 6, 2017 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