appio

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncWriter

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

SyncWriter serializes writes to an underlying writer.

func NewSyncWriter

func NewSyncWriter(writer io.Writer) *SyncWriter

NewSyncWriter wraps writer with a mutex-protected writer.

func (*SyncWriter) Write

func (w *SyncWriter) Write(p []byte) (int, error)

Write writes p to the wrapped writer while holding a mutex.

Jump to

Keyboard shortcuts

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