model

package
v0.0.0-...-7695c73 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Archive = list.New()

Functions

func NewArchive

func NewArchive(event Event)

Types

type Event

type Event struct {
	Type      EventType
	User      string
	Ts        int64
	Timestamp string
	Content   string
}

func GetEvents

func GetEvents(lastReceived int) []Event

type EventType

type EventType int

type SocketEvent

type SocketEvent struct {
	Ws *websocket.Conn
	Ch chan []byte

	ActionId int

	FeedId string
	AppId  string
	OrgId  string
}

Jump to

Keyboard shortcuts

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