notifier

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mute

func Mute() core.Notifier

func New

func New(
	system *core.System,
	assetz core.AssetService,
	messages core.MessageStore,
	vats core.VaultStore,
	cats core.CollateralStore,
	users core.UserStore,
	flips core.FlipStore,
	i18n *localizer.Localizer,
	cfg Config,
) core.Notifier

Types

type Config added in v1.6.6

type Config struct {
	Links map[string]string
}

type TxData

type TxData struct {
	Action  string
	Message string
	Lines   []string
	Buttons mixin.AppButtonGroupMessage
}

func (*TxData) AddButton added in v1.6.6

func (data *TxData) AddButton(label, action string)

func (*TxData) AddLine added in v1.6.3

func (data *TxData) AddLine(line string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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