MCPcopy Index your code
hub / github.com/crowdsecurity/crowdsec / SetStoppedAt

Method SetStoppedAt

pkg/database/ent/mutation.go:527–529  ·  view source on GitHub ↗

SetStoppedAt sets the "stoppedAt" field.

(t time.Time)

Source from the content-addressed store, hash-verified

525
526// SetStoppedAt sets the "stoppedAt" field.
527func (m *AlertMutation) SetStoppedAt(t time.Time) {
528 m.stoppedAt = &t
529}
530
531// StoppedAt returns the value of the "stoppedAt" field in the mutation.
532func (m *AlertMutation) StoppedAt() (r time.Time, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected