github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/router/messages.go (about) 1 package router 2 3 type ManagementMessage interface { 4 ManagementMessage() 5 } 6 7 type BroadcastMessage struct { 8 Message interface{} 9 } 10 11 func (*AddRoutee) ManagementMessage() {} 12 func (*RemoveRoutee) ManagementMessage() {} 13 func (*GetRoutees) ManagementMessage() {} 14 func (*AdjustPoolSize) ManagementMessage() {} 15 func (*BroadcastMessage) ManagementMessage() {}