service

package
v0.0.0-...-248868a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WalletService

type WalletService interface {
	Deposit(ctx context.Context, walletID string, amount float64) error
	AddBalance(ctx goka.Context, walletID string, amount float64) (float64, error)
	ProcessThreshold(ctx goka.Context, walletID string, amount float64) error
	GetDetail(ctx context.Context, walletID string) (domain.Wallet, error)
}

Jump to

Keyboard shortcuts

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