socket

package
v0.0.0-...-bbee1d7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WsHandler

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

Types

type Notification

type Notification struct {
	Id           int    `json:"id"`
	Uuid         string `json:"uuid"`
	AssetId      int    `json:"assetId"`
	Type         string `json:"type"`
	EventType    string `json:"eventType"`
	DateCreated  string `json:"dateCreated"`
	DateUpdated  string `json:"dateUpdated"`
	EventPayload struct {
		Body string `json:"body"`
	} `json:"eventPayload"`
}

Jump to

Keyboard shortcuts

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