binding

package
v0.0.0-...-72a54ad Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BINDINGS_BUCKET_NAME = []byte("bindings")

Functions

func LoadAllBindings

func LoadAllBindings(db *bolt.DB) (map[string]*Binding, error)

Types

type Binding

type Binding struct {
	gen.BindingState
	// contains filtered or unexported fields
}

func NewBinding

func NewBinding(queueName string, exchangeName string, key string, arguments *amqp.Table, topic bool) (*Binding, error)

func (*Binding) Depersist

func (binding *Binding) Depersist(db *bolt.DB) error

func (*Binding) DepersistBoltTx

func (binding *Binding) DepersistBoltTx(tx *bolt.Tx) error

func (*Binding) Equals

func (binding *Binding) Equals(other *Binding) bool

func (*Binding) MarshalJSON

func (binding *Binding) MarshalJSON() ([]byte, error)

func (*Binding) MatchDirect

func (b *Binding) MatchDirect(message *amqp.BasicPublish) bool

func (*Binding) MatchFanout

func (b *Binding) MatchFanout(message *amqp.BasicPublish) bool

func (*Binding) MatchTopic

func (b *Binding) MatchTopic(message *amqp.BasicPublish) bool

func (*Binding) Persist

func (b *Binding) Persist(db *bolt.DB) error

type BindingStateFactory

type BindingStateFactory struct{}

func (*BindingStateFactory) New

Jump to

Keyboard shortcuts

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