Added json tags to NewClientOptions
This commit is contained in:
parent
ca9ecdfd02
commit
3bc2cbfae2
|
@ -53,9 +53,9 @@ func (c *Client) PrintCookies() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
type NewClientOptions struct {
|
type NewClientOptions struct {
|
||||||
Cookies []*http.Cookie
|
Cookies []*http.Cookie `json:"cookies"`
|
||||||
StreamKey string
|
StreamKey string `json:"stream_key"`
|
||||||
StreamUrl string
|
StreamUrl string `json:"stream_url"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewClient(opts NewClientOptions) (*Client, error) {
|
func NewClient(opts NewClientOptions) (*Client, error) {
|
||||||
|
|
Loading…
Reference in a new issue