handler

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiSpecDocHandler

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

func (*ApiSpecDocHandler) Handle

func (asdh *ApiSpecDocHandler) Handle(ctx context.Context, delivery rabbitmq.Delivery) rabbitmq.Action

type Handler

type Handler interface {
	//Handle message and return action to response to the queue
	Handle(ctx context.Context, delivery rabbitmq.Delivery) rabbitmq.Action
}

Handler represents an interface to any queue message processing struct.

func NewApiSpecDocHandler

func NewApiSpecDocHandler(publisher publisher.Publisher,
	config config.QueueConfig,
	processor process.UrlProcessor,
	log logger.Logger) Handler

Directories

Path Synopsis
Package handler is a generated GoMock package.
Package handler is a generated GoMock package.

Jump to

Keyboard shortcuts

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