-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Medium
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: api-server
-
Labels:
-
Story Points:3
-
Epic Link:
Right now the api-server is structured as one large package. Splitting it into several packages would allow better use of per-package loglevels. A proposed hierarchy:
afrouter cmd afrouter.go pkg core api.go arproxy.go backend.go cluster.go config.go enums.go method-details.go router.go server.go signals.go routers affinity affinity-router.go binding binding-router.go method method-router.go round-robin round-robin-router.go source source-router.go stream codec.go connection.go request.go
Consider moving afrouter to a separate repository.