Versions in this module Expand all Collapse all v0 v0.2.0 Jan 3, 2026 Changes in this version + var ErrNilContext = errors.New("nil context") + var ErrNoCycles = errors.New("cycles must be > 0") + type Controller struct + func NewController() *Controller + func (m *Controller) GetState() *state.NetworkState + func (m *Controller) LoadPreset(name string, params map[string]int) error + func (m *Controller) Rebuild(cfg config.EntityConfig) error + func (m *Controller) Run(ctx context.Context, cfg config.EntityConfig, cycles uint64) error + func (m *Controller) SetState(ns state.NetworkState) + func (m *Controller) Subscribe() <-chan state.NetworkState