cherryRouter

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 9 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, route *cmsg.Route, session *csession.Session) (cfacade.IMember, error)

Types

type RoutingFunc

type RoutingFunc func(ctx context.Context, route *cmsg.Route, session *csession.Session) (cfacade.IMember, error)

Jump to

Keyboard shortcuts

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