importer

package
v0.0.0-...-48b49ba Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(c *fiber.Ctx) error

func Import

func Import(c *fiber.Ctx, broker string) (*transaction.Transactions, error)

Types

type ImportSession

type ImportSession struct {
	UserID       uuid.UUID
	DateCreated  time.Time
	Transactions *transaction.Transactions
}

func NewImportSession

func NewImportSession(c *fiber.Ctx) (*ImportSession, error)

func (*ImportSession) DeleteFromCache

func (is *ImportSession) DeleteFromCache(ctx context.Context) error

func (*ImportSession) FromJSON

func (is *ImportSession) FromJSON(d []byte) error

func (*ImportSession) GetAddress

func (is *ImportSession) GetAddress() string

func (*ImportSession) GetFromCache

func (is *ImportSession) GetFromCache(ctx context.Context) error

func (*ImportSession) SaveToCache

func (is *ImportSession) SaveToCache(ctx context.Context) error

func (*ImportSession) SaveToDB

func (is *ImportSession) SaveToDB(c *fiber.Ctx) error

func (*ImportSession) ToJSON

func (is *ImportSession) ToJSON() []byte

Jump to

Keyboard shortcuts

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