| 51 | ) |
| 52 | |
| 53 | type state struct { |
| 54 | config.Config |
| 55 | |
| 56 | providers *xsync.Map[string, types.RouteProvider] |
| 57 | autocertProvider *autocert.Provider |
| 58 | entrypoint *entrypoint.Entrypoint |
| 59 | |
| 60 | task *task.Task |
| 61 | |
| 62 | // used for temporary logging |
| 63 | // discarded on failed reload |
| 64 | tmpLogBuf *bytes.Buffer |
| 65 | tmpLog zerolog.Logger |
| 66 | } |
| 67 | |
| 68 | type CriticalError struct { |
| 69 | err error |
nothing calls this directly
no outgoing calls
no test coverage detected