mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-29 13:44:29 +00:00
feat: adapt new logging to uploader, deployer and notifier providers
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
package notifier
|
||||
|
||||
import "context"
|
||||
import (
|
||||
"context"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
// 表示定义消息通知器的抽象类型接口。
|
||||
type Notifier interface {
|
||||
WithLogger(logger *slog.Logger) Notifier
|
||||
|
||||
// 发送通知。
|
||||
//
|
||||
// 入参:
|
||||
|
Reference in New Issue
Block a user