MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / SetMessage

Method SetMessage

pkg/database/ent/mutation.go:359–361  ·  view source on GitHub ↗

SetMessage sets the "message" field.

(s string)

Source from the content-addressed store, hash-verified

357
358// SetMessage sets the "message" field.
359func (m *AlertMutation) SetMessage(s string) {
360 m.message = &s
361}
362
363// Message returns the value of the "message" field in the mutation.
364func (m *AlertMutation) Message() (r string, exists bool) {

Callers 3

SetFieldMethod · 0.95
createAlertBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected