hipchat

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hipchat

type Hipchat struct {
	Token string
	Room  string
	Url   string
}

Hipchat handler implements handler.Handler interface, Notify event to hipchat room

func (*Hipchat) Init

func (s *Hipchat) Init(c *config.Config) error

Init prepares hipchat configuration

func (*Hipchat) ObjectCreated

func (s *Hipchat) ObjectCreated(obj interface{})

ObjectCreated calls notifyHipchat on event creation

func (*Hipchat) ObjectDeleted

func (s *Hipchat) ObjectDeleted(obj interface{})

ObjectDeleted calls notifyHipchat on event creation

func (*Hipchat) ObjectUpdated

func (s *Hipchat) ObjectUpdated(oldObj, newObj interface{})

ObjectUpdated calls notifyHipchat on event creation

func (*Hipchat) TestHandler added in v0.1.0

func (s *Hipchat) TestHandler()

TestHandler tests the handler configurarion by sending test messages.

Jump to

Keyboard shortcuts

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