cherryRouter

package
v1.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute added in v1.1.17

func AddRoute(nodeType string, routingFunction RoutingFunc)

func Route added in v1.1.17

func Route(ctx context.Context, nodeType string, msg *cherryMessage.Message) (cherryFacade.IMember, error)

Types

type RoutingFunc

type RoutingFunc func(
	ctx context.Context,
	nodeType string,
	msg *cherryMessage.Message,
) (cherryFacade.IMember, error)

Jump to

Keyboard shortcuts

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