diff --git a/web_handler.go b/web_handler.go deleted file mode 100644 index 0e948ff..0000000 --- a/web_handler.go +++ /dev/null @@ -1,25 +0,0 @@ -package overflow_gateway_websocket - -import "context" - -// ServerOptions is configuration of the websocket server -type WebOptions struct { - ServerOptions2 -} - -func (wo *WebOptions) OnConnection(soc Socket) { - -} - -func NewOption() ServerHandler { - wo := &WebOptions{} - wo.EnableCompression = true - wo.Validate() - return wo -} - -func test() { - sh := NewOption() - ctx := context.Background() - NewServer2(ctx, sh) -}