Runtime is the main entry point to the Mixer runtime environment. It listens to configuration, instantiates handler instances, creates the dispatch machinery and handles incoming requests.
New returns a new instance of Runtime.
Dispatcher returns the dispatcher.Dispatcher that is implemented by this runtime package.
StartListening directs Runtime to start listening to configuration changes. As config changes, runtime processes the confguration and creates a dispatcher.
StopListening directs Runtime to stop listening to configuration changes. It will not unload the current configuration, or close the existing adapters.
|config||Package config is designed to listen to the config changes through the store and create a fully-resolved configuration state that can be used by the rest of the runtime code.|
|dispatcher||Package dispatcher is used to dispatch incoming requests to one or more handlers.|
|lang||Package lang chooses a language runtime for expressions.|
|routing||Package routing implements a routing table for resolving incoming requests to handlers.|