thread

package
v0.0.0-...-b7eb296 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

View Source
const (
	Outgoing    = "==>"
	Incoming    = "<=="
	ConnectResp = "ConnectResp"
	Unhandled   = "Received unhandled GREMessageType"
	MinusOne    = "(-1)"
	ToMatch     = "to Match"
	MatchTo     = "Match to"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Type   LogType
	Method LogMethod
	Id     int
	Time   time.Time
	Raw    []byte
}

ThreadLog

// FORMAT
[UnityCrossThreadLogger] ...
==> Method(Id):
{Raw}

func NewLog

func NewLog(heading string, body []string) Log

type LogMethod

type LogMethod string
const (
	LogInfoMethod  LogMethod = "Log.Info"
	LogErrorMethod LogMethod = "Log.Error"
)

type LogType

type LogType string

Jump to

Keyboard shortcuts

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