network

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkEndpoint

type NetworkEndpoint interface {
	SendQueriesTo(QueryChannel)
}

type Query

type Query interface {
	Request() QueryRequest
	Response() QueryResponse
	SetStopChannel(misc.StopChannel)
	StartTime() time.Time
}

type QueryChannel

type QueryChannel chan Query

type QueryRequest

type QueryRequest interface {
}

type QueryResponse

type QueryResponse interface {
	SendError(query.Error)
	SendResult(val interface{})
	NoMoreResults()
}

type StringQueryRequest

type StringQueryRequest struct {
	QueryString string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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