logic

package
v0.0.0-...-1bb7c6f Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package logic implements the business logic of the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logic

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

Logic defines the business logic for application related operations within this library

func New

func New(log *zerolog.Logger, storage store.Storage, tracer trace.Tracer) *Logic

New creates an instance of the Logic implementation

func (*Logic) Handle

func (l *Logic) Handle(ctx context.Context, file *os.File) (*models.Delta, error)

Handle handles the application logic for the given library

Jump to

Keyboard shortcuts

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