gorpcvtctlserver

package
v0.0.0-...-d271c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2014 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

gorpcvtctlserver contains the Go RPC implementation of the server side of the remote execution of vtctl commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(ts topo.Server)

StartServer registers the Server for RPCs

Types

type VtctlServer

type VtctlServer struct {
	// contains filtered or unexported fields
}

VtctlServer is our RPC server

func (*VtctlServer) ExecuteVtctlCommand

func (s *VtctlServer) ExecuteVtctlCommand(context context.Context, query *gorpcproto.ExecuteVtctlCommandArgs, sendReply func(interface{}) error) error

ExecuteVtctlCommand is the server side method that will execute the query, and stream the results.

Jump to

Keyboard shortcuts

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