github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/cluster/cluster_provider.go (about)

     1  package cluster
     2  
     3  //type ClusterState struct {
     4  //	BannedMembers []string `json:"blockedMembers"`
     5  //}
     6  
     7  type ClusterProvider interface {
     8  	StartMember(cluster *Cluster) error
     9  	StartClient(cluster *Cluster) error
    10  	Shutdown(graceful bool) error
    11  	// UpdateClusterState(state ClusterState) error
    12  }