update registry

This commit is contained in:
ginuerzh
2022-02-27 22:32:15 +08:00
parent 0aee4f0ebd
commit 07132d8de7
115 changed files with 651 additions and 680 deletions

View File

@ -18,7 +18,7 @@ import (
)
func init() {
registry.RegisterDialer("kcp", NewDialer)
registry.DialerRegistry().Register("kcp", NewDialer)
}
type kcpDialer struct {