mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
move under net namespace
This commit is contained in:
@@ -12,7 +12,7 @@ type TCPServer struct {
|
||||
|
||||
func init() {
|
||||
RegisterModule(ModuleRegistration{
|
||||
Type: "tcp.server",
|
||||
Type: "net.tcp.server",
|
||||
New: func(params map[string]any) (Module, error) {
|
||||
port, ok := params["port"]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user