Home / Type/ mockService Type — fiber Architecture

mockService Type — fiber Architecture

Architecture documentation for the mockService type/interface in services_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  96a4af28_3def_187d_1c7c_3db53f213593["mockService"]
  a3b050d2_f10a_df85_e082_e3ac664a6a6c["services_test.go"]
  96a4af28_3def_187d_1c7c_3db53f213593 -->|defined in| a3b050d2_f10a_df85_e082_e3ac664a6a6c
  style 96a4af28_3def_187d_1c7c_3db53f213593 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

services_test.go lines 22–31

type mockService struct {
	startError     error
	terminateError error
	stateError     error
	name           string
	started        bool
	terminated     bool
	startDelay     time.Duration
	terminateDelay time.Duration
}

Defined In

Frequently Asked Questions

What is the mockService type?
mockService is a type/interface in the fiber codebase, defined in services_test.go.
Where is mockService defined?
mockService is defined in services_test.go at line 22.

Analyze Your Own Codebase

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

Try Supermodel Free