Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MetaAuditKey 定义开启审计的元数据键
MetaAuditKey = "audit"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventSender ¶
type EventSender struct {
ioc.ObjectImpl
Topic string `json:"topic" toml:"topic" yaml:"topic" env:"TOPIC"` // 当前消费者配置的 topic
// contains filtered or unexported fields
}
func (*EventSender) Init ¶
func (sender *EventSender) Init() error
func (*EventSender) Name ¶
func (sender *EventSender) Name() string
func (*EventSender) SendEvent ¶
func (sender *EventSender) SendEvent() restful.FilterFunction
SendEvent 审计日志的发送逻辑
Click to show internal directories.
Click to hide internal directories.