Home / Function/ TestConfigDefault_Custom() — fiber Function Reference

TestConfigDefault_Custom() — fiber Function Reference

Architecture documentation for the TestConfigDefault_Custom() function in config_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  a9eed23f_35fa_6248_0a22_b91040b75461["TestConfigDefault_Custom()"]
  241e9eb9_26b7_8964_2df9_755bc7c35a13["config_test.go"]
  a9eed23f_35fa_6248_0a22_b91040b75461 -->|defined in| 241e9eb9_26b7_8964_2df9_755bc7c35a13
  style a9eed23f_35fa_6248_0a22_b91040b75461 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

addon/retry/config_test.go lines 16–27

func TestConfigDefault_Custom(t *testing.T) {
	t.Parallel()
	custom := Config{
		InitialInterval: 2 * time.Second,
		MaxBackoffTime:  64 * time.Second,
		Multiplier:      3.0,
		MaxRetryCount:   5,
		currentInterval: 2 * time.Second,
	}
	cfg := configDefault(custom)
	require.Equal(t, custom, cfg)
}

Domain

Subdomains

Frequently Asked Questions

What does TestConfigDefault_Custom() do?
TestConfigDefault_Custom() is a function in the fiber codebase, defined in addon/retry/config_test.go.
Where is TestConfigDefault_Custom() defined?
TestConfigDefault_Custom() is defined in addon/retry/config_test.go at line 16.

Analyze Your Own Codebase

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

Try Supermodel Free