ticket

package
v0.0.0-...-539962e Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	*core.Postgres
}

Storage -

func NewStorage

func NewStorage(pg *core.Postgres) *Storage

NewStorage -

func (*Storage) BalancesForAccount

func (storage *Storage) BalancesForAccount(ctx context.Context, accountId int64, req ticket.BalanceRequest) (balances []ticket.Balance, err error)

func (*Storage) List

func (storage *Storage) List(ctx context.Context, ticketer string, limit, offset int64) (tickets []ticket.Ticket, err error)

func (*Storage) Updates

func (storage *Storage) Updates(ctx context.Context, req ticket.UpdatesRequest) (response []ticket.TicketUpdate, err error)

Updates -

func (*Storage) UpdatesForOperation

func (storage *Storage) UpdatesForOperation(ctx context.Context, operationId int64) (response []ticket.TicketUpdate, err error)

ForOperation -

Jump to

Keyboard shortcuts

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