MCPcopy Create free account
hub / github.com/MacroPower/kat / EventEnd

Struct EventEnd

pkg/command/command.go:93–96  ·  view source on GitHub ↗

EventEnd indicates that a command execution has ended. This event carries the output of the command execution, which could be an error if the command failed.

Source from the content-addressed store, hash-verified

91// This event carries the output of the command execution, which could be
92// an error if the command failed.
93type EventEnd struct {
94 context context.Context
95 Output Output
96}
97
98// NewEventEnd creates a new EventEnd with the given context and output.
99func NewEventEnd(ctx context.Context, output Output) EventEnd {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected