state

package
v0.0.0-...-edd4e79 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConnectReceived is the state when a client has received a connect packet
	ConnectReceived uint64 = uint64(1) << iota
	Closed
)

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

func (*State) IsState

func (s *State) IsState(state uint64) bool

func (*State) RemState

func (s *State) RemState(state uint64)

func (*State) SetState

func (s *State) SetState(state uint64)

Jump to

Keyboard shortcuts

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