message

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

the core package provides basic functionality to all the major components of the code

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Text      string
	ExpiresAt *time.Time
	// contains filtered or unexported fields
}

func New

func New(text string, ttl int) *Message

func (*Message) IsNotified

func (m *Message) IsNotified(id string) bool

func (*Message) MarkNotified

func (m *Message) MarkNotified(id string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL