network

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2014 License: Apache-2.0 Imports: 3 Imported by: 30

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