Documentation
¶
Index ¶
Constants ¶
View Source
const (
SaveMessageCommandType icommands.Type = "save_message"
)
Variables ¶
View Source
var (
ErrInvalidCommandType = errors.New("invalid command type")
)
Functions ¶
This section is empty.
Types ¶
type SaveMessageCommand ¶
type SaveMessageCommand struct { ID string RoomID string UserID string Text string Metadata messages.Metadata PublishedAt time.Time }
func (SaveMessageCommand) Type ¶
func (SaveMessageCommand) Type() icommands.Type
type SaveMessageCommandHandler ¶
type SaveMessageCommandHandler struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.