gorpcmysqlctlserver

package
v0.0.0-...-2166858 Latest Latest
Warning

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

Go to latest
Published: May 28, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package gorpcmysqlctlserver contains the Go RPC implementation of the server side of the remote execution of mysqlctl commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(mysqld *mysqlctl.Mysqld)

StartServer registers the Server for RPCs.

Types

type MysqlctlServer

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

MysqlctlServer is our RPC server.

func (*MysqlctlServer) Shutdown

func (s *MysqlctlServer) Shutdown(ctx context.Context, args *time.Duration, reply *int) error

Shutdown implements the server side of the MysqlctlClient interface.

func (*MysqlctlServer) Start

func (s *MysqlctlServer) Start(ctx context.Context, args *time.Duration, reply *int) error

Start implements the server side of the MysqlctlClient interface.

Jump to

Keyboard shortcuts

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