Documentation ¶
Overview ¶
Package rpc provides a zoekt.Searcher over RPC.
Index ¶
Constants ¶
View Source
const DefaultRPCPath = "/rpc"
DefaultRPCPath is the rpc path used by zoekt-webserver
Variables ¶
This section is empty.
Functions ¶
func Client ¶
Client connects to a Searcher HTTP RPC server at address (host:port) using DefaultRPCPath path.
func ClientAtPath ¶
ClientAtPath connects to a Searcher HTTP RPC server at address and path (http://host:port/path).
func RegisterGob ¶
func RegisterGob()
RegisterGob registers various query types with gob. It can be called more than once, because calls to gob.Register are protected by a sync.Once.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.