Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidBufferStates = map[string]bool{ "empty": true, "full": true, "busy": true, "error": true, }
ValidBufferStates is a list of the valid buffer states to use with the _status chunk TODO: needs review and correction See: https://github.com/asmaloney/gactar/discussions/221
Functions ¶
func IsValidBufferState ¶
IsValidBufferState checks if 'state' is a valid buffer state.
func ValidBufferStatesStr ¶
func ValidBufferStatesStr() string
ValidBufferStatesStr returns a list of (sorted) valid buffer states. Used for error output.
Types ¶
type BufferInterface ¶
Click to show internal directories.
Click to hide internal directories.