update registry
This commit is contained in:
@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
registry.RegisterListener("ohttp", NewListener)
|
||||
registry.ListenerRegistry().Register("ohttp", NewListener)
|
||||
}
|
||||
|
||||
type obfsListener struct {
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
registry.RegisterListener("otls", NewListener)
|
||||
registry.ListenerRegistry().Register("otls", NewListener)
|
||||
}
|
||||
|
||||
type obfsListener struct {
|
||||
|
Reference in New Issue
Block a user