callflag

package
v0.95.1-pre Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

View Source
const (
	ReadStates CallFlag = 1 << iota
	WriteStates
	AllowCall
	AllowNotify

	States            = ReadStates | WriteStates
	ReadOnly          = ReadStates | AllowCall
	All               = States | AllowCall | AllowNotify
	NoneFlag CallFlag = 0
)

Default flags.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallFlag

type CallFlag byte

CallFlag represents call flag.

func (CallFlag) Has

func (f CallFlag) Has(cf CallFlag) bool

Has returns true iff all bits set in cf are also set in f.

Jump to

Keyboard shortcuts

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