Documentation ¶
Index ¶
Constants ¶
View Source
const DisconnectStaleNodePeriod = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
func DisconnectThread ¶
func DisconnectThread(orchestrator *Orchestrator, ctx context.Context, logger *slog.Logger, done func())
func GetCliCommand ¶
func GetCliCommand() *cli.Command
func OServerThread ¶
func OServerThread(orchestrator *Orchestrator, ctx context.Context, logger *slog.Logger, done func())
Types ¶
type NodeConnection ¶
type NodeRegistration ¶
type Orchestrator ¶
type Orchestrator struct { Port int Nodes map[string]*NodeConnection LogFile string CertPath string }
func (*Orchestrator) Run ¶
func (orchestrator *Orchestrator) Run() (err error)
Click to show internal directories.
Click to hide internal directories.