new payment methods service

This commit is contained in:
Stephan D
2026-02-12 21:10:33 +01:00
parent b80dca0ce9
commit a862e27087
106 changed files with 3262 additions and 414 deletions

View File

@@ -0,0 +1,16 @@
package serverimp
import "context"
func (i *Imp) shutdownApp() {
if i == nil || i.app == nil {
return
}
timeout := i.config.Runtime.ShutdownTimeout()
ctx, cancel := context.WithTimeout(context.Background(), timeout)
defer cancel()
i.app.Shutdown(ctx)
i.app = nil
}