gnet

package
v0.0.0-...-fec722e Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2013 License: BSD-2-Clause Imports: 2 Imported by: 2

Documentation

Overview

Packet: message type for flow procs and chanio connections

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packet

type Packet struct {
	Tag  string      // packet tag identifying the operation
	Data interface{} // packet payload
}

func NewPacket

func NewPacket(tag string, data interface{}) *Packet

func (Packet) String

func (p Packet) String() string

Jump to

Keyboard shortcuts

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