28 lines
516 B
Go
28 lines
516 B
Go
package domain
|
|
|
|
//go:generate go-enum -f=$GOFILE --lower --marshal
|
|
|
|
// MessageStatus defines types for messages
|
|
// ENUM(
|
|
// Good
|
|
// Warning
|
|
// Stopper
|
|
// )
|
|
type MessageStatus int //nolint:recvcheck // The methods of this are autogenerated
|
|
|
|
// MessageChannel defines chats to which messages will be sent
|
|
// ENUM(
|
|
// Test
|
|
// Web
|
|
// Panic
|
|
// Error
|
|
// )
|
|
type MessageChannel int //nolint:recvcheck // The methods of this are autogenerated
|
|
|
|
type Channels struct {
|
|
Test string
|
|
Web string
|
|
Panic string
|
|
Error string
|
|
}
|