adaptor

package
v0.0.0-...-44808bf Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package adaptor implements the munbot gobot.Adaptor interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adaptor

type Adaptor interface {
	gobot.Adaptor
	Interval() time.Duration
	SetInterval(time.Duration)
}

type Munbot

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

func New

func New() *Munbot

func (*Munbot) Connect

func (m *Munbot) Connect() error

func (*Munbot) Finalize

func (m *Munbot) Finalize() error

func (*Munbot) Interval

func (m *Munbot) Interval() time.Duration

func (*Munbot) Name

func (m *Munbot) Name() string

func (*Munbot) SetInterval

func (m *Munbot) SetInterval(d time.Duration)

func (*Munbot) SetName

func (m *Munbot) SetName(name string)

Jump to

Keyboard shortcuts

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