output

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base64

type Base64 struct{}

func (*Base64) Format

func (*Base64) Format(buf *bytes.Buffer, res *transform.Result) error

Format converts any encrypted bytes into standard Base64 encoding. If no encrypted bytes are passed then the file is encoded with NACHA formatting and then Base64 encoded.

type Encrypted

type Encrypted struct{}

func (*Encrypted) Format

func (*Encrypted) Format(buf *bytes.Buffer, res *transform.Result) error

type Formatter

type Formatter interface {
	Format(buf *bytes.Buffer, res *transform.Result) error
}

Formatter is a structure for encoding an encrypted or plaintext ACH file.

func NewFormatter

func NewFormatter(cfg *service.Output) (Formatter, error)

type NACHA

type NACHA struct{}

func (*NACHA) Format

func (*NACHA) Format(buf *bytes.Buffer, res *transform.Result) error

Jump to

Keyboard shortcuts

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