grpcvtworkerserver

package
v3.0.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: Apache-2.0 Imports: 9 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