vws

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAllowSend

func MakeAllowSend(config *cfg.Config, expr hcl.Expression) server.EventAuthFunc

func ProcessVinculumWebsocketsServerBlock

func ProcessVinculumWebsocketsServerBlock(config *cfg.Config, block *hcl.Block, remainingBody hcl.Body) (cfg.Listener, hcl.Diagnostics)

Types

type VinculumWebsocketServer

type VinculumWebsocketServer struct {
	cfg.BaseServer
	Listener *server.Listener
}

func (*VinculumWebsocketServer) GetHandler

func (s *VinculumWebsocketServer) GetHandler() http.Handler

type VinculumWebsocketsServerDefinition

type VinculumWebsocketsServerDefinition struct {
	Bus                  hcl.Expression `hcl:"bus"`
	QueueSize            *int           `hcl:"queue_size,optional"`
	PingInterval         hcl.Expression `hcl:"ping_interval,optional"`
	WriteTimeout         hcl.Expression `hcl:"write_timeout,optional"`
	AllowSend            hcl.Expression `hcl:"allow_send,optional"`
	InitialSubscriptions []string       `hcl:"initial_subscriptions,optional"`
	OutboundTransforms   hcl.Expression `hcl:"outbound_transforms,optional"`
	InboundTransforms    hcl.Expression `hcl:"inbound_transforms,optional"`
	Metrics              hcl.Expression `hcl:"metrics,optional"`
	DefRange             hcl.Range      `hcl:",def_range"`
}

Jump to

Keyboard shortcuts

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