websocketinput

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

WEBSOCKETINPUT

Receive event on a ws connection

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
Codec codec false "json"
Uri string false "wsin"
max_message_size int false 0

Details

Codec
  • Value type is codec
  • Default value is "json"

The codec used for outputed data.

Uri
  • Value type is string
  • Default value is "wsin"

URI path

max_message_size
  • Value type is int
  • Default value is 0

Maximum message size allowed from peer.

Configuration blueprint

websocketinput{
	codec => "json"
	uri => "wsin"
	max_message_size => 123
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Receive event on a ws connection

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Receive event on a ws connection

Types

type Client

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

Client is a middleman between the websocket connection and the hub.

type Hub

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

hub maintains the set of active clients and Broadcasts messages to the clients.

Jump to

Keyboard shortcuts

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