credit

package
v1.0.0-beta.80 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSchema

func NewSchema(driver *sql.Driver) *migrate.Schema

Types

type Balance

type Balance = credit.Balance

type Connector

type Connector = credit.Connector

func NewConnector

func NewConnector(
	logger *slog.Logger,
	driver *sql.Driver,
	streamingConnector streaming.Connector,
	meterRepository meter.Repository,
) Connector

type Feature

type Feature = credit.Feature

type GetLedgerBalanceRequest

type GetLedgerBalanceRequest = creditdriver.GetLedgerBalanceRequest

type GetLedgerHistoryRequest

type GetLedgerHistoryRequest = creditdriver.GetLedgerHistoryRequest

type Grant

type Grant = credit.Grant

type GrantPathParams

type GrantPathParams = creditdriver.GrantPathParams

type HighWatermark

type HighWatermark = credit.HighWatermark

type Ledger

type Ledger = credit.Ledger

type LedgerEntryList

type LedgerEntryList = credit.LedgerEntryList

type ListFeaturesParams

type ListFeaturesParams = credit.ListFeaturesParams

type ListGrantsParams

type ListGrantsParams = credit.ListGrantsParams

type ListLedgersParams

type ListLedgersParams = credit.ListLedgersParams

type NamespacedFeatureID

type NamespacedFeatureID = credit.NamespacedFeatureID

type NamespacedGrantID

type NamespacedGrantID = credit.NamespacedGrantID

type NamespacedLedgerID

type NamespacedLedgerID = credit.NamespacedLedgerID

type Reset

type Reset = credit.Reset

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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