notification

package
v0.0.0-...-ef8be34 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Notification manipulations.

Index

Constants

View Source
const (
	Error = "ERROR" // notification.severity: ERROR
	Warn  = "WARN"  // notification.severity: WARN
	Info  = "INFO"  // notification.severity: INFO

	Setup  = "Setup"  // notification.type: setup
	Server = "Server" // notification.type: server
)

Variables

This section is empty.

Functions

func WSHandler

func WSHandler(w http.ResponseWriter, r *http.Request)

WSHandler handles request of creating notification channel.

Types

type Notification

type Notification struct {
	Type     string `json:"type"`
	Severity string `json:"severity"`
	Message  string `json:"message"`
	// contains filtered or unexported fields
}

Notification.

Jump to

Keyboard shortcuts

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