micro: rewrite options to support multiple building blocks
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -18,6 +18,7 @@ var (
|
||||
|
||||
// Router is an interface for a routing control plane
|
||||
type Router interface {
|
||||
Name() string
|
||||
// Init initializes the router with options
|
||||
Init(...Option) error
|
||||
// Options returns the router options
|
||||
|
||||
Reference in New Issue
Block a user