consumer

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ContentTypeEventStream = "text/event-stream"

Variables

This section is empty.

Functions

func NewEventSourceClientOptions

func NewEventSourceClientOptions(callback EventCallback) func(co *runtime.ClientOperation)

func NewEventSourceConsumer

func NewEventSourceConsumer() runtime.Consumer

Types

type Event

type Event struct {
	Type    string
	Message string
}

type EventCallback

type EventCallback func(Event)

Jump to

Keyboard shortcuts

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