A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/moov-io/ach/server below:

server package - github.com/moov-io/ach/server - Go Packages

This section is empty.

View Source
var (

	
	ErrBadRouting = fmt.Errorf("inconsistent mapping between route and handler, %s", bugReportHelp)
	ErrFoundABug  = fmt.Errorf("snuck into encodeError with err == nil, %s", bugReportHelp)
)

Inspects the `X-Line-Ending` header. If it is a valid value (CRLF | LF), returns the line ending associated with the selected enum value. Otherwise, defaults to Unix-style newline characters.

Repository is the Service storage mechanism abstraction

NewRepositoryInMemory is an in memory ach storage repository for files

type Service interface {
	
	CreateFile(f *ach.FileHeader) (string, error)
	
	GetFile(id string) (*ach.File, error)
	
	GetFiles() []*ach.File
	
	BuildFile(id string) (*ach.File, error)
	
	DeleteFile(id string) error
	
	GetFileContents(id string, opts *ach.WriteOpts) (io.Reader, error)
	
	ValidateFile(id string, opts *ach.ValidateOpts) error
	
	BalanceFile(fileID string, off *ach.Offset) (*ach.File, error)
	
	SegmentFileID(id string, opts *ach.SegmentFileConfiguration) (*ach.File, *ach.File, error)
	
	SegmentFile(file *ach.File, opts *ach.SegmentFileConfiguration) (*ach.File, *ach.File, error)
	
	FlattenBatches(id string) (*ach.File, error)
	
	CreateBatch(fileID string, bh ach.Batcher) (string, error)
	
	GetBatch(fileID string, batchID string) (ach.Batcher, error)
	
	GetBatches(fileID string) []ach.Batcher
	
	DeleteBatch(fileID string, batchID string) error
	
	MergeFiles(fileIDs []string, files []*ach.File, conditions *ach.Conditions) ([]*ach.File, error)
}

Service is a REST interface for interacting with ACH file structures TODO: Add ctx to function parameters to pass the client security token

NewService creates a new concrete service


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4