MCPcopy Index your code
hub / github.com/RussellLuo/slidingwindow

github.com/RussellLuo/slidingwindow @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
87 symbols 179 edges 7 files 32 documented · 37%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Datastore (Interface)
Datastore represents the central datastore. [3 implementers]
synchronizer.go
Window (Interface)
Window represents a fixed-window. [1 implementers]
slidingwindow.go
Synchronizer (Interface)
(no doc) [2 implementers]
window.go
StopFunc (FuncType)
StopFunc stops the window's sync behaviour.
slidingwindow.go
MakeFunc (FuncType)
(no doc)
window.go
NewWindow (FuncType)
NewWindow creates a new window, and returns a function to stop the possible sync behaviour within it.
slidingwindow.go
HandleFunc (FuncType)
(no doc)
window.go

Core symbols most depended-on inside this repo

Add
called by 16
synchronizer.go
Get
called by 3
synchronizer.go
NewLocalWindow
called by 3
window.go
Sync
called by 3
window.go
Count
called by 3
slidingwindow.go
Reset
called by 3
slidingwindow.go
NewLimiter
called by 3
slidingwindow.go
Allow
called by 3
slidingwindow.go

Shape

Method 47
Function 20
Struct 13
FuncType 4
Interface 3

Languages

Go100%

Modules by API surface

window.go22 symbols
synchronizer.go21 symbols
slidingwindow.go16 symbols
slidingwindow_test.go12 symbols
testutil/main.go9 symbols
example_syncwindow_test.go6 symbols
example_localwindow_test.go1 symbols

For agents

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

⬇ download graph artifact