grpcvtworkerserver

package
Version: v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 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

Source Files

Jump to

Keyboard shortcuts

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