notify

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notify

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

Notify represents a channel of type Notify

func New

func New(cfg notify.Notify, _ *zap.Logger) (*Notify, error)

New creates new Notify channel

func (*Notify) Ignore added in v0.8.2

func (p *Notify) Ignore() bool

func (*Notify) Name

func (p *Notify) Name() string

Name returns the channel name

func (*Notify) Send

func (p *Notify) Send(mes *message.Message) error

Send message to the channel

Jump to

Keyboard shortcuts

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