Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSlackHook ¶
func NewSlackHook(ctx context.Context, params *SlackParameter, level zapcore.Level) log.ZapWriteHook
Types ¶
type Client ¶
func (*Client) UpdateStatusMessage ¶
type SlackParameter ¶
type SlackParameter struct { Token string `json:"token"` StatusMessageChannel string `json:"status_message_channel"` StatusMessageTimestamp string `json:"status_message_timestamp"` MonitoringChannel string `json:"monitoring_channel"` }
func GetParameter ¶
func GetParameter(ctx context.Context, ssmParamName string) (*SlackParameter, stackerr.Error)
Click to show internal directories.
Click to hide internal directories.