MCPcopy
hub / github.com/go-chi/chi

github.com/go-chi/chi @v5.3.0 sqlite

479 symbols 2,337 edges 78 files 209 documented

Extension points exported contracts — how you extend this code

Router (Interface)
Router consisting of the core routing methods used by chi's Mux, using only the standard net/http. [1 implementers]
chi.go
WrapResponseWriter (Interface)
WrapResponseWriter is a proxy around an http.ResponseWriter that allows you to hook into various parts of the response p [1 implem
middleware/wrap_writer.go
LogFormatter (Interface)
LogFormatter initiates the beginning of a new LogEntry per request. See DefaultLogFormatter for an example implementatio [1 implem
middleware/logger.go
WalkFunc (FuncType)
WalkFunc is the type of the function called for each method and route visited by Walk.
tree.go
EncoderFunc (FuncType)
An EncoderFunc is a function that wraps the provided io.Writer with a streaming compression algorithm and returns it. I
middleware/compress.go
Handler (FuncType)
(no doc)
_examples/custom-handler/main.go
Routes (Interface)
Routes interface adds two methods for router traversal, which is also used by the `docgen` subpackage to generation docu [1 implem
chi.go
LogEntry (Interface)
LogEntry records the final log when a request completes. See defaultLogEntry for an example implementation. [1 implementers]
middleware/logger.go

Core symbols highest fan-in

Get
called by 210
chi.go
Write
called by 197
middleware/logger.go
HandlerFunc
called by 161
chain.go
ServeHTTP
called by 112
mux.go
Use
called by 81
chi.go
InsertRoute
called by 75
tree.go

Shape

Function 259
Method 162
Struct 40
Interface 8
TypeAlias 7
FuncType 3

Dependencies from manifests, versioned

github.com/ajg/formv1.5.1 · 1×
github.com/go-chi/chi/v5v5.1.0 · 1×
github.com/go-chi/docgenv1.2.0 · 1×
github.com/go-chi/renderv1.0.3 · 1×

For agents

$ claude mcp add chi \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact