zevio

package
v0.0.0-...-a0ddb2b Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CHANSIZE = 10 * 1000
View Source
const ENDLINE = "#\t#"
View Source
const ENDLINE_LENGTH = len(ENDLINE)
View Source
const FRAMESPLIT = "|"

Variables

View Source
var BroadcastCount ztcputil.Count32
View Source
var ChanBroadcast chan []byte
View Source
var DataGroup ztcputil.ConcurrentMap // [CMaxResultBuffer]*[]byte
View Source
var ENDBYTE = []byte(ENDLINE)

Functions

func Broadcast

func Broadcast()

func MainEvio

func MainEvio(address string)

func ReadWithEnd

func ReadWithEnd(reader *bufio.Reader) ([]byte, error)

Types

type Command

type Command int
const (
	MessageNew Command = iota
	MessageEdit
	MessageBroadcast
)

func (Command) String

func (s Command) String() string

func (Command) Toa

func (s Command) Toa() string

type EvioContext

type EvioContext struct {
}

Jump to

Keyboard shortcuts

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