Implement lab 2 with PostgreSQL, Valkey admission and Helm deployment

This commit is contained in:
Vladislav Agapov
2026-10-15 17:09:26 +03:00
parent 65003b6119
commit b90581f613
184 changed files with 15853 additions and 56 deletions
+12
View File
@@ -0,0 +1,12 @@
// Package controller connects transport lifecycles to Fx.
package controller
import "context"
// Controller is a process-owned transport server.
type Controller interface {
// Start acquires the listener and reports startup errors to the lifecycle owner.
Start(context.Context) error
// Stop stops accepting work and drains active requests within the supplied deadline.
Stop(context.Context) error
}