Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
type Subscriber struct { Client *pubsub.Client Done chan struct{} HTTPClient *http.Client MessageCallback func(*slack.MessageEvent) error Msgch chan *pubsub.Message SlackgwURL string AuthToken string Topic string }
func (*Subscriber) Close ¶
func (sub *Subscriber) Close()
func (*Subscriber) Reply ¶
func (sub *Subscriber) Reply(ch, s string) error
func (*Subscriber) Run ¶
func (sub *Subscriber) Run()
Click to show internal directories.
Click to hide internal directories.