wscrs

package
v0.0.0-...-40163b3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

wscrc implements a websocket-based state change request server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(ws *websocket.Conn, router *scrr.Router, state interface{}) *Server

func (*Server) SendRequest

func (server *Server) SendRequest(req *scrr.Request) error

Jump to

Keyboard shortcuts

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