Home / Type/ countingFailStorage Type — fiber Architecture

countingFailStorage Type — fiber Architecture

Architecture documentation for the countingFailStorage type/interface in limiter_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  fcbce24a_2805_0ee3_4f61_731bc9a24f46["countingFailStorage"]
  0509da96_221e_0d0d_fe2e_f2e2e3695b6f["limiter_test.go"]
  fcbce24a_2805_0ee3_4f61_731bc9a24f46 -->|defined in| 0509da96_221e_0d0d_fe2e_f2e2e3695b6f
  style fcbce24a_2805_0ee3_4f61_731bc9a24f46 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/limiter/limiter_test.go lines 37–42

type countingFailStorage struct {
	*failingLimiterStorage
	setFailErr error
	setCount   int
	failAfterN int
}

Frequently Asked Questions

What is the countingFailStorage type?
countingFailStorage is a type/interface in the fiber codebase, defined in middleware/limiter/limiter_test.go.
Where is countingFailStorage defined?
countingFailStorage is defined in middleware/limiter/limiter_test.go at line 37.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free