bridge

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
	Ip  string
	Key string
}

func (Config) GetIp

func (c Config) GetIp() string

func (Config) GetKey

func (c Config) GetKey() string

type Configurer

type Configurer interface {
	base.Configurer
	GetIp() string
	GetKey() string
}

type Module

type Module struct {
	base.Module
	Ip  string
	Key string
}

func NewBridge

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

func (*Module) Receive

func (m *Module) Receive(val interface{})

Jump to

Keyboard shortcuts

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