Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMessage ¶
func ParseMessage(message domain.NotificationMessage, templates domain.NotificationMessages, defaultTemplateFiles embed.FS) (string, error)
Types ¶
type Config ¶
type Config struct { Workspace LarkWorkspace Messages domain.NotificationMessages }
type LarkWorkspace ¶
type Notifier ¶
type Notifier struct { Messages domain.NotificationMessages // contains filtered or unexported fields }
func NewNotifier ¶
type WorkSpaceConfig ¶
type WorkSpaceConfig struct {
Workspaces []LarkWorkspace `mapstructure:"workspaces"`
}
Click to show internal directories.
Click to hide internal directories.