gogueconn

package
v0.0.0-...-4db02f4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PT_gob = uint8(iota)
	PT_json
)

Variables

View Source
var PK_type = PT_gob

Functions

This section is empty.

Types

type GogueConn

type GogueConn struct {
	// contains filtered or unexported fields
}

func New

func New(conn net.Conn) *GogueConn

func (*GogueConn) Close

func (c *GogueConn) Close()

func (*GogueConn) Recv

func (c *GogueConn) Recv(v interface{}) (err error)

func (*GogueConn) Send

func (c *GogueConn) Send(v interface{}) (err error)

type IDecoder

type IDecoder interface {
	Decode(v interface{}) error
}

type IEncoder

type IEncoder interface {
	Encode(v interface{}) error
}

Jump to

Keyboard shortcuts

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