github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/router/router.go (about) 1 package router 2 3 import "github.com/asynkron/protoactor-go/actor" 4 5 // A type that satisfies router.Interface can be used as a router 6 type State interface { 7 RouteMessage(message interface{}) 8 SetRoutees(routees *actor.PIDSet) 9 GetRoutees() *actor.PIDSet 10 SetSender(sender actor.SenderContext) 11 }