MCPcopy
hub / github.com/slimtoolkit/slim / SendStopCommand

Method SendStopCommand

pkg/test/e2e/sensor/sensor.go:378–380  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

376}
377
378func (s *Sensor) SendStopCommand(ctx context.Context) error {
379 return s.SendCommand(ctx, &command.StopMonitor{})
380}
381
382func (s *Sensor) SendStopCommandOrFail(t *testing.T, ctx context.Context) {
383 if err := s.SendStopCommand(ctx); err != nil {

Callers 1

SendStopCommandOrFailMethod · 0.95

Calls 1

SendCommandMethod · 0.95

Tested by

no test coverage detected