mockService implements Service interface for testing
| 24 | |
| 25 | // mockService implements Service interface for testing |
| 26 | type 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 | |
| 37 | type shutdownHookStorage struct { |
| 38 | closeErr error |
nothing calls this directly
no outgoing calls
no test coverage detected