cherryRouter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(nodeType string, routingFunction RoutingFunc)

func Route

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