Documentation ¶
Index ¶
- func New(name string, params core.Params) (core.Link, error)
- type Router
- func (r *Router) AddRoute(routeKey string, routeDst core.Link) error
- func (r *Router) ConnectTo(core.Link) error
- func (r *Router) DropRoute(routeKey string) (core.Link, error)
- func (r *Router) GetRoutes() map[string]core.Link
- func (r *Router) Recv(msg *core.Message) error
- func (r *Router) RouteTo(routes map[string]core.Link) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.