message

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinlDeleted added in v0.4.0

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

PinlDeleted notifies the deleted pinl.

func NewPinlDeleted added in v0.4.0

func NewPinlDeleted(pinl *model.Pinl) *PinlDeleted

func (*PinlDeleted) Data added in v0.4.0

func (p *PinlDeleted) Data() interface{}

func (*PinlDeleted) ShouldSendTo added in v0.4.0

func (p *PinlDeleted) ShouldSendTo(c *pubsub.Client) bool

func (*PinlDeleted) Topic added in v0.4.0

func (p *PinlDeleted) Topic() string

type PinlUpdated added in v0.4.0

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

PinlUpdated notifies the updated or created pinl.

func NewPinlUpdated added in v0.4.0

func NewPinlUpdated(pinl *model.Pinl) *PinlUpdated

func (*PinlUpdated) Data added in v0.4.0

func (p *PinlUpdated) Data() interface{}

func (*PinlUpdated) ShouldSendTo added in v0.4.0

func (p *PinlUpdated) ShouldSendTo(c *pubsub.Client) bool

func (*PinlUpdated) Topic added in v0.4.0

func (p *PinlUpdated) Topic() string

Jump to

Keyboard shortcuts

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