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 {
}
type RouteMethod interface {
Single()
Multicast()
Broadcast()
Official()
Single([]string) []port.Port
Multicast([]string) []port.Port
Broadcast([]string) []port.Port
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