subs

package
v2.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitConn

func EmitConn(conn etp.Conn, event string, body []byte)

func ExtractBackendDeclaration

func ExtractBackendDeclaration(conn etp.Conn) (structure.BackendDeclaration, bool)

func FormatErrorConnection

func FormatErrorConnection(err error) []byte

func IsConfigClusterNode

func IsConfigClusterNode(conn etp.Conn) bool

func Parameters

func Parameters(conn etp.Conn) (moduleName string, err error)

func SetBackendDeclaration

func SetBackendDeclaration(conn etp.Conn, backend structure.BackendDeclaration)

func SyncApplyCommand

func SyncApplyCommand(command []byte, commandName string) (interface{}, error)

Types

type SocketEventHandler

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

func NewSocketEventHandler

func NewSocketEventHandler(server etp.Server, store *store.Store) *SocketEventHandler

func (*SocketEventHandler) SubscribeAll

func (h *SocketEventHandler) SubscribeAll()

Jump to

Keyboard shortcuts

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