fix Store of Client that can be anything, not empty struct

This commit is contained in:
xdrm-brackets 2018-05-05 17:39:10 +02:00
parent 0891ebbe8e
commit 009f34e436
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
type Client struct { type Client struct {
Protocol string // choosen protocol (Sec-WebSocket-Protocol) Protocol string // choosen protocol (Sec-WebSocket-Protocol)
Arguments [][]string // URI parameters, index 0 is full URI, then matching groups Arguments [][]string // URI parameters, index 0 is full URI, then matching groups
Store struct{} // store (for client implementation-specific data) Store interface{} // store (for client implementation-specific data)
} }
// Represents a websocket controller callback function // Represents a websocket controller callback function