handler

package
v0.0.0-...-d5b0b98 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// ProducerConfConnector is name of the producer configuration
	ProducerConfConnector cc.ProducerConfConnector
	// ProcessorConfConnector is name of the processor configuration
	ProcessorConfConnector cc.ProcessorConfConnector
}

Handler is the handler for events

func New

func New(opts *options.Options) (*Handler, error)

New creates a new handler

func (*Handler) GetProcessor

func (s *Handler) GetProcessor(c *gin.Context)

GetProcessor gets the processor information

func (*Handler) GetProducer

func (s *Handler) GetProducer(c *gin.Context)

GetProducer get producer information

func (*Handler) SetProcessor

func (s *Handler) SetProcessor(c *gin.Context)

SetProcessor creates a new processor configuration

func (*Handler) SetProducer

func (s *Handler) SetProducer(c *gin.Context)

SetProducer creates a new producer configuration

Jump to

Keyboard shortcuts

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