fix interface

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-02-10 14:20:19 +03:00
parent d9d31ccca9
commit bb96ae8e6c

View File

@ -22,6 +22,10 @@ func (s *static) Init(opts ...router.Option) error {
return nil
}
func (s *static) Name() string {
return s.options.Name
}
func (s *static) Options() router.Options {
return s.options
}