MCPcopy
hub / github.com/crowdsecurity/crowdsec / SetMessage

Method SetMessage

pkg/database/ent/alert_create.go:78–81  ·  view source on GitHub ↗

SetMessage sets the "message" field.

(v string)

Source from the content-addressed store, hash-verified

76
77// SetMessage sets the "message" field.
78func (_c *AlertCreate) SetMessage(v string) *AlertCreate {
79 _c.mutation.SetMessage(v)
80 return _c
81}
82
83// SetNillableMessage sets the "message" field if the given value is not nil.
84func (_c *AlertCreate) SetNillableMessage(v *string) *AlertCreate {

Callers 2

SetNillableMessageMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected