redbuffer

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color int
const (
	Red  Color = 31
	Bold       = 1
)

type Writer

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

func New

func New(w io.Writer) *Writer

func NewWithColors

func NewWithColors(w io.Writer, cc ...Color) *Writer

func (*Writer) FlushInRed

func (w *Writer) FlushInRed(red bool) (err error)

func (*Writer) Write

func (w *Writer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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