header

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AllowCapabilities tells the server what capabilities it should allow.
	AllowCapabilities uint16 = 0xFF04

	// ExplicitObjectIDs tells the server not to inject object ids.
	ExplicitObjectIDs = 0xFF05

	// AllowCapabilitieTransaction represents the transaction capability
	// in the AllowCapabilities header.
	AllowCapabilitieTransaction uint64 = 0b100

	// Capabilities is returned in PrepareComplete and CommandDataDescription
	// messages.
	Capabilities uint16 = 0x1001
)

Variables

This section is empty.

Functions

func NewAllowCapabilitiesWithout

func NewAllowCapabilitiesWithout(mask uint64) []byte

NewAllowCapabilitiesWithout returns an AllowCapabilities header value with the bits set in mask masked off.

Types

type Header map[uint16][]byte

Header is a binary protocol header

Jump to

Keyboard shortcuts

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