proto

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Dial indicates the frame contains a dial request. Controlled by Invoke ACL.
	Dial = byte(iota)
	// Listen indicates the frame contains a listen request. Controlled by Listen ACL.
	Listen = byte(iota)
	// Bridge indicates the frame contains a bridge request. Controlled by Listen ACL.
	// This request should contain a connection ID for the server to set a bridge betwen a dial request.
	Bridge = byte(iota)
	// Nop indicates the frame is just for a ping. No ACL action specific control.
	Nop = byte(iota)
	// Close indicates the connection is closed. No ACL action specific control.
	Close = byte(iota)
	// Scan indicates the frame contains a regexp to match channel. Its response should be filtered by Invoke ACL.
	Scan = byte(iota)
)

Variables

This section is empty.

Functions

func ActionToString added in v0.0.15

func ActionToString(proto byte) string

ActionToString returns the name of the Action.

Types

This section is empty.

Jump to

Keyboard shortcuts

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