github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/remote/kind.go (about) 1 package remote 2 3 import "github.com/asynkron/protoactor-go/actor" 4 5 // Kind is the configuration for a kind 6 type Kind struct { 7 Kind string 8 Props *actor.Props 9 } 10 11 // NewKind creates a new kind configuration 12 func NewKind(kind string, props *actor.Props) *Kind { 13 return &Kind{ 14 Kind: kind, 15 Props: props, 16 } 17 }