We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
package rate
import (
"time"
"github.com/Southclaws/swirl"
"github.com/Southclaws/storyden/internal/infrastructure/cache"
)
type LimiterFactory struct {
store swirl.Store
}
func NewFactory(
store cache.Store,
) *LimiterFactory {
return &LimiterFactory{
store: store,
}
}
func (f *LimiterFactory) NewLimiter(
limit int,
period time.Duration,
expiry time.Duration,
) Limiter {
return wrap(swirl.New(f.store, limit, period, expiry))
}