replaylog

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ReplayContentType = "rpl-v1"
View Source
const ReplayFilename = "replay.log"

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func New

func New(opts ...Option) *File

func (*File) Close

func (f *File) Close() error

func (*File) IsWriting

func (f *File) IsWriting() bool

func (*File) OpenForWriting

func (f *File) OpenForWriting() error

func (*File) Push

func (f *File) Push(msg tea.Msg) error

func (*File) ReadReplay

func (f *File) ReadReplay() (out stream.ReplayBundle, err error)

type Option

type Option func(*File)

func WithPath

func WithPath(path string) Option

Jump to

Keyboard shortcuts

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