slackbot

package
v0.0.0-...-287d054 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package adapter implements a sample receive adapter that generates events at a regular interval.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEnv

func NewEnv() adapter.EnvConfigAccessor

Types

type Adapter

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

Adapter generates events at a regular interval.

func (*Adapter) Start

func (a *Adapter) Start(stopCh <-chan struct{}) error

Start runs the adapter. Returns if stopCh is closed or Send() returns an error.

Jump to

Keyboard shortcuts

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