@@ -17,6 +17,12 @@ type Commander struct {
|
||||
agents map[string]Agent
|
||||
}
|
||||
|
||||
func New() *Commander {
|
||||
return &Commander{
|
||||
agents: make(map[string]Agent),
|
||||
}
|
||||
}
|
||||
|
||||
type Agent struct {
|
||||
bidi grpc.BidiStreamingServer[proto.FinishedCommand, proto.Command]
|
||||
in chan *proto.Command
|
||||
|
||||
Reference in New Issue
Block a user