This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// Copyright 2023 ROC. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
packagechain
import(
"github.com/alimy/tryst/event"
"github.com/rocboss/paopao-ce/internal/events"
"github.com/rocboss/paopao-ce/internal/model/web"
"github.com/sirupsen/logrus"
)
typeAuditHookEventstruct{
event.UnimplementedEvent
ami*web.AuditMetaInfo
}
func(e*AuditHookEvent)Name()string{
return"AuditHookEvent"
}
func(e*AuditHookEvent)Action()error{
// TODO: just log event now, will add real logic in future.