cwfile

package
v0.0.0-...-19311e0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

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

Player contains state for the Morse generation

func New

func New(opt *cw.Options) (*Player, error)

func (*Player) Close

func (p *Player) Close() error

Close the output

func (*Player) Rune

func (p *Player) Rune(r rune)

Rune adds r to the output

func (*Player) String

func (p *Player) String(s string)

String adds s to the output

func (*Player) Sync

func (p *Player) Sync()

Sync the Morse so far to the file

Jump to

Keyboard shortcuts

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