Documentation
¶
Overview ¶
Package sse implements sink.Sink using Server-Sent Events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSE ¶
type SSE struct {
// contains filtered or unexported fields
}
SSE implements Sink.
func New ¶
func New(ctx context.Context, local bool, namespace, labelSelector string, changeEventSSERPeerPort int) (*SSE, error)
New returns a new SSE instance.
func (*SSE) GetHandler ¶
GetHandler returns an http.Handler that should be hooked up to the URL that SSE clients will use to receive events.
Click to show internal directories.
Click to hide internal directories.