Skip to main content

Module adapters

Module adapters 

Source
Expand description

Adapters: the boundary between the core and the outside world.

Driving adapters are entry points. Driven adapters are what the core calls out to. Both are re-exported here so the split is visible in the module tree rather than only in a directory listing.

Adapters depend inward. They may import from application and domain; neither of those may import from here.

Modulesยง

primary
Driving adapters: the server transports.
secondary
Driven adapters: the client transports and the injected side-effect ports.