Versions in this module Expand all Collapse all v0 v0.55.0 May 4, 2024 v0.54.0 Apr 4, 2024 Changes in this version + const EventTypeError + const EventTypeMessage + const EventTypeOpen + type Client struct + C <-chan Event + Endpoint string + Insecure bool + LastEventID string + Retry time.Duration + Timeout time.Duration + func (cl *Client) Close() (err error) + func (cl *Client) Connect(header http.Header) (err error) + type Event struct + Data string + ID string + Type string + func (ev *Event) IDInt() (id int64)