grpcvtworkerserver

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: 8 Imported by: 0

Documentation

Overview

Package grpcvtworkerserver contains the gRPC implementation of the server side of the remote execution of vtworker commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(s *grpc.Server, wi *worker.Instance)

StartServer registers the VtworkerServer for RPCs

Types

type VtworkerServer

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

VtworkerServer is our RPC server

func NewVtworkerServer

func NewVtworkerServer(wi *worker.Instance) *VtworkerServer

NewVtworkerServer returns a new VtworkerServer for the given vtworker instance.

func (*VtworkerServer) ExecuteVtworkerCommand

ExecuteVtworkerCommand is part of the vtworkerdatapb.VtworkerServer interface

Jump to

Keyboard shortcuts

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