Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBalanceAvailable = errors.New("no balance available")
Functions ¶
This section is empty.
Types ¶
type BalanceThresholdEventHandler ¶
type BalanceThresholdEventHandler struct { Notification notification.Service Logger *slog.Logger }
func (*BalanceThresholdEventHandler) Handle ¶
func (b *BalanceThresholdEventHandler) Handle(ctx context.Context, event snapshot.SnapshotEvent) error
type BalanceThresholdEventHandlerState ¶
type BalanceThresholdEventHandlerState struct {
TotalGrants float64 `json:"totalGrants"`
}
Click to show internal directories.
Click to hide internal directories.