log

package
v0.0.0-...-6f6f2b9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	io.WriteCloser
}

Logger is interface for output pod log

type WsLogger

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

WsLogger output container log to websocket

func NewWsLogger

func NewWsLogger(w http.ResponseWriter, r *http.Request, responseHeader http.Header) (*WsLogger, error)

NewWsLogger create WsLogger

func (*WsLogger) Close

func (l *WsLogger) Close() error

Close ws connection

func (*WsLogger) Write

func (l *WsLogger) Write(p []byte) (n int, err error)

Write wirte bytes

Jump to

Keyboard shortcuts

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