channels

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleMessageFunc

type HandleMessageFunc func(message Message) error

func (HandleMessageFunc) HandleMessage

func (h HandleMessageFunc) HandleMessage(message Message) error

type Message

type Message interface {
	GetContent() string
}

type NotificationChannel

type NotificationChannel interface {
	HandleMessage(message Message) error
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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