listeners

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listeners

type Listeners map[string]func(m factory.Model) (tableID string, content string, property *listener.Property)

func New

func New() *Listeners

func (*Listeners) Add

func (a *Listeners) Add(fieldName string, callback func(m factory.Model) (tableID string, content string, property *listener.Property)) *Listeners

func (*Listeners) Delete

func (a *Listeners) Delete(fieldNames ...string) *Listeners

func (*Listeners) Listen

func (a *Listeners) Listen(tableName string, embedded bool, seperator ...string) *Listeners

func (*Listeners) ListenByField

func (a *Listeners) ListenByField(fieldNames string, tableName string, embedded bool, seperator ...string) *Listeners

Jump to

Keyboard shortcuts

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