Documentation ¶
Index ¶
Constants ¶
View Source
const (
DepositTopic = "deposits"
)
Variables ¶
This section is empty.
Functions ¶
func NewWalletService ¶
func NewWalletService(options ...OptWalletSvc) service.WalletService
Types ¶
type OptWalletSvc ¶
type OptWalletSvc func(w *walletService)
func SetBalanceViewTable ¶
func SetBalanceViewTable(vt pubsub.ViewTable) OptWalletSvc
func SetDepositTopicPublisher ¶
func SetDepositTopicPublisher(p pubsub.Publisher) OptWalletSvc
func SetRollingPeriod ¶
func SetRollingPeriod(p int) OptWalletSvc
func SetThreshold ¶
func SetThreshold(t int64) OptWalletSvc
func SetThresholdViewTable ¶
func SetThresholdViewTable(vt pubsub.ViewTable) OptWalletSvc
Click to show internal directories.
Click to hide internal directories.