middleware

package
Version: v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterActionParams

type AfterActionParams struct {
	BrokerContext moleculer.BrokerContext
	Result        moleculer.Payload
}

type Dispatch

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

func Dispatcher

func Dispatcher(logger *log.Entry) *Dispatch

func (*Dispatch) Add

func (dispatch *Dispatch) Add(mwares moleculer.Middlewares)

func (*Dispatch) CallHandlers

func (dispatch *Dispatch) CallHandlers(name string, params interface{}) interface{}

CallHandlers invoke handlers that subscribe to this topic.

func (*Dispatch) Has

func (dispatch *Dispatch) Has(name string) bool

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL