slack

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventStream

func EventStream(n *nats.EncodedConn, slackToken string)

func ReqHandler

func ReqHandler(n *nats.Conn, slackToken string)

Types

type HttpDoer

type HttpDoer interface {
	Do(*http.Request) (*http.Response, error)
}

type NatsPublisher

type NatsPublisher interface {
	Publish(subject string, v interface{}) error
}

type Slack

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

func (Slack) Do

func (s Slack) Do(path string, body []byte) []byte

Jump to

Keyboard shortcuts

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