services

package
v2.0.0-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: BSD-3-Clause Imports: 19 Imported by: 0

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.

Jump to

Keyboard shortcuts

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