mandrill

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 8 Imported by: 0

README

mandrill webhook

You should configure your Mandrill's Webhooks to point at the webhooks service. To do this go to mandrillapp.com and click Settings > Webhooks. In the resulting page, click on Add a Webhook, select all events, and set the URL to http://<my_ip>:1619/mandrill, and click on Create Webhook.

Events

See the webhook doc.

All events for logs the original timestamp, the event name and the unique identifier of the message that generated the event.

Tags:

  • 'event' = event.event string

Fields:

  • 'id' = event._id string

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	EventName string `json:"event"`
	TimeStamp int64  `json:"ts"`
	ID        string `json:"_id"`
}

func (*Event) Fields

func (me *Event) Fields() map[string]interface{}

func (*Event) Tags

func (me *Event) Tags() map[string]string

type Webhook added in v0.0.12

type Webhook struct {
	Path string
	// contains filtered or unexported fields
}

func (*Webhook) Register added in v0.0.12

func (md *Webhook) Register(router *mux.Router, acc cua.Accumulator)

Jump to

Keyboard shortcuts

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