Commit 3e01e21c authored by suyanlong's avatar suyanlong

Add RouteMethod interface

parent e7ee1e14
Pipeline #7993 canceled with stages
...@@ -285,8 +285,8 @@ func (r *router) OutPut(ibtp *pb.IBTP) chan *pb.IBTP { ...@@ -285,8 +285,8 @@ func (r *router) OutPut(ibtp *pb.IBTP) chan *pb.IBTP {
} }
type RouteMethod interface { type RouteMethod interface {
Single() Single([]string) []port.Port
Multicast() Multicast([]string) []port.Port
Broadcast() Broadcast([]string) []port.Port
Official() Official([]string) []port.Port
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment