grpcvtworkerserver

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 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

func (s *VtworkerServer) ExecuteVtworkerCommand(args *pb.ExecuteVtworkerCommandRequest, stream pbs.Vtworker_ExecuteVtworkerCommandServer) (err error)

ExecuteVtworkerCommand is part of the pb.VtworkerServer interface

Jump to

Keyboard shortcuts

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