tailscale.comtailscale.com/types/iox Index | Files

package iox

import "tailscale.com/types/iox"

Package iox provides types to implement io functionality.

Index

Types

type ReaderFunc

type ReaderFunc func([]byte) (int, error)

ReaderFunc implements io.Reader using the underlying function value.

func (ReaderFunc) Read

func (f ReaderFunc) Read(b []byte) (int, error)

type WriterFunc

type WriterFunc func([]byte) (int, error)

WriterFunc implements io.Writer using the underlying function value.

func (WriterFunc) Write

func (f WriterFunc) Write(b []byte) (int, error)

Source Files

io.go

Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Last checked
23 hours ago

Tools for package owners.