From 7aef8357edcc9afe4a8a915c2ed368b4e8d4dc5a Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Tue, 18 Jun 2019 12:34:17 +0200 Subject: [PATCH] Clean-up --- component.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/component.go b/component.go index 52f352e..9f319f6 100644 --- a/component.go +++ b/component.go @@ -37,8 +37,6 @@ type ComponentOptions struct { // ================================= // Communication with developer client / StreamManager - // Packet channel - RecvChannel chan Packet // Track and broadcast connection state EventManager } @@ -60,8 +58,6 @@ type Component struct { func NewComponent(opts ComponentOptions, r *Router) (*Component, error) { c := Component{ComponentOptions: opts, router: r} - // Create a default channel that developers can override - c.RecvChannel = make(chan Packet) return &c, nil }