MCPcopy Index your code
hub / github.com/foxcpp/maddy / LifetimeModule

Interface LifetimeModule

framework/container/lifetime.go:30–34  ·  view source on GitHub ↗

LifetimeModule is a stateful module that needs to have post-configuration startup and graceful shutdown functionality.

Source from the content-addressed store, hash-verified

28// LifetimeModule is a stateful module that needs to have post-configuration
29// startup and graceful shutdown functionality.
30type LifetimeModule interface {
31 module.Module
32 Start() error
33 Stop() error
34}
35
36type ReloadModule interface {
37 module.Module

Callers 16

StartAllMethod · 0.65
AuthUsingHelperFunction · 0.65
testEndpointFunction · 0.65
openStorageFunction · 0.65
openUserDBFunction · 0.65
TestFileReloadFunction · 0.65
TestFileReload_BrokenFunction · 0.65
TestFileReload_RemovedFunction · 0.65
handleSignalsFunction · 0.65
StopAllMethod · 0.65
TestSubmissionPrepareFunction · 0.65

Implementers 11

Authinternal/auth/ldap/ldap.go
Endpointinternal/endpoint/imap/imap.go
Endpointinternal/endpoint/openmetrics/om.go
Endpointinternal/endpoint/smtp/smtp.go
Endpointinternal/endpoint/dovecot_sasld/doveco
Storageinternal/storage/imapsql/imapsql.go
Fileinternal/table/file.go
SQLTableinternal/table/sql_table.go
SQLinternal/table/sql_query.go
FileLoaderinternal/tls/file.go
Loaderinternal/tls/acme/acme.go

Calls

no outgoing calls

Tested by

no test coverage detected