From 3bc2cbfae217d94186d4b735b02d56bc02c72f32 Mon Sep 17 00:00:00 2001 From: tyler Date: Fri, 9 Feb 2024 12:17:22 -0500 Subject: [PATCH] Added json tags to NewClientOptions --- client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index 1b11ae4..499c23a 100644 --- a/client.go +++ b/client.go @@ -53,9 +53,9 @@ func (c *Client) PrintCookies() error { } type NewClientOptions struct { - Cookies []*http.Cookie - StreamKey string - StreamUrl string + Cookies []*http.Cookie `json:"cookies"` + StreamKey string `json:"stream_key"` + StreamUrl string `json:"stream_url"` } func NewClient(opts NewClientOptions) (*Client, error) {