slack

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(serverCtx *context.Context, root *echo.Group)

Types

type Document

type Document struct {
	OwnerId    bson.ObjectId `json:"-"          bson:"ownerId,omitempty"`
	NotifierId string        `json:"-"          bson:"notifierId,omitempty"`
	Enabled    *bool         `json:"enabled"    bson:"enabled,omitempty"`
	Settings   *Settings     `json:"settings"   bson:"settings,omitempty"`
}

func (*Document) Validate

func (doc *Document) Validate() error

type Settings

type Settings struct {
	WebhookURL string `json:"webhookURL" bson:"webhookURL,omitempty"`
}

Jump to

Keyboard shortcuts

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