first commit
This commit is contained in:
27
src/domain/notify.go
Normal file
27
src/domain/notify.go
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user