change protocol to module

This commit is contained in:
Joel Wetzell
2025-11-18 18:14:11 -06:00
parent 93c6c05591
commit a7996530a1
8 changed files with 63 additions and 63 deletions

View File

@@ -13,9 +13,9 @@ type TCPClient struct {
}
func init() {
RegisterProtocol(ProtocolRegistration{
RegisterModule(ModuleRegistration{
Type: "tcp.client",
New: func(params map[string]any) (Protocol, error) {
New: func(params map[string]any) (Module, error) {
host, ok := params["host"]