fix interface
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
d9d31ccca9
commit
bb96ae8e6c
@ -22,6 +22,10 @@ func (s *static) Init(opts ...router.Option) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *static) Name() string {
|
||||||
|
return s.options.Name
|
||||||
|
}
|
||||||
|
|
||||||
func (s *static) Options() router.Options {
|
func (s *static) Options() router.Options {
|
||||||
return s.options
|
return s.options
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user