Help us shape the future of Go! Take the 2026 Go Developer Survey

statechange

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	// contains filtered or unexported fields
}

Binding represents RethinkDB change change state input binding which fires handler with both the previous and current state store content each time there is a change.

func NewRethinkDBStateChangeBinding

func NewRethinkDBStateChangeBinding(logger logger.Logger) *Binding

NewRethinkDBStateChangeBinding returns a new RethinkDB actor event input binding

func (*Binding) Init

func (b *Binding) Init(metadata bindings.Metadata) error

Init initializes the RethinkDB binding

func (*Binding) Read

func (b *Binding) Read(handler func(*bindings.ReadResponse) error) error

Read triggers the RethinkDB scheduler

type StateConfig

type StateConfig struct {
	r.ConnectOpts
	Table string `json:"table"`
}

StateConfig is the binding config

Jump to

Keyboard shortcuts

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