stream

package
v0.4.1-beta.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package stream provides types and handlers for streaming application logs to clients. It defines core log streaming interfaces and API wiring for the daemon's web layer, with concrete log streaming implementations and helpers located in the internal/stream package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleLogStream

type HandleLogStream interface {
	Stream(ctx context.Context, id string, logChan chan<- string) error
}

type LogStreamHandler

type LogStreamHandler struct {
	// contains filtered or unexported fields
}

func NewLogStreamHandler

func NewLogStreamHandler(streamer *LogStreamer, logger *shared.Logger) *LogStreamHandler

func (*LogStreamHandler) OpenLogStream

func (h *LogStreamHandler) OpenLogStream(w http.ResponseWriter, r *http.Request)

type LogStreamer

type LogStreamer struct {
	// contains filtered or unexported fields
}

func NewLogStreamer

func NewLogStreamer(d string, a HandleLogStream) *LogStreamer

Jump to

Keyboard shortcuts

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