sequence

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNextSequenceNumber

func GetNextSequenceNumber(id int, command string) int

GetNextSequenceNumber returns next sequence number

func IsAnyExpected

func IsAnyExpected(id int) bool

IsAnyExpected checks for any response being expected

func IsCommandExpected

func IsCommandExpected(id int, command string) bool

IsCommandExpected checks for a response for specific command being expected

func IsCommandSeqExpected

func IsCommandSeqExpected(id int, seq int, command string) bool

IsCommandSeqExpected checks for a response for specific command and Sequence being expected

func IsSeqExpected

func IsSeqExpected(id int, seq int) bool

IsSeqExpected checks for a response for specific sequence number being expected

func RemoveEntry

func RemoveEntry(id int, seq int)

RemoveEntry checks for a response sequence number being expected

Types

This section is empty.

Jump to

Keyboard shortcuts

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