# Packages
No description provided by the author
# Functions
DefaultConfig returns default config for Dispatcher.
New returns Dispatcher with cluster interface(usually raft.Node).
# Constants
DefaultHeartBeatPeriod is used for setting default value in cluster config and in case if cluster config is missing.
# Variables
ErrNodeAlreadyRegistered returned if node with same ID was already registered with this dispatcher.
ErrNodeNotFound returned when the Node doesn't exist in raft.
ErrNodeNotRegistered returned if node with such ID wasn't registered with this dispatcher.
ErrSessionInvalid returned when the session in use is no longer valid.
# Structs
Config is configuration for Dispatcher.
Dispatcher is responsible for dispatching tasks and tracking agent health.
# Interfaces
Cluster is interface which represent raft cluster.