observer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dictionary

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

func NewDictionary

func NewDictionary(fileName string) *Dictionary

func (*Dictionary) LockIteration

func (dict *Dictionary) LockIteration(funcEval func(*regexp.Regexp, []byte) bool)

func (*Dictionary) UnLockIteration

func (dict *Dictionary) UnLockIteration()

func (*Dictionary) Write

func (dict *Dictionary) Write(name string, value []byte)

type Encoder

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

func NewEncoder

func NewEncoder(codepage string) *Encoder

func (*Encoder) Encoding

func (e *Encoder) Encoding(str []byte) []byte

type Observer

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

func NewObserver

func NewObserver(enc *Encoder, dict ...*Dictionary) *Observer

func (*Observer) Parse

func (o *Observer) Parse(ioReader, ioWriter *os.File)

Jump to

Keyboard shortcuts

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