Documentation ¶
Overview ¶
Package guessit contains a client for GueaaS using the scalable protocols (nanomsg) interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrHandshakeError = errors.New("server returned error during handshake") ErrBackgroundWorkerDead = errors.New("background worker is dead") )
Functions ¶
This section is empty.
Types ¶
type MappedResult ¶
type MappedResult struct { Item interface{} Result *common.GuessitResult }
type MappingClient ¶
type MappingClient struct {
// contains filtered or unexported fields
}
func DialMapping ¶
func DialMapping(addr string) (*MappingClient, error)
func (*MappingClient) Close ¶
func (m *MappingClient) Close() error
func (*MappingClient) Results ¶
func (m *MappingClient) Results() <-chan MappedResult
func (*MappingClient) Send ¶
func (m *MappingClient) Send(item interface{}, input string) error
type Result ¶
type Result struct { ID uint64 Result *common.GuessitResult }
Click to show internal directories.
Click to hide internal directories.