MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / IsExpired

Method IsExpired

api/pkg/entities/message.go:145–147  ·  view source on GitHub ↗

IsExpired checks if a message is expired

()

Source from the content-addressed store, hash-verified

143
144// IsExpired checks if a message is expired
145func (message *Message) IsExpired() bool {
146 return message.Status == MessageStatusExpired
147}
148
149// CanBeRescheduled checks if a message can be rescheduled
150func (message *Message) CanBeRescheduled() bool {

Callers 4

NotificationScheduledMethod · 0.95
HandleMessageSentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected