package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Functions
ForwardAnalysisMessage constructs a forwarding message for m over cycle c.
ForwardBuildMessage constructs a forwarding message for m over cycle c.
ForwardCompilerMessage constructs a forwarding message for m over cycle c.
ForwardCopyMessage constructs a forwarding message for m over cycle c.
ForwardCycleMessage constructs a forwarding message for m.
ForwardInstanceMessage constructs a forwarding message for m over cycle c.
ForwardSaveMessage constructs a forwarding message for m over cycle c.
NewForwardObserver constructs a new ForwardObserver with the given handlers hs and message buffer capacity cap.
NewForwardReceiver constructs a new ForwardReceiver.
NewLogger constructs a new Logger writing into w, using logger flags lflag when logging things.
NewObs creates a director observer using the global configuration cfg.
# Constants
ForwardAnalysis delimits a forwarding message where Analysis is populated (Cycle contains the cycle structure).
ForwardBuild delimits a forwarding message where Build is populated (Cycle contains the cycle structure).
ForwardCompiler delimits a forwarding message where Compiler is populated (Cycle contains the cycle structure).
ForwardCopy delimits a forwarding message where Copy is populated (Cycle contains the cycle structure).
ForwardCycle delimits a forwarding message where Cycle is populated.
ForwardInstance delimits a forwarding message where Instance is populated (Cycle contains the cycle structure).
ForwardSave delimits a forwarding message where Save is populated (Cycle contains the cycle structure).
# Variables
ErrForwardHandlerNil occurs when NewForwardObserver is given a nil ForwardHandler.
# Structs
Forward contains a director observation that has been forwarded from an instance to a 'main' observer, alongside disambiguating information.
ForwardingInstanceObserver is an instance observer that just forwards every observation to a director observer.
ForwardObserver is an observer that uses a ForwardReceiver and a ForwardHandler to handle observations.
Logger is a ForwardHandler that emits logs to a writer when cycles finish up.
Obs is the standard top-level director observer.
# Interfaces
ForwardHandler is the interface of observers that can handle observations forwarded from an instance.
# Type aliases
ForwardKind is the enumeration of possible Forward messages.
ForwardReceiver holds receive channels for Forward messages.