internal

package
v0.0.0-...-b0644d9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Text   []byte
	Buffer []byte
	Mu     sync.Mutex
}

Data: InputText -> Stored in structure.

func PutData

func PutData(b []byte) *Data

PutData places the received data.

type Element

type Element struct {
	Inbound  chan *Data
	Outbound chan *Data
	Wg       sync.WaitGroup
}

Element: InboundChannels -> RoutineProcessing -> OutboundChannels.

func (*Element) RoutineConvert2SHA256

func (elem *Element) RoutineConvert2SHA256()

RoutineConvert2SHA256 calculates the checksum in SHA256 for data stored in InboundChannels.

func (*Element) RoutineWrite

func (elem *Element) RoutineWrite()

RoutineWriter outputs the data stored in OutboundChannels with HEX-Dump.

func (*Element) SHA256Converter

func (elem *Element) SHA256Converter()

SHA256Converter calls RoutineConvert2SHA256 as a goroutine.

func (*Element) Writer

func (elem *Element) Writer()

Writer calls RoutineWriter as a goroutine.

Jump to

Keyboard shortcuts

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