log

package
v0.53.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TIMEOUT = 300 * time.Millisecond

Variables

This section is empty.

Functions

func ReadBuildLog added in v0.26.0

func ReadBuildLog(ctx *gin.Context)

func ReadLog added in v0.52.0

func ReadLog[T any](ginCtx *gin.Context, logReader io.Reader, readFunc func(context.Context, io.Reader, bool, chan T, chan error), wsWriteFunc func(*websocket.Conn, chan T, chan error))

ReadLog reads from the logReader and writes to the websocket. T is the type of the message to be read from the logReader

func ReadRunnerLog added in v0.52.0

func ReadRunnerLog(ctx *gin.Context)

func ReadServerLog

func ReadServerLog(ctx *gin.Context)

func ReadTargetLog added in v0.52.0

func ReadTargetLog(ctx *gin.Context)

func ReadWorkspaceLog

func ReadWorkspaceLog(ctx *gin.Context)

func WriteBuildLog added in v0.52.0

func WriteBuildLog(ctx *gin.Context)

func WriteRunnerLog added in v0.52.0

func WriteRunnerLog(ctx *gin.Context)

func WriteTargetLog added in v0.52.0

func WriteTargetLog(ctx *gin.Context)

func WriteWorkspaceLog added in v0.52.0

func WriteWorkspaceLog(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳