websocket

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseLog

func CloseLog(t *tail.Tail)

CloseLog used to close log tail.

func LogHandler

func LogHandler(apiOp *types.APIRequest) (types.APIObjectList, error)

LogHandler log handler.

func NewTailLog

func NewTailLog(logFilePath string) (*tail.Tail, error)

NewTailLog return new tail struct.

func WriteLastLogs

func WriteLastLogs(t *tail.Tail, w http.ResponseWriter, f http.Flusher, logFilePath string) error

WriteLastLogs append logs to the log file.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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