impl

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditServiceImpl

type AuditServiceImpl struct {
	// 继承模版
	ioc.ObjectImpl

	// 当前这个消费者 配置的topic
	AuditTopic string `toml:"topic" json:"topic" yaml:"topic"  env:"TOPIC"`
	// contains filtered or unexported fields
}

业务具体实现

func (*AuditServiceImpl) Init

func (i *AuditServiceImpl) Init() error

初始化

func (*AuditServiceImpl) Name

func (i *AuditServiceImpl) Name() string

对象名称

func (*AuditServiceImpl) Priority

func (i *AuditServiceImpl) Priority() int

func (*AuditServiceImpl) QueryEvent

查询

func (*AuditServiceImpl) RunSaveEventConsumer

func (c *AuditServiceImpl) RunSaveEventConsumer(ctx context.Context) error

读取消息,处理消息

func (*AuditServiceImpl) SaveEvent

func (i *AuditServiceImpl) SaveEvent(ctx context.Context, in *audit.AuditLog) error

存储

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL