source

package
v0.0.0-...-fe6dcde Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Manifest *module.Manifest

Functions

func NewModule

func NewModule(wrap *module.Wrap) (module.Module, error)

Types

type Config

type Config struct {
	base.Config
	ReceiverId string `json:"ReceiverId"`
	Message    Message
}

func (Config) GetMessage

func (c Config) GetMessage() Message

func (Config) GetReceiverId

func (c Config) GetReceiverId() string

type Configurer

type Configurer interface {
	base.Configurer
	GetReceiverId() string
	GetMessage() string
}

type Message

type Message interface{}

type Module

type Module struct {
	base.Module
	ReceiverId string
	Message    Message
}

func NewSource

func NewSource(w *module.Wrap) (*Module, error)

type Receiver

type Receiver interface {
	Receive(interface{})
}

Jump to

Keyboard shortcuts

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