Documentation ¶
Overview ¶
Package services exposes all the services for the vtgateclienttest binary.
Index ¶
Constants ¶
View Source
const ( // ErrorPrefix is the prefix to send with queries so they go through this service handler. ErrorPrefix = "error://" // PartialErrorPrefix is the prefix to send with queries so the RPC returns a partial error. // A partial error is when we return an error as part of the RPC response instead of via // the regular error channels. This occurs if an RPC partially succeeds, and therefore // requires some kind of response, but still needs to return an error. // VTGate Execute* calls do this: they always return a new session ID, but might also // return an error in the response. PartialErrorPrefix = "partialerror://" )
View Source
const CallerIDPrefix = "callerid://"
CallerIDPrefix is the prefix to send with queries so they go through this test suite.
View Source
const EchoPrefix = "echo://"
EchoPrefix is the prefix to send with queries so they go through this test suite.
Variables ¶
This section is empty.
Functions ¶
func CreateServices ¶
func CreateServices() vtgateservice.VTGateService
CreateServices creates the implementation chain of all the test cases
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.