MCPcopy
hub / github.com/gofiber/fiber / mockService

Struct mockService

services_test.go:26–35  ·  view source on GitHub ↗

mockService implements Service interface for testing

Source from the content-addressed store, hash-verified

24
25// mockService implements Service interface for testing
26type mockService struct {
27 startError error
28 terminateError error
29 stateError error
30 name string
31 started bool
32 terminated bool
33 startDelay time.Duration
34 terminateDelay time.Duration
35}
36
37type shutdownHookStorage struct {
38 closeErr error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected