Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OK It could connect streaming OK = iota // ErrorOnClientCreation Could not create client ErrorOnClientCreation // ErrorRequestPerformed Could not perform request ErrorRequestPerformed // ErrorConnectToStreaming Could not connect to streaming ErrorConnectToStreaming // ErrorReadingStream Error in streaming ErrorReadingStream // ErrorKeepAlive timedout ErrorKeepAlive // ErrorInternal Internal error for streaming ErrorInternal // ErrorUnexpected unexpected error occures ErrorUnexpected )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSEClient ¶
type SSEClient struct {
// contains filtered or unexported fields
}
SSEClient struct
func NewSSEClient ¶
func NewSSEClient(url string, status chan int, timeout int, logger logging.LoggerInterface) (*SSEClient, error)
NewSSEClient creates new SSEClient
Click to show internal directories.
Click to hide internal directories.