add web api

This commit is contained in:
ginuerzh
2022-02-08 23:46:54 +08:00
parent 0fba6d2500
commit f1eaef8d69
22 changed files with 1209 additions and 33 deletions

View File

@ -11,8 +11,7 @@ import (
)
var (
ErrDup = errors.New("registry: duplicate instance")
ErrNotFound = errors.New("registry: instance not found")
ErrDup = errors.New("registry: duplicate instance")
)
type NewListener func(opts ...listener.Option) listener.Listener