event

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server 事件消费者服务

func NewEventServer

func NewEventServer(
	cfg *config.Config,
	eventConsumer *event.ConsumerService,
	registry *diEvent.HandlerRegistry,
) *Server

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) IsEnabled

func (s *Server) IsEnabled() bool

func (*Server) Name

func (s *Server) Name() string

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

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