sse

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient *http.Client
}

func (*Client) Connect

func (c *Client) Connect(req *http.Request, msgs chan<- Event, cfg ConnectConfig) error

type ConnectConfig

type ConnectConfig struct {
	Types []string
}

type Event

type Event struct {
	ID   string
	Type string
	Data string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL