Перенести актуальную lab2 как базу lab3

This commit is contained in:
Vladislav Agapov
2026-10-16 11:42:02 +03:00
parent 0ab3a341aa
commit a57cbcf329
150 changed files with 10826 additions and 71 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
}