types

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventMeta added in v0.4.0

type EventMeta struct {
	Keys        []string
	Description string
}

EventMeta describe a event with keys and description

type Record

type Record struct {
	RecordHeader

	Successful bool
	From       net.Addr
	IsTarget   bool
	TTL        int
	Cost       time.Duration
	ErrMsg     string
	IsFatal    bool
}

Record records a single round result

type RecordHeader

type RecordHeader struct {
	ID     int
	Target *protocol.NetworkTarget
	Rounds int
}

RecordHeader describes meta info of a record

Jump to

Keyboard shortcuts

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