handler

package
v0.0.0-...-906d962 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory func(url string, str model.Stream) Handler
var NewMock Factory = func(url string, str model.Stream) Handler {
	return mockHandler{}
}

func NewFactory

func NewFactory(cfgApi config.ApiConfig, cfgEvt config.SseConfig, interceptors []interceptor.Interceptor) Factory

type Handler

type Handler interface {
	io.Closer
	Handle(ctx context.Context)
}

Jump to

Keyboard shortcuts

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