rpc

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package rpc defines "RPC" flavor, which combines all plugins that provide RPC-like access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlavorRPC

type FlavorRPC struct {
	*local.FlavorLocal

	HTTP rest.Plugin
	//TODO GRPC (& enable/disable using config)
	HTTPProbe rest.ForkPlugin

	HealthRPC probe.Plugin

	GRPC grpc.Plugin
	// contains filtered or unexported fields
}

FlavorRPC glues together multiple plugins that provide RPC-like access. They are typically used to enable remote management for other plugins.

func (*FlavorRPC) Inject

func (f *FlavorRPC) Inject() bool

Inject initializes flavor references/dependencies.

func (*FlavorRPC) Plugins

func (f *FlavorRPC) Plugins() []*core.NamedPlugin

Plugins combines all Plugins in flavor to the list.

Jump to

Keyboard shortcuts

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