From 0b704161e661363e578fb7b3a65fc60df76d5121 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 11 Apr 2018 16:21:18 +0900 Subject: [PATCH] ing --- socket/web/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/socket/web/client.go b/socket/web/client.go index 623c885..1e0f488 100644 --- a/socket/web/client.go +++ b/socket/web/client.go @@ -26,12 +26,12 @@ type Client struct { socket.ClientConnHandlers socket.ReadWriteHandlers - Name string + Name string `json:"name"` - URL string + URL string `json:"url"` RequestHeader http.Header - Subprotocols []string + Subprotocols []string `json:"subprotocols"` // Jar specifies the cookie jar. // If Jar is nil, cookies are not sent in requests and ignored // in responses.